mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
recipes: use class-native instead of deprecated virtclass-native.
virtclass overrides are deprecated, so use class overrides instead. Signed-off-by: Ross Burton <ross.burton@intel.com>
This commit is contained in:
parent
6682d8db03
commit
c2cea10597
|
|
@ -1,6 +1,6 @@
|
|||
DESCRIPTION = "Azy is a library meant for implementing rpc clients and servers in a simple manner."
|
||||
DEPENDS = "pkgconfig zlib openssl eina gnutls ecore libxml2 re2c-native mysql5 azy-native glib-2.0"
|
||||
DEPENDS_virtclass-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native"
|
||||
DEPENDS_class-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native"
|
||||
LICENSE = "LGPLv2.1+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@ SRC_URI[sha256sum] = "55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd
|
|||
BBCLASSEXTEND = "native"
|
||||
|
||||
IDL_COMPILER_DEPENDS = "orbit2-native"
|
||||
IDL_COMPILER_DEPENDS_virtclass-native = " "
|
||||
IDL_COMPILER_DEPENDS_class-native = " "
|
||||
DEPENDS = "libidl popt ${IDL_COMPILER_DEPENDS}"
|
||||
|
||||
# IDL_COMPILER_DEPENDS_virtclass-native for some reason didn't work and orbit2-native
|
||||
# IDL_COMPILER_DEPENDS_class-native for some reason didn't work and orbit2-native
|
||||
# was still in orbit2-native DEPENDS causing circular dependency
|
||||
DEPENDS_virtclass-native = "libidl-native popt-native"
|
||||
DEPENDS_class-native = "libidl-native popt-native"
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
|
||||
|
|
@ -38,4 +38,4 @@ LEAD_SONAME = "libORBit-2.so"
|
|||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
EXTRA_OEMAKE = "IDL_COMPILER='${STAGING_BINDIR_NATIVE}/orbit-idl-2'"
|
||||
EXTRA_OEMAKE_virtclass-native = " "
|
||||
EXTRA_OEMAKE_class-native = " "
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ DEPENDS = "virtual/db libpcre openssl postfix-native \
|
|||
${@base_contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \
|
||||
"
|
||||
DEPENDS_virtclass-native = "virtual/db-native openssl-native libpcre-native"
|
||||
DEPENDS_class-native = "virtual/db-native openssl-native libpcre-native"
|
||||
|
||||
LICENSE = "IPL-1.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=64375f37431336ea1b1b3005fe3fa354"
|
||||
|
|
@ -54,8 +54,8 @@ export AUXLIBS-ldap = "\
|
|||
${@base_contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}"
|
||||
|
||||
# no native openldap
|
||||
export CCARGS-ldap_virtclass-native = ""
|
||||
export AUXLIBS-ldap_virtclass-native = ""
|
||||
export CCARGS-ldap_class-native = ""
|
||||
export AUXLIBS-ldap_class-native = ""
|
||||
|
||||
# SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH
|
||||
# current openldap didn't enable SASL
|
||||
|
|
@ -63,8 +63,8 @@ export CCARGS-sasl = "\
|
|||
${@base_contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I=/usr/include/sasl', '', d)}"
|
||||
export AUXLIBS-sasl = "\
|
||||
${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}"
|
||||
export CCARGS-sasl_virtclass-native = ""
|
||||
export AUXLIBS-sasl_virtclass-native = ""
|
||||
export CCARGS-sasl_class-native = ""
|
||||
export AUXLIBS-sasl_class-native = ""
|
||||
|
||||
# PCRE, TLS support default
|
||||
export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}"
|
||||
|
|
@ -119,7 +119,7 @@ do_compile () {
|
|||
oe_runmake
|
||||
}
|
||||
|
||||
do_install_prepend_virtclass-native() {
|
||||
do_install_prepend_class-native() {
|
||||
export POSTCONF="bin/postconf"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/"
|
|||
SECTION = "devel"
|
||||
|
||||
DEPENDS += "m4-native"
|
||||
DEPENDS_virtclass-native = "m4-native gnu-config-native"
|
||||
DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
||||
DEPENDS_class-native = "m4-native gnu-config-native"
|
||||
DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
||||
|
||||
RDEPENDS_${PN} = "m4 gnu-config"
|
||||
RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
|
||||
RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
||||
RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
|
||||
RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
|||
|
||||
PR = "r3"
|
||||
|
||||
DEPENDS_virtclass-native = "freetype-native libpng-native jpeg-native"
|
||||
DEPENDS_class-native = "freetype-native libpng-native jpeg-native"
|
||||
DEPENDS = "freetype libpng jpeg expat gtk+"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ inherit autotools-brokensep pkgconfig
|
|||
|
||||
EXTRA_OEMAKE = "DESTDIR=${D}"
|
||||
|
||||
do_configure_prepend_virtclass-nativesdk() {
|
||||
do_configure_prepend_class-nativesdk() {
|
||||
sed -i -e 's:@CPP@:\$\{CXX\} \$\{CXXFLAGS\} \-E:g' ${S}/src/nana.in
|
||||
sed -i -e 's:@CC@:\$\{CC\} \$\{CFLAGS\} \-E:g' ${S}/src/nana-clg.in
|
||||
sed -i -e 's:@CXX@::g' ${S}/src/nana-c++lg.in
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710
|
|||
S = "${WORKDIR}/admin/${BPN}-${PV}"
|
||||
|
||||
DEPENDS += "daemontools-native"
|
||||
DEPENDS_virtclass-native = ""
|
||||
DEPENDS_class-native = ""
|
||||
|
||||
do_compile() {
|
||||
./package/compile
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ SECTION = "console/utils"
|
|||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://usbpath.c;endline=20;md5=0aa8c7d2af9110c78a99fbf9a504dc3f"
|
||||
DEPENDS = "virtual/libusb0"
|
||||
DEPENDS_virtclass-native = "virtual/libusb0-native"
|
||||
DEPENDS_class-native = "virtual/libusb0-native"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=011c0d78eb6054d731c879132d7313f0"
|
|||
HOMEPAGE = "http://epydoc.sourceforge.net/"
|
||||
SRCNAME = "epydoc"
|
||||
DEPENDS += "python"
|
||||
DEPENDS_virtclass-native += "python-native"
|
||||
DEPENDS_class-native += "python-native"
|
||||
|
||||
SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
|
||||
|
|
|
|||
|
|
@ -30,5 +30,5 @@ DISTUTILS_INSTALL_ARGS += " \
|
|||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS_${PN} += "libxml2 libxslt python-compression"
|
||||
RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native"
|
||||
RDEPENDS_${PN}_class-native = "libxml2-native libxslt-native"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user