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') 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