summaryrefslogtreecommitdiffstats
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)
downloadpoky-5504082a0950bebe3a84143d04575d38f39c3e8d.tar.gz
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"
5 5
6SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2" 6SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2"
7 7
8inherit autotools_stage pkgconfig 8inherit autotools pkgconfig
9 9
10FILES_${PN}-dev += "${datadir}/xcb/*.xml" 10FILES_${PN}-dev += "${datadir}/xcb/*.xml"
11 11
12RDEPENDS_${PN}-dev = "" 12RDEPENDS_${PN}-dev = ""
13RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" 13RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
14
15DEPENDS_append_virtclass-native = " python-native"
16BBCLASSEXTEND = "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 @@
1include xcb-proto.inc 1include xcb-proto.inc
2PR = "r1" 2PR = "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"
2 2
3include xcb-proto.inc 3include xcb-proto.inc
4PV = "1.2+gitr${SRCREV}" 4PV = "1.2+gitr${SRCREV}"
5PR = "r1"
5 6
6SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git" 7SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git"
7S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
8
9DEPENDS_append_virtclass-native = " python-native"
10BBCLASSEXTEND = "native"