diff options
| author | Markus Volk <f_l_k@t-online.de> | 2022-01-21 14:32:54 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-24 09:11:01 -0800 |
| commit | ccd5c225fd4fb422fc6e0e34f320f6f51a5e5ca4 (patch) | |
| tree | 1621d88ad9ecb3d308257a1814f98e7618a667ec /meta-gnome | |
| parent | adbdc4c63a7cdab3fdee903204b9eac5360402bd (diff) | |
| download | meta-openembedded-ccd5c225fd4fb422fc6e0e34f320f6f51a5e5ca4.tar.gz | |
evolution-data-server: cleanup; enable vala introspection
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
| -rw-r--r-- | meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb index 571d4301ec..9ccaedbcce 100644 --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb | |||
| @@ -2,11 +2,11 @@ require ${BPN}.inc | |||
| 2 | 2 | ||
| 3 | DEPENDS = " \ | 3 | DEPENDS = " \ |
| 4 | ${BPN}-native intltool-native gperf-native \ | 4 | ${BPN}-native intltool-native gperf-native \ |
| 5 | glib-2.0 gtk+3 libgdata \ | 5 | glib-2.0 gtk+3 libgdata libxml2 icu \ |
| 6 | dbus db virtual/libiconv zlib libsoup-2.4 libical nss libsecret \ | 6 | dbus db virtual/libiconv zlib libsoup-2.4 libical nss libsecret \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
| 9 | inherit gsettings gobject-introspection features_check cmake gtk-doc gettext perlnative | 9 | inherit pkgconfig gsettings gobject-introspection features_check cmake gtk-doc gettext perlnative vala |
| 10 | 10 | ||
| 11 | REQUIRED_DISTRO_FEATURES = "x11" | 11 | REQUIRED_DISTRO_FEATURES = "x11" |
| 12 | 12 | ||
| @@ -21,23 +21,23 @@ SRC_URI += " \ | |||
| 21 | LKSTRFTIME = "HAVE_LKSTRFTIME=ON" | 21 | LKSTRFTIME = "HAVE_LKSTRFTIME=ON" |
| 22 | LKSTRFTIME:libc-musl = "HAVE_LKSTRFTIME=OFF" | 22 | LKSTRFTIME:libc-musl = "HAVE_LKSTRFTIME=OFF" |
| 23 | 23 | ||
| 24 | # For arm qemu-arm runs at 100% CPU load and never returns - so disable introspection for now | ||
| 25 | GI_DATA_ENABLED="False" | ||
| 26 | |||
| 27 | EXTRA_OECMAKE = " \ | 24 | EXTRA_OECMAKE = " \ |
| 28 | -DSYSCONF_INSTALL_DIR=${sysconfdir} \ | 25 | -DSYSCONF_INSTALL_DIR=${sysconfdir} \ |
| 29 | -DWITH_KRB5=OFF \ | 26 | -DWITH_KRB5=OFF \ |
| 30 | -DENABLE_GOA=OFF \ | ||
| 31 | -DENABLE_UOA=OFF \ | 27 | -DENABLE_UOA=OFF \ |
| 32 | -DENABLE_GOOGLE_AUTH=OFF \ | 28 | -DENABLE_GOOGLE_AUTH=OFF \ |
| 33 | -DENABLE_WEATHER=OFF \ | 29 | -DENABLE_WEATHER=OFF \ |
| 34 | -DENABLE_INTROSPECTION=${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'ON', 'OFF', d)} \ | 30 | -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper \ |
| 31 | -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper \ | ||
| 32 | -DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen \ | ||
| 33 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON', '-DENABLE_INTROSPECTION=OFF', d)} \ | ||
| 35 | -D${LKSTRFTIME} \ | 34 | -D${LKSTRFTIME} \ |
| 36 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | 35 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ |
| 37 | " | 36 | " |
| 38 | 37 | ||
| 39 | PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra" | 38 | PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra" |
| 40 | PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib" | 39 | PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2=ON,-DENABLE_OAUTH2=OFF,webkitgtk json-glib" |
| 40 | PACKAGECONFIG[goa] = "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts" | ||
| 41 | 41 | ||
| 42 | # BROKEN: due missing pkg-config in openldap eds' cmake finds host-libs when | 42 | # BROKEN: due missing pkg-config in openldap eds' cmake finds host-libs when |
| 43 | # searching for openldap-libs | 43 | # searching for openldap-libs |
| @@ -48,17 +48,8 @@ LDFLAGS += "-lpthread -lgmodule-2.0 -lgthread-2.0" | |||
| 48 | 48 | ||
| 49 | do_configure:append () { | 49 | do_configure:append () { |
| 50 | cp ${WORKDIR}/iconv-detect.h ${S}/src | 50 | cp ${WORKDIR}/iconv-detect.h ${S}/src |
| 51 | 51 | # avoid writing perl-native path into csv2vcard shebang | |
| 52 | # fix native perl shebang | 52 | sed -i "s|@PERL@|${bindir}/perl|" ${S}/src/tools/addressbook-export/csv2vcard.in |
| 53 | sed -i 's:${STAGING_BINDIR_NATIVE}/perl-native:${bindir}:' ${B}/src/tools/addressbook-export/csv2vcard | ||
| 54 | |||
| 55 | # fix abs path for g-ir-scanner-wrapper | ||
| 56 | sed -i ${B}/build.ninja \ | ||
| 57 | -e 's: ${bindir}/g-ir-scanner-wrapper: ${STAGING_BINDIR}/g-ir-scanner-wrapper:g' | ||
| 58 | } | ||
| 59 | |||
| 60 | do_compile:prepend() { | ||
| 61 | export GIR_EXTRA_LIBS_PATH="${B}/camel/.libs:${B}/libedataserver/.libs" | ||
| 62 | } | 53 | } |
| 63 | 54 | ||
| 64 | FILES:${PN} =+ " \ | 55 | FILES:${PN} =+ " \ |
