diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-19 23:04:33 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-22 20:14:06 +0200 |
commit | bd4b81a52fa9a0f22d410829efbe99546497ccdd (patch) | |
tree | 400a45aad1640f6b5a6f999fb841e87d326b8600 /meta-oe/recipes-connectivity/lirc | |
parent | a3fd44bd1cba2ae55226b6cabec18347473197f4 (diff) | |
download | meta-openembedded-bd4b81a52fa9a0f22d410829efbe99546497ccdd.tar.gz |
lirc: Make X support to be a packageconfig
When we dont have x11 in distro features it fails to build
since libx11 dependency is not satisfied
Change-Id: I6774a83f965551a41afe12b1304e44e73fc789c0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/lirc')
-rw-r--r-- | meta-oe/recipes-connectivity/lirc/lirc.inc | 2 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/lirc/lirc.inc b/meta-oe/recipes-connectivity/lirc/lirc.inc index 77b6c282b..429bc45c0 100644 --- a/meta-oe/recipes-connectivity/lirc/lirc.inc +++ b/meta-oe/recipes-connectivity/lirc/lirc.inc | |||
@@ -6,7 +6,7 @@ DESCRIPTION_append_lirc-nslu2example = " This package contains a working config | |||
6 | HOMEPAGE = "http://www.lirc.org" | 6 | HOMEPAGE = "http://www.lirc.org" |
7 | SECTION = "console/network" | 7 | SECTION = "console/network" |
8 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
9 | DEPENDS = "alsa-lib libftdi libusb1 libusb-compat jack portaudio-v19 libx11" | 9 | DEPENDS = "alsa-lib libftdi libusb1 libusb-compat jack portaudio-v19" |
10 | PRIORITY = "optional" | 10 | PRIORITY = "optional" |
11 | 11 | ||
12 | SRC_URI = "http://prdownloads.sourceforge.net/lirc/lirc-${PV}.tar.bz2" | 12 | SRC_URI = "http://prdownloads.sourceforge.net/lirc/lirc-${PV}.tar.bz2" |
diff --git a/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb b/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb index c3e61c49d..7d9375750 100644 --- a/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb +++ b/meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb | |||
@@ -19,9 +19,11 @@ SYSTEMD_AUTO_ENABLE_lirc = "enable" | |||
19 | 19 | ||
20 | inherit autotools pkgconfig systemd pythonnative | 20 | inherit autotools pkgconfig systemd pythonnative |
21 | 21 | ||
22 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir" | 22 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd" |
23 | PACKAGECONFIG[x11] = "--with-x,--with-x=no,libx11," | ||
23 | 24 | ||
24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 25 | PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}" |
26 | PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}" | ||
25 | 27 | ||
26 | #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' | 28 | #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' |
27 | do_install_append() { | 29 | do_install_append() { |