summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-12-23 15:10:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-02 13:01:01 +0000
commitace19818e1db34157ed1585056510618616f6a47 (patch)
treebc250af6695260fb748ab4be971f642b2489d280
parent417f8c87e2b71e1d4744740eeec1f795e8a244f2 (diff)
downloadpoky-ace19818e1db34157ed1585056510618616f6a47.tar.gz
libxcb: don't hard-code package splitting
Instead of having a log PACKAGES list and a correspondingly long FILES_ list, just use do_split_packages. (From OE-Core rev: 5a70bd7f0da588edbecd13d569635f0c66915b08) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb.inc35
1 files changed, 5 insertions, 30 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb.inc b/meta/recipes-graphics/xorg-lib/libxcb.inc
index d75b26b652..75a43a5d3a 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb.inc
+++ b/meta/recipes-graphics/xorg-lib/libxcb.inc
@@ -15,37 +15,12 @@ DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native libpthread-st
15SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ 15SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
16 file://xcbincludedir.patch" 16 file://xcbincludedir.patch"
17 17
18PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \ 18PACKAGES_DYNAMIC = "^libxcb-.*"
19 libxcb-randr libxcb-record libxcb-render libxcb-res \
20 libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
21 libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
22 libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
23 libxcb-dri2 libxcb-dri3 libxcb-present"
24 19
25FILES_${PN} = "${libdir}/libxcb.so.*" 20FILES_${PN} = "${libdir}/libxcb.so.*"
26FILES_libxcb-dri2 = "${libdir}/libxcb-dri2.so.*"
27FILES_libxcb-dri3 = "${libdir}/libxcb-dri3.so.*"
28FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*"
29FILES_libxcb-damage = "${libdir}/libxcb-damage.so.*"
30FILES_libxcb-dpms = "${libdir}/libxcb-dpms.so.*"
31FILES_libxcb-glx = "${libdir}/libxcb-glx.so.*"
32FILES_libxcb-randr = "${libdir}/libxcb-randr.so.*"
33FILES_libxcb-record = "${libdir}/libxcb-record.so.*"
34FILES_libxcb-render = "${libdir}/libxcb-render.so.*"
35FILES_libxcb-res = "${libdir}/libxcb-res.so.*"
36FILES_libxcb-screensaver = "${libdir}/libxcb-screensaver.so.*"
37FILES_libxcb-shape = "${libdir}/libxcb-shape.so.*"
38FILES_libxcb-shm = "${libdir}/libxcb-shm.so.*"
39FILES_libxcb-sync = "${libdir}/libxcb-sync.so.*"
40FILES_libxcb-xevie = "${libdir}/libxcb-xevie.so.*"
41FILES_libxcb-xf86dri = "${libdir}/libxcb-xf86dri.so.*"
42FILES_libxcb-xfixes = "${libdir}/libxcb-xfixes.so.*"
43FILES_libxcb-xinerama = "${libdir}/libxcb-xinerama.so.*"
44FILES_libxcb-xlib = "${libdir}/libxcb-xlib.so.*"
45FILES_libxcb-xprint = "${libdir}/libxcb-xprint.so.*"
46FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*"
47FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*"
48FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*"
49FILES_libxcb-present = "${libdir}/libxcb-present.so.*"
50 21
51inherit autotools pkgconfig pythonnative 22inherit autotools pkgconfig pythonnative
23
24python populate_packages_prepend () {
25 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
26}