summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-01-06 15:38:22 +0000
committerJoshua Lock <josh@linux.intel.com>2010-01-06 15:52:16 +0000
commit5504082a0950bebe3a84143d04575d38f39c3e8d (patch)
tree9cc1f23b11239635ec6441c1a6c2ba73783070eb
parentfc20223097ef3f40d76b33f708ef3f4ebc5369d2 (diff)
downloadopenembedded-core-5504082a0950bebe3a84143d04575d38f39c3e8d.tar.gz
openembedded-core-5504082a0950bebe3a84143d04575d38f39c3e8d.tar.bz2
openembedded-core-5504082a0950bebe3a84143d04575d38f39c3e8d.zip
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 <josh@linux.intel.com>
-rw-r--r--meta/packages/xcb/xcb-proto.inc5
-rw-r--r--meta/packages/xcb/xcb-proto_1.5.bb2
-rw-r--r--meta/packages/xcb/xcb-proto_git.bb4
3 files changed, 6 insertions, 5 deletions
diff --git a/meta/packages/xcb/xcb-proto.inc b/meta/packages/xcb/xcb-proto.inc
index b294d1ac55..2a3d9ea20b 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 e602252d92..8aaa9a0c5d 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 6eaa0dd278..b96fc121c5 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"