From 8ebaefa427cc7e5bb1da10648116a81642578a10 Mon Sep 17 00:00:00 2001 From: Peter Steenbergen Date: Tue, 5 Feb 2019 11:24:05 +0100 Subject: [PATCH] MycroftOS: Buildroot: Add of python-pymplayer package. --- buildroot-external/Config.in | 1 + buildroot-external/configs/mycroftos_rpi3_defconfig | 1 + .../package/python-pymplayer/Config.in | 6 ++++++ .../package/python-pymplayer/python-pymplayer.hash | 2 ++ .../package/python-pymplayer/python-pymplayer.mk | 12 ++++++++++++ 5 files changed, 22 insertions(+) create mode 100644 buildroot-external/package/python-pymplayer/Config.in create mode 100644 buildroot-external/package/python-pymplayer/python-pymplayer.hash create mode 100644 buildroot-external/package/python-pymplayer/python-pymplayer.mk diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in index cc35e69a..fd2a8d7a 100644 --- a/buildroot-external/Config.in +++ b/buildroot-external/Config.in @@ -45,6 +45,7 @@ menu "Additional external python modules" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyee/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pygithub/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pyjwt/Config.in" + source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-pymplayer/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-requests-futures/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-rsa/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/python-sgmllib3k/Config.in" diff --git a/buildroot-external/configs/mycroftos_rpi3_defconfig b/buildroot-external/configs/mycroftos_rpi3_defconfig index c1b360dd..d1002322 100644 --- a/buildroot-external/configs/mycroftos_rpi3_defconfig +++ b/buildroot-external/configs/mycroftos_rpi3_defconfig @@ -210,6 +210,7 @@ BR2_PACKAGE_PYTHON_PRECISE_RUNNER=y BR2_PACKAGE_PYTHON_PULSECTL=y BR2_PACKAGE_PYTHON_PYCHROMECAST=y BR2_PACKAGE_PYTHON_PYJWT=y +BR2_PACKAGE_PYTHON_PYMPLAYER=y BR2_PACKAGE_PYTHON_REQUESTS_FUTURES=y BR2_PACKAGE_PYTHON_SGMLLIB3K=y BR2_PACKAGE_PYTHON_SOURCE=y diff --git a/buildroot-external/package/python-pymplayer/Config.in b/buildroot-external/package/python-pymplayer/Config.in new file mode 100644 index 00000000..a4bbaff7 --- /dev/null +++ b/buildroot-external/package/python-pymplayer/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYMPLAYER + bool "python-pymplayer" + help + mplayer python api. + + https://github.com/JarbasAl/py_mplayer diff --git a/buildroot-external/package/python-pymplayer/python-pymplayer.hash b/buildroot-external/package/python-pymplayer/python-pymplayer.hash new file mode 100644 index 00000000..6215b7b5 --- /dev/null +++ b/buildroot-external/package/python-pymplayer/python-pymplayer.hash @@ -0,0 +1,2 @@ +# sha256 from https://pypi.org +sha256 f4048a6e882a093affc52469889fbbfa0514fec2e4b01b39446f9d795ab44333 python-pymplayer-eaa0a1dbfc60cb0f4f1b3e495d665714c089474a.tar.gz diff --git a/buildroot-external/package/python-pymplayer/python-pymplayer.mk b/buildroot-external/package/python-pymplayer/python-pymplayer.mk new file mode 100644 index 00000000..09324504 --- /dev/null +++ b/buildroot-external/package/python-pymplayer/python-pymplayer.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# python-pymplayer +# +################################################################################ + +PYTHON_PYMPLAYER_VERSION = eaa0a1dbfc60cb0f4f1b3e495d665714c089474a +PYTHON_PYMPLAYER_SITE = git://github.com/JarbasAl/py_mplayer.git +PYTHON_PYMPLAYER_SETUP_TYPE = distutils +PYTHON_PYMPLAYER_LICENSE = MIT + +$(eval $(python-package))