mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
evolution-data-server: Use inherit_defer for native class
Since gnome classes are using it in core, they are now appearing after native resulting in QA errors ERROR: /mnt/b/yoe/master/sources/meta-openembedded/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server-native.bb: QA Issue: evolution-data-server-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: pkgconfig.bbclass siteconfig.bbclass siteinfo.bbclass autotools.bbclass [native-last] secondly, use 'cmake' for GNOMEBASEBUILDCLASS default is set to meson (legacy is autotools) since most of gnome recipes are using meson these days. This recipe however uses neither autotools nor meson to build, it uses cmake, to this effect it inherits cmake bbclass and things worked so far, however with inherit_defer things changed because meta/classes-recipe/gnomebase.bbclass has switched to using inherit_defer, this unearths this issue where its not overriding exported functions as desired. Therefore this fixes that issue Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c076a26351
commit
1647e20b2e
@ -1,10 +1,12 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
inherit native
|
||||
inherit_defer native
|
||||
|
||||
DEPENDS = "glib-2.0-native"
|
||||
|
||||
# build native helpers
|
||||
do_configure[noexec] = "1"
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/src/camel
|
||||
sed -i 's:#include "evolution-data-server-config.h"::g' camel-gen-tables.c
|
||||
|
||||
@ -6,7 +6,7 @@ DEPENDS = " \
|
||||
dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \
|
||||
"
|
||||
|
||||
inherit pkgconfig gsettings gobject-introspection features_check cmake gtk-doc gettext perlnative vala
|
||||
inherit pkgconfig gsettings gobject-introspection features_check gtk-doc gettext perlnative vala
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6e689d19255cf0557f3fe7d7068212 \
|
||||
file://src/camel/camel.h;endline=24;md5=342fc5e9357254bc30c24e43ae47d9a1 \
|
||||
file://src/libedataserver/e-data-server-util.h;endline=20;md5=8f21a9c80ea82a4fb80b5f959f672543"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "autotools"
|
||||
GNOMEBASEBUILDCLASS = "cmake"
|
||||
inherit gnomebase upstream-version-is-even
|
||||
|
||||
SRC_URI[archive.sha256sum] = "91f4ffc38a1b8d2fe8939834449ac541c0bff4a39b444edc2a9529344a28e98a"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user