Add PACKAGECONFIGs for gtk3 and gtk4 - both enabled by default

Signed-off-by: Andreas Müller <schnitzelt...@gmail.com>
---
 .../{colord-gtk_0.2.0.bb => colord-gtk_0.3.0.bb}          | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta-gnome/recipes-support/colord-gtk/{colord-gtk_0.2.0.bb => 
colord-gtk_0.3.0.bb} (72%)

diff --git a/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb 
b/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.3.0.bb
similarity index 72%
rename from meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb
rename to meta-gnome/recipes-support/colord-gtk/colord-gtk_0.3.0.bb
index e9c79e28b..0e86d781c 100644
--- a/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb
+++ b/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.3.0.bb
@@ -6,13 +6,15 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
 inherit meson gobject-introspection gettext gtk-doc features_check
 
 DEPENDS = " \
-    gtk+3 \
     colord \
 "
 
 SRC_URI = 
"http://www.freedesktop.org/software/colord/releases/${BPN}-${PV}.tar.xz";
-SRC_URI[md5sum] = "66d048803c8b89e5e63da4b461484933"
-SRC_URI[sha256sum] = 
"2a4cfae08bc69f000f40374934cd26f4ae86d286ce7de89f1622abc59644c717"
+SRC_URI[sha256sum] = 
"b9466656d66d9a6ffbc2dd04fa91c8f6af516bf9efaacb69744eec0f56f3c1d0"
+
+PACKAGECONFIG ??= "gtk3 gtk4"
+PACKAGECONFIG[gtk3] = "-Dgtk3=true, -Dgtk3=false, gtk+3"
+PACKAGECONFIG[gtk4] = "-Dgtk4=true, -Dgtk4=false, gtk4"
 
 EXTRA_OEMESON = "-Dman=false"
 GIR_MESON_OPTION = ""
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#96351): 
https://lists.openembedded.org/g/openembedded-devel/message/96351
Mute This Topic: https://lists.openembedded.org/mt/90224155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to