Skip to contentSkip to conversation

fbida: add PACKAGECONFIG for lirc

PATCH New Martin Jansa 1 participant 1 message Nov 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbida: add PACKAGECONFIG for lirc

---
 meta-oe/recipes-graphics/fbida/fbida_2.10.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-graphics/fbida/fbida_2.10.bb +4 -0
index e763221..8a4c083 100644
@@ -23,6 +23,7 @@ PACKAGECONFIG[png] = ",,libpng"
 PACKAGECONFIG[tiff] = ",,tiff"
 PACKAGECONFIG[motif] = ",,libx11 libxext libxpm libxt openmotif"
 PACKAGECONFIG[webp] = ",,libwebp"
+PACKAGECONFIG[lirc] = ",,lirc"
 
 do_compile() {
     sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk
@@ -48,6 +49,9 @@ do_compile() {
     if [ -z "${@base_contains('PACKAGECONFIG', 'webp', 'webp', '', d)}" ]; then
         sed -i -e '/^HAVE_LIBWEBP/s/:=.*$/:= no/' ${S}/GNUmakefile
     fi
+    if [ -z "${@base_contains('PACKAGECONFIG', 'lirc', 'lirc', '', d)}" ]; then
+        sed -i -e '/^HAVE_LIBLIRC/s/:=.*$/:= no/' ${S}/GNUmakefile
+    fi
 
     oe_runmake
 }
Signature · 1 line
2.6.3