diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-01-06 15:38:22 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-01-06 15:52:16 +0000 |
commit | 5504082a0950bebe3a84143d04575d38f39c3e8d (patch) | |
tree | 9cc1f23b11239635ec6441c1a6c2ba73783070eb | |
parent | fc20223097ef3f40d76b33f708ef3f4ebc5369d2 (diff) | |
download | poky-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.inc | 5 | ||||
-rw-r--r-- | meta/packages/xcb/xcb-proto_1.5.bb | 2 | ||||
-rw-r--r-- | meta/packages/xcb/xcb-proto_git.bb | 4 |
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 | ||
6 | SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2" | 6 | SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2" |
7 | 7 | ||
8 | inherit autotools_stage pkgconfig | 8 | inherit autotools pkgconfig |
9 | 9 | ||
10 | FILES_${PN}-dev += "${datadir}/xcb/*.xml" | 10 | FILES_${PN}-dev += "${datadir}/xcb/*.xml" |
11 | 11 | ||
12 | RDEPENDS_${PN}-dev = "" | 12 | RDEPENDS_${PN}-dev = "" |
13 | RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" | 13 | RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" |
14 | |||
15 | DEPENDS_append_virtclass-native = " python-native" | ||
16 | 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 @@ | |||
1 | include xcb-proto.inc | 1 | include xcb-proto.inc |
2 | PR = "r1" | 2 | 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" | |||
2 | 2 | ||
3 | include xcb-proto.inc | 3 | include xcb-proto.inc |
4 | PV = "1.2+gitr${SRCREV}" | 4 | PV = "1.2+gitr${SRCREV}" |
5 | PR = "r1" | ||
5 | 6 | ||
6 | SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git" | 7 | SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git" |
7 | S = "${WORKDIR}/git" | 8 | S = "${WORKDIR}/git" |
8 | |||
9 | DEPENDS_append_virtclass-native = " python-native" | ||
10 | BBCLASSEXTEND = "native" | ||