From 5504082a0950bebe3a84143d04575d38f39c3e8d Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 6 Jan 2010 15:38:22 +0000 Subject: xcb-proto: support building native packages of each version Move the BBCLASSEXTEND="native" to the inc file from the git recipe. Signed-off-by: Joshua Lock --- meta/packages/xcb/xcb-proto.inc | 5 ++++- meta/packages/xcb/xcb-proto_1.5.bb | 2 +- meta/packages/xcb/xcb-proto_git.bb | 4 +--- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'meta/packages/xcb') diff --git a/meta/packages/xcb/xcb-proto.inc b/meta/packages/xcb/xcb-proto.inc index b294d1ac5..2a3d9ea20 100644 --- a/meta/packages/xcb/xcb-proto.inc +++ b/meta/packages/xcb/xcb-proto.inc @@ -5,9 +5,12 @@ HOMEPAGE = "http://xcb.freedesktop.org" SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2" -inherit autotools_stage pkgconfig +inherit autotools pkgconfig FILES_${PN}-dev += "${datadir}/xcb/*.xml" RDEPENDS_${PN}-dev = "" RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" + +DEPENDS_append_virtclass-native = " python-native" +BBCLASSEXTEND = "native" diff --git a/meta/packages/xcb/xcb-proto_1.5.bb b/meta/packages/xcb/xcb-proto_1.5.bb index e602252d9..8aaa9a0c5 100644 --- a/meta/packages/xcb/xcb-proto_1.5.bb +++ b/meta/packages/xcb/xcb-proto_1.5.bb @@ -1,2 +1,2 @@ include xcb-proto.inc -PR = "r1" +PR = "r2" diff --git a/meta/packages/xcb/xcb-proto_git.bb b/meta/packages/xcb/xcb-proto_git.bb index 6eaa0dd27..b96fc121c 100644 --- a/meta/packages/xcb/xcb-proto_git.bb +++ b/meta/packages/xcb/xcb-proto_git.bb @@ -2,9 +2,7 @@ DEFAULT_PREFERENCE = "-1" include xcb-proto.inc PV = "1.2+gitr${SRCREV}" +PR = "r1" SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git" S = "${WORKDIR}/git" - -DEPENDS_append_virtclass-native = " python-native" -BBCLASSEXTEND = "native" -- cgit v1.2.3 From 9f73ec32889eb8aed4218a4c6290b867bed71046 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 6 Jan 2010 15:39:28 +0000 Subject: libxcb: add xcb-proto-native to DEPENDS A code generation tool used during build is run using the native Python and needs a module built by xcb-proto. Signed-off-by: Joshua Lock --- meta/packages/xcb/libxcb.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/packages/xcb') diff --git a/meta/packages/xcb/libxcb.inc b/meta/packages/xcb/libxcb.inc index ee46f598c..53c4e1b18 100644 --- a/meta/packages/xcb/libxcb.inc +++ b/meta/packages/xcb/libxcb.inc @@ -4,7 +4,7 @@ LICENSE = "MIT-X" HOMEPAGE = "http://xcb.freedesktop.org" PARALLEL_MAKE = "" -DEPENDS = "xcb-proto xproto libxau libxslt-native" +DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native" # DEPENDS += "xsltproc-native gperf-native" SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2" @@ -40,7 +40,7 @@ FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*" FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*" FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*" -inherit autotools_stage pkgconfig +inherit autotools pkgconfig # XCBPROTO_XCBINCLUDEDIR is setup based on `pkg-config --variable=xcbincludedir xcb-proto` # but the xcbincludedir variable doesn't point into the staging area, so it needs some -- cgit v1.2.3