aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2017-01-24 18:43:53 +0100
committerAndreas Oberritter <obi@opendreambox.org>2017-02-16 11:29:21 +0100
commit7795ed387c9a54108aca634256d08d180840f446 (patch)
tree98405fd67493f439b8bbe48a9779cbdcef367dda
parentc94db02c1f7df474853c0a2df337d4c7e99cd128 (diff)
downloadmeta-openembedded-contrib-7795ed387c9a54108aca634256d08d180840f446.tar.gz
meta-openembedded-contrib-7795ed387c9a54108aca634256d08d180840f446.tar.bz2
meta-openembedded-contrib-7795ed387c9a54108aca634256d08d180840f446.zip
libcec: update to 4.0.2
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta-oe/recipes-extended/libcec/libcec_git.bb26
1 files changed, 12 insertions, 14 deletions
diff --git a/meta-oe/recipes-extended/libcec/libcec_git.bb b/meta-oe/recipes-extended/libcec/libcec_git.bb
index 0ce7ea1c07..4551a05cc4 100644
--- a/meta-oe/recipes-extended/libcec/libcec_git.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_git.bb
@@ -1,30 +1,28 @@
SUMMARY = "USB CEC Adaptor communication Library"
HOMEPAGE = "http://libcec.pulse-eight.com/"
-
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=e61fd86f9c947b430126181da2c6c715"
-
-DEPENDS = "p8platform udev lockdev ncurses"
-
-DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}"
+DEPENDS = "p8platform udev lockdev ncurses python swig \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}"
DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
+SRCREV = "5250931f16122f59f0f9ef50a1f05599c69b7119"
+PV = "4.0.2+git${SRCPV}"
-PV = "3.1.0+gitr${SRCPV}"
-
-SRCREV = "6d68d21243aa92862592435e8396b4280ea46c3f"
SRC_URI = "git://github.com/Pulse-Eight/libcec.git"
S = "${WORKDIR}/git"
-inherit cmake pkgconfig
+inherit cmake pkgconfig python-dir
# Disable python wrapper, it doesn't have crosscompiles
-EXTRA_OECMAKE = "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir} \
- -DSKIP_PYTHON_WRAPPER=1"
+EXTRA_OECMAKE = "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir}"
+
+PACKAGE_BEFORE_PN = "${PYTHON_PN}-libcec cec-utils"
-# cec-client and xbmc need the .so present to work :(
-FILES_${PN} += "${libdir}/*.so"
-INSANE_SKIP_${PN} = "dev-so"
+RDEPENDS_${PYTHON_PN}-libcec = "${PYTHON_PN}-core"
# Adapter shows up as a CDC-ACM device
RRECOMMENDS_${PN} = "kernel-module-cdc-acm"
+
+FILES_cec-utils = "${bindir}/*"
+FILES_python-libcec = "${bindir}/pyCecClient ${PYTHON_SITEPACKAGES_DIR}"