recipes-graphics: replace virtclass-native(sdk) with class-native(sdk)

The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: db1a03da3a6a6e7adb68e28883204adfaa8b3f47)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2012-10-27 16:48:17 +08:00 committed by Richard Purdie
parent 5ddf8570a1
commit cc1f50fca8
7 changed files with 9 additions and 9 deletions

View File

@ -27,7 +27,7 @@ inherit autotools pkgconfig binconfig
LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
EXTRA_OEMAKE_virtclass-native = ""
EXTRA_OEMAKE_class-native = ""
EXTRA_OECONF = "--without-zlib --without-bzip2"
do_configure() {
@ -40,7 +40,7 @@ do_configure() {
oe_runconf
}
do_configure_virtclass-native() {
do_configure_class-native() {
(cd builds/unix && gnu-configize) || die "failure running gnu-configize"
oe_runconf
}

View File

@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \
${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
tslib"
DEPENDS_virtclass-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
PR = "r1"

View File

@ -16,7 +16,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG[x11] = "--with-x,--without-x,${X11DEPENDS}"
BBCLASSEXTEND = "native"
DEPENDS_virtclass-native = "glib-2.0-native cairo-native"
DEPENDS_class-native = "glib-2.0-native cairo-native"
PACKAGES_DYNAMIC += "^pango-module-.*"

View File

@ -21,5 +21,5 @@ FILES_python-xcbgen = "${libdir}/python*"
RDEPENDS_${PN}-dev = ""
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
DEPENDS_append_virtclass-native = " python-native"
DEPENDS_append_class-native = " python-native"
BBCLASSEXTEND = "native nativesdk"

View File

@ -12,7 +12,7 @@ PE = "1"
PR = "${INC_PR}.0"
RDEPENDS_${PN} += "mkfontscale"
RDEPENDS_${PN}_virtclass-native += "mkfontscale-native"
RDEPENDS_${PN}_class-native += "mkfontscale-native"
BBCLASSEXTEND = "native"

View File

@ -13,7 +13,7 @@ SRC_URI += "file://nocompiler.patch"
DEPENDS = "util-macros-native"
RDEPENDS_${PN} = "encodings font-util"
RDEPENDS_${PN}_virtclass-native = "font-util-native"
RDEPENDS_${PN}_class-native = "font-util-native"
inherit allarch

View File

@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c0067273d90f6336008cb2504e14bd32 \
file://map-ISO8859-1;beginline=9;endline=23;md5=1cecb984063248f29ffe5c46f5c04f34"
DEPENDS = "encodings util-macros"
DEPENDS_virtclass-native = "util-macros-native"
DEPENDS_class-native = "util-macros-native"
RDEPENDS_${PN} = "mkfontdir mkfontscale encodings"
RDEPENDS_${PN}_virtclass-native = "mkfontdir-native mkfontscale-native"
RDEPENDS_${PN}_class-native = "mkfontdir-native mkfontscale-native"
PR = "${INC_PR}.0"