diff options
Diffstat (limited to 'meta/recipes-graphics/xcb/libxcb.inc')
-rw-r--r-- | meta/recipes-graphics/xcb/libxcb.inc | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xcb/libxcb.inc b/meta/recipes-graphics/xcb/libxcb.inc new file mode 100644 index 0000000000..37d1f86339 --- /dev/null +++ b/meta/recipes-graphics/xcb/libxcb.inc | |||
@@ -0,0 +1,53 @@ | |||
1 | DESCRIPTION = "XCB: an X protocol C binding" | ||
2 | HOMEPAGE = "http://xcb.freedesktop.org" | ||
3 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" | ||
4 | |||
5 | SECTION = "x11/libs" | ||
6 | LICENSE = "MIT-X" | ||
7 | |||
8 | PARALLEL_MAKE = "" | ||
9 | DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native" | ||
10 | # DEPENDS += "xsltproc-native gperf-native" | ||
11 | |||
12 | SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2" | ||
13 | # file://xcbincludedir.patch;patch=1" | ||
14 | |||
15 | PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \ | ||
16 | libxcb-randr libxcb-record libxcb-render libxcb-res \ | ||
17 | libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \ | ||
18 | libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \ | ||
19 | libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc" | ||
20 | |||
21 | FILES_${PN} = "${libdir}/libxcb.so.*" | ||
22 | #FILES_${PN}-dev = "${libdir}/libxcb.* ${libdir}/pkgconfig/*.pc ${includedir}/xcb/*.h" | ||
23 | FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*" | ||
24 | FILES_libxcb-damage = "${libdir}/libxcb-damage.so.*" | ||
25 | FILES_libxcb-dpms = "${libdir}/libxcb-dpms.so.*" | ||
26 | FILES_libxcb-glx = "${libdir}/libxcb-glx.so.*" | ||
27 | FILES_libxcb-randr = "${libdir}/libxcb-randr.so.*" | ||
28 | FILES_libxcb-record = "${libdir}/libxcb-record.so.*" | ||
29 | FILES_libxcb-render = "${libdir}/libxcb-render.so.*" | ||
30 | FILES_libxcb-res = "${libdir}/libxcb-res.so.*" | ||
31 | FILES_libxcb-screensaver = "${libdir}/libxcb-screensaver.so.*" | ||
32 | FILES_libxcb-shape = "${libdir}/libxcb-shape.so.*" | ||
33 | FILES_libxcb-shm = "${libdir}/libxcb-shm.so.*" | ||
34 | FILES_libxcb-sync = "${libdir}/libxcb-sync.so.*" | ||
35 | FILES_libxcb-xevie = "${libdir}/libxcb-xevie.so.*" | ||
36 | FILES_libxcb-xf86dri = "${libdir}/libxcb-xf86dri.so.*" | ||
37 | FILES_libxcb-xfixes = "${libdir}/libxcb-xfixes.so.*" | ||
38 | FILES_libxcb-xinerama = "${libdir}/libxcb-xinerama.so.*" | ||
39 | FILES_libxcb-xlib = "${libdir}/libxcb-xlib.so.*" | ||
40 | FILES_libxcb-xprint = "${libdir}/libxcb-xprint.so.*" | ||
41 | FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*" | ||
42 | FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*" | ||
43 | FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*" | ||
44 | |||
45 | inherit autotools pkgconfig | ||
46 | |||
47 | # XCBPROTO_XCBINCLUDEDIR is setup based on `pkg-config --variable=xcbincludedir xcb-proto` | ||
48 | # but the xcbincludedir variable doesn't point into the staging area, so it needs some | ||
49 | # tweeking here: | ||
50 | do_configure_prepend () { | ||
51 | sed -i "s|XCBPROTO_XCBINCLUDEDIR=|XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR_HOST}/|" \ | ||
52 | ${S}/configure.ac | ||
53 | } | ||