mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
Packages depends on libadwaita should require distro feature opengl
libadwaita requires distro feature 'opengl', so packages depends on it either directly or indirectly should require distro feature 'opengl' too. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+1
@@ -7,6 +7,7 @@ DEPENDS = "gtk+3 libnma libnotify libsecret libgudev networkmanager iso-codes ns
|
|||||||
inherit features_check gnomebase gsettings gtk-icon-cache gettext pkgconfig
|
inherit features_check gnomebase gsettings gtk-icon-cache gettext pkgconfig
|
||||||
|
|
||||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch', '', d)}"
|
SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch', '', d)}"
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ GNOMEBASEBUILDCLASS = "autotools"
|
|||||||
inherit gnomebase gtk-doc gobject-introspection pkgconfig features_check
|
inherit gnomebase gtk-doc gobject-introspection pkgconfig features_check
|
||||||
|
|
||||||
# for gnome-online-accounts
|
# for gnome-online-accounts
|
||||||
REQUIRED_DISTRO_FEATURES = "x11"
|
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||||
|
|
||||||
#SRC_URI += " file://0001-Update-rest-requirement-to-rest-1.0.patch"
|
#SRC_URI += " file://0001-Update-rest-requirement-to-rest-1.0.patch"
|
||||||
SRC_URI[archive.sha256sum] = "9cb381b3f78ba1136df97af3f06e3b11dcc2ab339ac08f74eda0f8057d6603e3"
|
SRC_URI[archive.sha256sum] = "9cb381b3f78ba1136df97af3f06e3b11dcc2ab339ac08f74eda0f8057d6603e3"
|
||||||
|
|||||||
@@ -17,4 +17,6 @@ inherit gnomebase gsettings gtk-icon-cache gnome-help gettext gobject-introspect
|
|||||||
|
|
||||||
SRC_URI[archive.sha256sum] = "fb2b0823cd16249edbeaee8302f9bd5005e0150368b35f1e47c26680cacac2fa"
|
SRC_URI[archive.sha256sum] = "fb2b0823cd16249edbeaee8302f9bd5005e0150368b35f1e47c26680cacac2fa"
|
||||||
|
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
FILES:${PN} += "${libdir} ${datadir}/metainfo"
|
FILES:${PN} += "${libdir} ${datadir}/metainfo"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
|
|||||||
|
|
||||||
GTKIC_VERSION = "4"
|
GTKIC_VERSION = "4"
|
||||||
inherit gnomebase gsettings pkgconfig gtk-icon-cache
|
inherit gnomebase gsettings pkgconfig gtk-icon-cache
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
DEPENDS = " \
|
DEPENDS = " \
|
||||||
desktop-file-utils-native \
|
desktop-file-utils-native \
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=34c88b124db5fb2762c1676be7dadd36"
|
|||||||
|
|
||||||
GTKIC_VERSION = "4"
|
GTKIC_VERSION = "4"
|
||||||
inherit gnomebase gsettings gobject-introspection gtk-icon-cache mime-xdg vala features_check
|
inherit gnomebase gsettings gobject-introspection gtk-icon-cache mime-xdg vala features_check
|
||||||
|
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'goabackend', 'opengl', '', d)}"
|
||||||
|
|
||||||
DEPENDS += "gdk-pixbuf dbus glib-2.0 gcr"
|
DEPENDS += "gdk-pixbuf dbus glib-2.0 gcr"
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ GTKDOC_MESON_OPTION = "gtk_doc"
|
|||||||
inherit gnomebase pkgconfig gettext gtk-doc vala gobject-introspection manpages features_check
|
inherit gnomebase pkgconfig gettext gtk-doc vala gobject-introspection manpages features_check
|
||||||
|
|
||||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||||
|
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'goa', 'opengl', '', d)}"
|
||||||
|
|
||||||
do_compile:prepend() {
|
do_compile:prepend() {
|
||||||
export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
|
export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ DEPENDS = " \
|
|||||||
libxml2-native \
|
libxml2-native \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit gnomebase gobject-introspection vala pkgconfig gi-docgen
|
inherit gnomebase gobject-introspection vala pkgconfig gi-docgen features_check
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
PACKAGECONFIG ?= ""
|
PACKAGECONFIG ?= ""
|
||||||
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
|
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ DEPENDS = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
GTKIC_VERSION = "4"
|
GTKIC_VERSION = "4"
|
||||||
|
|
||||||
SRC_URI[archive.sha256sum] = "0c2f537813b10f728470d9d05d6c95713db2512f9c95096e1e85b1a6739605e6"
|
SRC_URI[archive.sha256sum] = "0c2f537813b10f728470d9d05d6c95713db2512f9c95096e1e85b1a6739605e6"
|
||||||
|
|||||||
Reference in New Issue
Block a user