summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-10-27 16:48:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-02 16:18:27 +0000
commit5d94d29f553456268351b26065cc69eb19e71b87 (patch)
tree6e9a8651524e8417f96e83595e83c8fa387d5bdf /meta/recipes-core/glib-2.0
parent74bb195f9f72d4f281f4c11f03ca46aee95ccd55 (diff)
downloadpoky-5d94d29f553456268351b26065cc69eb19e71b87.tar.gz
recipes-core: 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: 5193485a42dfb3396d0f12aaa7732c5db29d7338) 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>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb6
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc6
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
index 10c0b615ed..22c6c7bef0 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
@@ -4,8 +4,8 @@ PR = "r6"
4PE = "1" 4PE = "1"
5 5
6DEPENDS += "libffi python-argparse-native zlib" 6DEPENDS += "libffi python-argparse-native zlib"
7DEPENDS_virtclass-native += "libffi-native python-argparse-native" 7DEPENDS_class-native += "libffi-native python-argparse-native"
8DEPENDS_virtclass-nativesdk += "nativesdk-libffi python-argparse-native nativesdk-zlib ${BPN}-native" 8DEPENDS_class-nativesdk += "nativesdk-libffi python-argparse-native nativesdk-zlib ${BPN}-native"
9 9
10SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" 10SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
11 11
@@ -19,7 +19,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
19SRC_URI[md5sum] = "bf84fefd9c1a5b5a7a38736f4ddd674a" 19SRC_URI[md5sum] = "bf84fefd9c1a5b5a7a38736f4ddd674a"
20SRC_URI[sha256sum] = "a5d742a4fda22fb6975a8c0cfcd2499dd1c809b8afd4ef709bda4d11b167fae2" 20SRC_URI[sha256sum] = "a5d742a4fda22fb6975a8c0cfcd2499dd1c809b8afd4ef709bda4d11b167fae2"
21 21
22SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch" 22SRC_URI_append_class-native = " file://glib-gettextize-dir.patch"
23BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
24 24
25do_configure_prepend() { 25do_configure_prepend() {
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 8b099f223e..6e2b5d2a74 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -14,8 +14,8 @@ BUGTRACKER = "http://bugzilla.gnome.org"
14SECTION = "libs" 14SECTION = "libs"
15 15
16DEPENDS = "glib-2.0-native zip virtual/libiconv" 16DEPENDS = "glib-2.0-native zip virtual/libiconv"
17DEPENDS_virtclass-native = "pkgconfig-native gettext-native" 17DEPENDS_class-native = "pkgconfig-native gettext-native"
18DEPENDS_virtclass-nativesdk = "nativesdk-libtool" 18DEPENDS_class-nativesdk = "nativesdk-libtool"
19PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen" 19PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
20 20
21LEAD_SONAME = "libglib-2.0.*" 21LEAD_SONAME = "libglib-2.0.*"
@@ -28,7 +28,7 @@ S = "${WORKDIR}/glib-${PV}"
28CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap" 28CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap"
29 29
30EXTRA_OECONF = "--enable-included-printf=no ${CORECONF}" 30EXTRA_OECONF = "--enable-included-printf=no ${CORECONF}"
31EXTRA_OECONF_virtclass-native = "${CORECONF}" 31EXTRA_OECONF_class-native = "${CORECONF}"
32EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}" 32EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}"
33 33
34FILES_${PN} = "${libdir}/lib*${SOLIBS} ${datadir}/glib-2.0/schemas \ 34FILES_${PN} = "${libdir}/lib*${SOLIBS} ${datadir}/glib-2.0/schemas \