summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libxcb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libxcb.inc')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb.inc16
1 files changed, 2 insertions, 14 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb.inc b/meta/recipes-graphics/xorg-lib/libxcb.inc
index 91df1be8c5..7f9b0af66c 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb.inc
+++ b/meta/recipes-graphics/xorg-lib/libxcb.inc
@@ -12,10 +12,9 @@ LICENSE = "MIT-X"
12 12
13PARALLEL_MAKE = "" 13PARALLEL_MAKE = ""
14DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native libpthread-stubs" 14DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native libpthread-stubs"
15# DEPENDS += "xsltproc-native gperf-native"
16 15
17SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2" 16SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
18# file://xcbincludedir.patch" 17 file://xcbincludedir.patch"
19 18
20PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \ 19PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
21 libxcb-randr libxcb-record libxcb-render libxcb-res \ 20 libxcb-randr libxcb-record libxcb-render libxcb-res \
@@ -25,7 +24,6 @@ PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
25 libxcb-dri2 libxcb-dri3 libxcb-present" 24 libxcb-dri2 libxcb-dri3 libxcb-present"
26 25
27FILES_${PN} = "${libdir}/libxcb.so.*" 26FILES_${PN} = "${libdir}/libxcb.so.*"
28#FILES_${PN}-dev = "${libdir}/libxcb.* ${libdir}/pkgconfig/*.pc ${includedir}/xcb/*.h"
29FILES_libxcb-dri2 = "${libdir}/libxcb-dri2.so.*" 27FILES_libxcb-dri2 = "${libdir}/libxcb-dri2.so.*"
30FILES_libxcb-dri3 = "${libdir}/libxcb-dri3.so.*" 28FILES_libxcb-dri3 = "${libdir}/libxcb-dri3.so.*"
31FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*" 29FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*"
@@ -52,13 +50,3 @@ FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*"
52FILES_libxcb-present = "${libdir}/libxcb-present.so.*" 50FILES_libxcb-present = "${libdir}/libxcb-present.so.*"
53 51
54inherit autotools pkgconfig pythonnative 52inherit autotools pkgconfig pythonnative
55
56# XCBPROTO_XCBINCLUDEDIR is set based on `pkg-config --variable=xcbincludedir xcb-proto`
57# but the xcbincludedir variable doesn't point into the staging area, so it needs some
58# tweaking here:
59do_configure_prepend () {
60 sed -i "s|XCBPROTO_XCBINCLUDEDIR=\`|XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR_HOST}/\`|" \
61 ${S}/configure.ac
62 sed -i "s|XCBPROTO_XCBPYTHONDIR=\`|XCBPROTO_XCBPYTHONDIR=${STAGING_DIR_HOST}/\`|" \
63 ${S}/configure.ac
64}