diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-11-10 12:18:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-13 11:38:03 +0000 |
commit | d217ca41bf5503dc7b79cf1707ea4815c94142a7 (patch) | |
tree | d94e7910cc90aa4ac4e703e572faf30654d56197 /meta/recipes-gnome | |
parent | 3922466de31b68d86a6bebf9e01f9569aa7f430e (diff) | |
download | poky-d217ca41bf5503dc7b79cf1707ea4815c94142a7.tar.gz |
gnomebase.bbclass: Use meson as default buildsystem
The vast majority of gnome recipes uses meson. Set it as default
and override the few recipes that still use autotools.
This way we can remove a lot of lines in meta-oe and more important
it would not be needed to explicitly set GNOMEBASEBUILDCLASS = "meson" for newly
created gnome recipe anymore.
(From OE-Core rev: 8b061ea36f8b94b482c5867fe2ba7213288a5aa3)
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/epiphany/epiphany_44.6.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/gcr/gcr_4.1.0.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/gnome/gconf_3.2.6.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_44.0.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/json-glib/json-glib_1.6.6.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/libgudev/libgudev_238.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/libnotify/libnotify_0.8.2.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.56.3.bb | 1 | ||||
-rw-r--r-- | meta/recipes-gnome/libsecret/libsecret_0.21.1.bb | 1 |
13 files changed, 3 insertions, 10 deletions
diff --git a/meta/recipes-gnome/epiphany/epiphany_44.6.bb b/meta/recipes-gnome/epiphany/epiphany_44.6.bb index d8dd3d6dae..577eb43a80 100644 --- a/meta/recipes-gnome/epiphany/epiphany_44.6.bb +++ b/meta/recipes-gnome/epiphany/epiphany_44.6.bb | |||
@@ -23,7 +23,6 @@ DEPENDS = " \ | |||
23 | desktop-file-utils-native \ | 23 | desktop-file-utils-native \ |
24 | " | 24 | " |
25 | 25 | ||
26 | GNOMEBASEBUILDCLASS = "meson" | ||
27 | inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache | 26 | inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache |
28 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 27 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
29 | 28 | ||
diff --git a/meta/recipes-gnome/gcr/gcr_4.1.0.bb b/meta/recipes-gnome/gcr/gcr_4.1.0.bb index 239d9806cc..399f327e04 100644 --- a/meta/recipes-gnome/gcr/gcr_4.1.0.bb +++ b/meta/recipes-gnome/gcr/gcr_4.1.0.bb | |||
@@ -15,7 +15,6 @@ CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" | |||
15 | 15 | ||
16 | CFLAGS += "-D_GNU_SOURCE" | 16 | CFLAGS += "-D_GNU_SOURCE" |
17 | 17 | ||
18 | GNOMEBASEBUILDCLASS = "meson" | ||
19 | GTKDOC_MESON_OPTION = "gtk_doc" | 18 | GTKDOC_MESON_OPTION = "gtk_doc" |
20 | inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg | 19 | inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg |
21 | 20 | ||
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb b/meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb index 4dbcced5c3..0bd98288f6 100644 --- a/meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb +++ b/meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb | |||
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \ | |||
10 | file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \ | 10 | file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \ |
11 | file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02" | 11 | file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02" |
12 | 12 | ||
13 | GNOMEBASEBUILDCLASS = "meson" | ||
14 | inherit gnomebase allarch gtk-icon-cache | 13 | inherit gnomebase allarch gtk-icon-cache |
15 | 14 | ||
16 | SRC_URI[archive.sha256sum] = "2442bfb06f4e6cc95bf6e2682fdff98fa5eddc688751b9d6215c623cb4e42ff1" | 15 | SRC_URI[archive.sha256sum] = "2442bfb06f4e6cc95bf6e2682fdff98fa5eddc688751b9d6215c623cb4e42ff1" |
diff --git a/meta/recipes-gnome/gnome/gconf_3.2.6.bb b/meta/recipes-gnome/gnome/gconf_3.2.6.bb index 4930aeb9f0..1e29bd9bb0 100644 --- a/meta/recipes-gnome/gnome/gconf_3.2.6.bb +++ b/meta/recipes-gnome/gnome/gconf_3.2.6.bb | |||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | |||
9 | 9 | ||
10 | DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib libxml2 intltool-native" | 10 | DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib libxml2 intltool-native" |
11 | 11 | ||
12 | GNOMEBASEBUILDCLASS = "autotools" | ||
12 | inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache | 13 | inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache |
13 | 14 | ||
14 | SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ | 15 | SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ |
diff --git a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_44.0.bb b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_44.0.bb index 8e30d5e524..5ccc1a7dd4 100644 --- a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_44.0.bb +++ b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_44.0.bb | |||
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | |||
9 | 9 | ||
10 | DEPENDS = "glib-2.0" | 10 | DEPENDS = "glib-2.0" |
11 | 11 | ||
12 | GNOMEBASEBUILDCLASS = "meson" | ||
13 | 12 | ||
14 | inherit gnomebase gsettings gobject-introspection gettext | 13 | inherit gnomebase gsettings gobject-introspection gettext |
15 | 14 | ||
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb index 150eca9274..2e8ab1c771 100644 --- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb +++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb | |||
@@ -5,6 +5,7 @@ HOMEPAGE = "https://www.gtk.org/docs/" | |||
5 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
7 | 7 | ||
8 | GNOMEBASEBUILDCLASS = "autotools" | ||
8 | inherit gnomebase | 9 | inherit gnomebase |
9 | 10 | ||
10 | # Configure the scripts correctly (and build their dependencies) only if they are actually | 11 | # Configure the scripts correctly (and build their dependencies) only if they are actually |
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.6.6.bb b/meta/recipes-gnome/json-glib/json-glib_1.6.6.bb index 9c34fb7f40..a9a71953c3 100644 --- a/meta/recipes-gnome/json-glib/json-glib_1.6.6.bb +++ b/meta/recipes-gnome/json-glib/json-glib_1.6.6.bb | |||
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | |||
11 | 11 | ||
12 | DEPENDS = "glib-2.0 glib-2.0-native" | 12 | DEPENDS = "glib-2.0 glib-2.0-native" |
13 | 13 | ||
14 | GNOMEBASEBUILDCLASS = "meson" | ||
15 | inherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even | 14 | inherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even |
16 | GIR_MESON_ENABLE_FLAG = 'enabled' | 15 | GIR_MESON_ENABLE_FLAG = 'enabled' |
17 | GIR_MESON_DISABLE_FLAG = 'disabled' | 16 | GIR_MESON_DISABLE_FLAG = 'disabled' |
diff --git a/meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb b/meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb index d8aa2cd697..cc05756805 100644 --- a/meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb +++ b/meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/libadwaita" | |||
3 | LICENSE="LGPL-2.1-or-later" | 3 | LICENSE="LGPL-2.1-or-later" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
5 | 5 | ||
6 | GNOMEBASEBUILDCLASS = "meson" | ||
7 | 6 | ||
8 | DEPENDS = " \ | 7 | DEPENDS = " \ |
9 | gtk4 \ | 8 | gtk4 \ |
diff --git a/meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb b/meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb index 49ebc818b0..9bca7e9dce 100644 --- a/meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb +++ b/meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb | |||
@@ -7,7 +7,6 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/libdazzle" | |||
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues" | 7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" |
9 | 9 | ||
10 | GNOMEBASEBUILDCLASS = "meson" | ||
11 | inherit gnomebase upstream-version-is-even vala features_check gobject-introspection | 10 | inherit gnomebase upstream-version-is-even vala features_check gobject-introspection |
12 | 11 | ||
13 | DEPENDS = "glib-2.0-native glib-2.0 gtk+3" | 12 | DEPENDS = "glib-2.0-native glib-2.0 gtk+3" |
diff --git a/meta/recipes-gnome/libgudev/libgudev_238.bb b/meta/recipes-gnome/libgudev/libgudev_238.bb index c71e4bda74..5923544eca 100644 --- a/meta/recipes-gnome/libgudev/libgudev_238.bb +++ b/meta/recipes-gnome/libgudev/libgudev_238.bb | |||
@@ -14,7 +14,6 @@ RCONFLICTS:${PN} = "systemd (<= 220)" | |||
14 | LICENSE = "LGPL-2.1-only" | 14 | LICENSE = "LGPL-2.1-only" |
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
16 | 16 | ||
17 | GNOMEBASEBUILDCLASS = "meson" | ||
18 | inherit gnomebase gobject-introspection gtk-doc | 17 | inherit gnomebase gobject-introspection gtk-doc |
19 | 18 | ||
20 | GIR_MESON_ENABLE_FLAG = 'enabled' | 19 | GIR_MESON_ENABLE_FLAG = 'enabled' |
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.8.2.bb b/meta/recipes-gnome/libnotify/libnotify_0.8.2.bb index 6888c33d14..1ca7ef8714 100644 --- a/meta/recipes-gnome/libnotify/libnotify_0.8.2.bb +++ b/meta/recipes-gnome/libnotify/libnotify_0.8.2.bb | |||
@@ -14,7 +14,6 @@ DEPENDS = "glib-2.0 glib-2.0-native gdk-pixbuf" | |||
14 | PACKAGECONFIG ?= "" | 14 | PACKAGECONFIG ?= "" |
15 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gtk+3" | 15 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gtk+3" |
16 | 16 | ||
17 | GNOMEBASEBUILDCLASS = "meson" | ||
18 | GIR_MESON_ENABLE_FLAG = "enabled" | 17 | GIR_MESON_ENABLE_FLAG = "enabled" |
19 | GIR_MESON_DISABLE_FLAG = "disabled" | 18 | GIR_MESON_DISABLE_FLAG = "disabled" |
20 | inherit gnomebase gi-docgen features_check gobject-introspection | 19 | inherit gnomebase gi-docgen features_check gobject-introspection |
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.56.3.bb b/meta/recipes-gnome/librsvg/librsvg_2.56.3.bb index 43d4059cf2..9824b8898d 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.56.3.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.56.3.bb | |||
@@ -14,6 +14,7 @@ SECTION = "x11/utils" | |||
14 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native" | 14 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native" |
15 | BBCLASSEXTEND = "native nativesdk" | 15 | BBCLASSEXTEND = "native nativesdk" |
16 | 16 | ||
17 | GNOMEBASEBUILDCLASS = "autotools" | ||
17 | inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala gi-docgen cargo-update-recipe-crates | 18 | inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala gi-docgen cargo-update-recipe-crates |
18 | 19 | ||
19 | require ${BPN}-crates.inc | 20 | require ${BPN}-crates.inc |
diff --git a/meta/recipes-gnome/libsecret/libsecret_0.21.1.bb b/meta/recipes-gnome/libsecret/libsecret_0.21.1.bb index 63102476cb..f762d7c343 100644 --- a/meta/recipes-gnome/libsecret/libsecret_0.21.1.bb +++ b/meta/recipes-gnome/libsecret/libsecret_0.21.1.bb | |||
@@ -8,7 +8,6 @@ HOMEPAGE = "https://github.com/GNOME/libsecret" | |||
8 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues" | 8 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6" |
10 | 10 | ||
11 | GNOMEBASEBUILDCLASS = "meson" | ||
12 | 11 | ||
13 | inherit gnomebase gi-docgen vala gobject-introspection manpages | 12 | inherit gnomebase gi-docgen vala gobject-introspection manpages |
14 | 13 | ||