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>
This commit is contained in:
Joshua Lock
2010-01-06 15:38:22 +00:00
parent fc20223097
commit 5504082a09
3 changed files with 6 additions and 5 deletions

View File

@@ -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"

View File

@@ -1,2 +1,2 @@
include xcb-proto.inc
PR = "r1"
PR = "r2"

View File

@@ -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"