mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
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:
@@ -5,9 +5,12 @@ HOMEPAGE = "http://xcb.freedesktop.org"
|
|||||||
|
|
||||||
SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2"
|
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"
|
FILES_${PN}-dev += "${datadir}/xcb/*.xml"
|
||||||
|
|
||||||
RDEPENDS_${PN}-dev = ""
|
RDEPENDS_${PN}-dev = ""
|
||||||
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
|
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
|
||||||
|
|
||||||
|
DEPENDS_append_virtclass-native = " python-native"
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
include xcb-proto.inc
|
include xcb-proto.inc
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|||||||
@@ -2,9 +2,7 @@ DEFAULT_PREFERENCE = "-1"
|
|||||||
|
|
||||||
include xcb-proto.inc
|
include xcb-proto.inc
|
||||||
PV = "1.2+gitr${SRCREV}"
|
PV = "1.2+gitr${SRCREV}"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git"
|
SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
DEPENDS_append_virtclass-native = " python-native"
|
|
||||||
BBCLASSEXTEND = "native"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user