diff options
author | Ross Burton <ross.burton@intel.com> | 2013-12-23 15:10:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-02 13:01:01 +0000 |
commit | ace19818e1db34157ed1585056510618616f6a47 (patch) | |
tree | bc250af6695260fb748ab4be971f642b2489d280 | |
parent | 417f8c87e2b71e1d4744740eeec1f795e8a244f2 (diff) | |
download | poky-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.inc | 35 |
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 | |||
15 | SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ | 15 | SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ |
16 | file://xcbincludedir.patch" | 16 | file://xcbincludedir.patch" |
17 | 17 | ||
18 | PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \ | 18 | PACKAGES_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 | ||
25 | FILES_${PN} = "${libdir}/libxcb.so.*" | 20 | FILES_${PN} = "${libdir}/libxcb.so.*" |
26 | FILES_libxcb-dri2 = "${libdir}/libxcb-dri2.so.*" | ||
27 | FILES_libxcb-dri3 = "${libdir}/libxcb-dri3.so.*" | ||
28 | FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*" | ||
29 | FILES_libxcb-damage = "${libdir}/libxcb-damage.so.*" | ||
30 | FILES_libxcb-dpms = "${libdir}/libxcb-dpms.so.*" | ||
31 | FILES_libxcb-glx = "${libdir}/libxcb-glx.so.*" | ||
32 | FILES_libxcb-randr = "${libdir}/libxcb-randr.so.*" | ||
33 | FILES_libxcb-record = "${libdir}/libxcb-record.so.*" | ||
34 | FILES_libxcb-render = "${libdir}/libxcb-render.so.*" | ||
35 | FILES_libxcb-res = "${libdir}/libxcb-res.so.*" | ||
36 | FILES_libxcb-screensaver = "${libdir}/libxcb-screensaver.so.*" | ||
37 | FILES_libxcb-shape = "${libdir}/libxcb-shape.so.*" | ||
38 | FILES_libxcb-shm = "${libdir}/libxcb-shm.so.*" | ||
39 | FILES_libxcb-sync = "${libdir}/libxcb-sync.so.*" | ||
40 | FILES_libxcb-xevie = "${libdir}/libxcb-xevie.so.*" | ||
41 | FILES_libxcb-xf86dri = "${libdir}/libxcb-xf86dri.so.*" | ||
42 | FILES_libxcb-xfixes = "${libdir}/libxcb-xfixes.so.*" | ||
43 | FILES_libxcb-xinerama = "${libdir}/libxcb-xinerama.so.*" | ||
44 | FILES_libxcb-xlib = "${libdir}/libxcb-xlib.so.*" | ||
45 | FILES_libxcb-xprint = "${libdir}/libxcb-xprint.so.*" | ||
46 | FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*" | ||
47 | FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*" | ||
48 | FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*" | ||
49 | FILES_libxcb-present = "${libdir}/libxcb-present.so.*" | ||
50 | 21 | ||
51 | inherit autotools pkgconfig pythonnative | 22 | inherit autotools pkgconfig pythonnative |
23 | |||
24 | python populate_packages_prepend () { | ||
25 | do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True) | ||
26 | } | ||