diff options
author | Ross Burton <ross.burton@intel.com> | 2013-12-10 12:13:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 17:42:46 +0000 |
commit | 4398019673c6e638f4a5c9b4b2d7110ab0452671 (patch) | |
tree | 6424724505c6f211d4dc4eefed6902af8d18adae /meta | |
parent | 8bbd5083d0ebde379509e26c72c591c70791c8ce (diff) | |
download | poky-4398019673c6e638f4a5c9b4b2d7110ab0452671.tar.gz |
libmatchbox: use PACKAGECONFIG
Use PACKAGECONFIG to offer some flexibility to the libmatchbox configuration,
and remove two spurious build dependencies (expat and libstartup-notification).
(From OE-Core rev: 8505f0fa48cc79d51616b923c6e2c778c4b46a44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb b/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb index 118c808cfc..e2e971ecc7 100644 --- a/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb +++ b/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ | |||
8 | file://libmb/mbexp.c;endline=20;md5=28c0aef3b23e308464f5dae6a11b0d2f \ | 8 | file://libmb/mbexp.c;endline=20;md5=28c0aef3b23e308464f5dae6a11b0d2f \ |
9 | file://libmb/mbdotdesktop.c;endline=21;md5=5a287156b3207e851c1d68d09c439b51" | 9 | file://libmb/mbdotdesktop.c;endline=21;md5=5a287156b3207e851c1d68d09c439b51" |
10 | 10 | ||
11 | DEPENDS = "virtual/libx11 libxext expat libxft jpeg libpng zlib libxsettings-client startup-notification" | 11 | DEPENDS = "virtual/libx11 libxext" |
12 | 12 | ||
13 | SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/${BPN}/${PV}/${BPN}-${PV}.tar.bz2 \ | 13 | SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/${BPN}/${PV}/${BPN}-${PV}.tar.bz2 \ |
14 | file://libpng.patch" | 14 | file://libpng.patch" |
@@ -18,4 +18,9 @@ SRC_URI[sha256sum] = "254cab52e304a3512c8df4be59d690cf3921bbb68a28ede7fe26b93534 | |||
18 | 18 | ||
19 | inherit autotools pkgconfig | 19 | inherit autotools pkgconfig |
20 | 20 | ||
21 | EXTRA_OECONF = "--enable-jpeg --enable-xsettings" | 21 | PACKAGECONFIG ??= "jpeg png xft xsettings" |
22 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" | ||
23 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
24 | PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng" | ||
25 | PACKAGECONFIG[xft] = "--enable-xft,--disable-xft,libxft" | ||
26 | PACKAGECONFIG[xsettings] = "--enable-xsettings,--disable-xsettings,libxsettings-client" | ||