diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-02-20 15:11:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-24 13:31:45 +0000 |
commit | f13071decfc1525a9429c3c20e5b589b923bfa18 (patch) | |
tree | b581df0947e8a095437fd6db3e9cffb5b0ab79b9 /meta/recipes-gnome | |
parent | bc35fe5771ea03d9a6ccdb0ad7f67653c0d428bb (diff) | |
download | poky-f13071decfc1525a9429c3c20e5b589b923bfa18.tar.gz |
libportal: allow to build without gtk4 backend
This allows to build libportal for platforms without opengl support
(From OE-Core rev: 3678dd56f800f22c9f81aa4afe060420f19c78f9)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/libportal/libportal_0.6.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-gnome/libportal/libportal_0.6.bb b/meta/recipes-gnome/libportal/libportal_0.6.bb index ca58ef4138..bf38fc85fd 100644 --- a/meta/recipes-gnome/libportal/libportal_0.6.bb +++ b/meta/recipes-gnome/libportal/libportal_0.6.bb | |||
@@ -15,6 +15,6 @@ GIDOCGEN_MESON_OPTION = 'docs' | |||
15 | 15 | ||
16 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 16 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
17 | 17 | ||
18 | DEPENDS += "glib-2.0 glib-2.0-native gtk+3 gtk4" | 18 | DEPENDS += "glib-2.0 glib-2.0-native gtk+3 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)}" |
19 | 19 | ||
20 | EXTRA_OEMESON = "-Dbackends=gtk3,gtk4" | 20 | EXTRA_OEMESON = "-Dbackends=gtk3${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ',gtk4', '', d)}" |