mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
folks: make some dependencies optional
make some dependencies optional add libebook dependency to all backends that need it ofono backend depends on eds backend Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -3,11 +3,8 @@ LICENSE = "LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
|
||||
DEPENDS = " \
|
||||
dbus-glib \
|
||||
glib-2.0 \
|
||||
libgee \
|
||||
libxml2 \
|
||||
python3-dbusmock-native \
|
||||
"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
@@ -17,15 +14,15 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
GIR_MESON_OPTION = ""
|
||||
|
||||
PACKAGECONFIG[eds] = "-Deds_backend=true,-Deds_backend=false,evolution-data-server"
|
||||
PACKAGECONFIG[bluez] = "-Dbluez_backend=true,-Dbluez_backend=false"
|
||||
PACKAGECONFIG[ofono] = "-Dofono_backend=true,-Dofono_backend=false"
|
||||
PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib"
|
||||
PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false"
|
||||
PACKAGECONFIG[bluez] = "-Dbluez_backend=true,-Dbluez_backend=false,evolution-data-server"
|
||||
PACKAGECONFIG[ofono] = "-Deds_backend=true -Dofono_backend=true,-Dofono_backend=false,evolution-data-server"
|
||||
PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib dbus-glib"
|
||||
PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false,libxml2"
|
||||
PACKAGECONFIG[inspect_tool] = "-Dinspect_tool=true,-Dinspect_tool=false"
|
||||
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,python3-dbusmock-native"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests','', d)}"
|
||||
|
||||
inherit pkgconfig gnomebase gettext gobject-introspection vala features_check
|
||||
|
||||
SRC_URI[archive.sha256sum] = "e71099afc9e88fad4e757ae134bc3fd63e12b901ad62b0ed5536afb79124af5f"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user