summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/lirc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-05-19 23:04:33 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2015-05-22 20:14:06 +0200
commitbd4b81a52fa9a0f22d410829efbe99546497ccdd (patch)
tree400a45aad1640f6b5a6f999fb841e87d326b8600 /meta-oe/recipes-connectivity/lirc
parenta3fd44bd1cba2ae55226b6cabec18347473197f4 (diff)
downloadmeta-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.inc2
-rw-r--r--meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb6
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
6HOMEPAGE = "http://www.lirc.org" 6HOMEPAGE = "http://www.lirc.org"
7SECTION = "console/network" 7SECTION = "console/network"
8LICENSE = "GPLv2" 8LICENSE = "GPLv2"
9DEPENDS = "alsa-lib libftdi libusb1 libusb-compat jack portaudio-v19 libx11" 9DEPENDS = "alsa-lib libftdi libusb1 libusb-compat jack portaudio-v19"
10PRIORITY = "optional" 10PRIORITY = "optional"
11 11
12SRC_URI = "http://prdownloads.sourceforge.net/lirc/lirc-${PV}.tar.bz2" 12SRC_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
20inherit autotools pkgconfig systemd pythonnative 20inherit autotools pkgconfig systemd pythonnative
21 21
22PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir" 22PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd"
23PACKAGECONFIG[x11] = "--with-x,--with-x=no,libx11,"
23 24
24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" 25PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}"
26PACKAGECONFIG_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"'
27do_install_append() { 29do_install_append() {