summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xcb/libxcb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xcb/libxcb.inc')
-rw-r--r--meta/recipes-graphics/xcb/libxcb.inc53
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 @@
1DESCRIPTION = "XCB: an X protocol C binding"
2HOMEPAGE = "http://xcb.freedesktop.org"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4
5SECTION = "x11/libs"
6LICENSE = "MIT-X"
7
8PARALLEL_MAKE = ""
9DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native"
10# DEPENDS += "xsltproc-native gperf-native"
11
12SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2"
13# file://xcbincludedir.patch;patch=1"
14
15PACKAGES =+ "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
21FILES_${PN} = "${libdir}/libxcb.so.*"
22#FILES_${PN}-dev = "${libdir}/libxcb.* ${libdir}/pkgconfig/*.pc ${includedir}/xcb/*.h"
23FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*"
24FILES_libxcb-damage = "${libdir}/libxcb-damage.so.*"
25FILES_libxcb-dpms = "${libdir}/libxcb-dpms.so.*"
26FILES_libxcb-glx = "${libdir}/libxcb-glx.so.*"
27FILES_libxcb-randr = "${libdir}/libxcb-randr.so.*"
28FILES_libxcb-record = "${libdir}/libxcb-record.so.*"
29FILES_libxcb-render = "${libdir}/libxcb-render.so.*"
30FILES_libxcb-res = "${libdir}/libxcb-res.so.*"
31FILES_libxcb-screensaver = "${libdir}/libxcb-screensaver.so.*"
32FILES_libxcb-shape = "${libdir}/libxcb-shape.so.*"
33FILES_libxcb-shm = "${libdir}/libxcb-shm.so.*"
34FILES_libxcb-sync = "${libdir}/libxcb-sync.so.*"
35FILES_libxcb-xevie = "${libdir}/libxcb-xevie.so.*"
36FILES_libxcb-xf86dri = "${libdir}/libxcb-xf86dri.so.*"
37FILES_libxcb-xfixes = "${libdir}/libxcb-xfixes.so.*"
38FILES_libxcb-xinerama = "${libdir}/libxcb-xinerama.so.*"
39FILES_libxcb-xlib = "${libdir}/libxcb-xlib.so.*"
40FILES_libxcb-xprint = "${libdir}/libxcb-xprint.so.*"
41FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*"
42FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*"
43FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*"
44
45inherit 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:
50do_configure_prepend () {
51 sed -i "s|XCBPROTO_XCBINCLUDEDIR=|XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR_HOST}/|" \
52 ${S}/configure.ac
53}