diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-11-08 09:14:19 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-11-11 09:26:41 -0800 |
commit | 1ad7a9e2ced764105471c7cf98b45c1963127085 (patch) | |
tree | ae653b45b234b2f668e43ee659e9c147efc7c9bb /meta-gnome | |
parent | ca4c5ab653b9d5187385050552386f95ec868944 (diff) | |
download | meta-openembedded-1ad7a9e2ced764105471c7cf98b45c1963127085.tar.gz |
Adjust vala build according to changes in vala.bbclass
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
12 files changed, 15 insertions, 5 deletions
diff --git a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb index f2aeb8878c..fc12351090 100644 --- a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb +++ b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb | |||
@@ -33,6 +33,7 @@ inherit gnomebase gsettings pkgconfig mime-xdg gtk-icon-cache gobject-introspect | |||
33 | SRC_URI[archive.sha256sum] = "cc63080eefa147a8472ab1a5ff087b97a27ab723a4ee005ed41e8c9dd7798e41" | 33 | SRC_URI[archive.sha256sum] = "cc63080eefa147a8472ab1a5ff087b97a27ab723a4ee005ed41e8c9dd7798e41" |
34 | 34 | ||
35 | GIR_MESON_OPTION = "" | 35 | GIR_MESON_OPTION = "" |
36 | VALA_MESON_OPTION = "" | ||
36 | 37 | ||
37 | FILES:${PN} += "${datadir}" | 38 | FILES:${PN} += "${datadir}" |
38 | 39 | ||
diff --git a/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb b/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb index 36eb8ca199..8737b6d7e1 100644 --- a/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb +++ b/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb | |||
@@ -15,6 +15,9 @@ DEPENDS = " \ | |||
15 | GNOMEBASEBUILDCLASS = "meson" | 15 | GNOMEBASEBUILDCLASS = "meson" |
16 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 16 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
17 | GIR_MESON_OPTION = "" | 17 | GIR_MESON_OPTION = "" |
18 | VALA_MESON_OPTION = "with-vala" | ||
19 | VALA_MESON_ENABLE_FLAG ?= 'enabled' | ||
20 | VALA_MESON_DISABLE_FLAG ?= 'disabled' | ||
18 | 21 | ||
19 | PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=enabled,-Dpulseaudio=disabled,pulseaudio" | 22 | PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=enabled,-Dpulseaudio=disabled,pulseaudio" |
20 | PACKAGECONFIG[sasl] = "-Dsasl=enabled,-Dsasl=disabled,cyrus-sasl" | 23 | PACKAGECONFIG[sasl] = "-Dsasl=enabled,-Dsasl=disabled,cyrus-sasl" |
diff --git a/meta-gnome/recipes-gimp/babl/babl_0.1.106.bb b/meta-gnome/recipes-gimp/babl/babl_0.1.106.bb index 5a5f4f5e7c..5d656adb0e 100644 --- a/meta-gnome/recipes-gimp/babl/babl_0.1.106.bb +++ b/meta-gnome/recipes-gimp/babl/babl_0.1.106.bb | |||
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | |||
5 | GNOMEBASEBUILDCLASS = "meson" | 5 | GNOMEBASEBUILDCLASS = "meson" |
6 | 6 | ||
7 | GIR_MESON_OPTION = "enable-gir" | 7 | GIR_MESON_OPTION = "enable-gir" |
8 | VALA_MESON_OPTION = "enable-vapi" | ||
8 | 9 | ||
9 | inherit setuptools3 gnomebase gobject-introspection vala | 10 | inherit setuptools3 gnomebase gobject-introspection vala |
10 | 11 | ||
diff --git a/meta-gnome/recipes-gimp/gegl/gegl_0.4.46.bb b/meta-gnome/recipes-gimp/gegl/gegl_0.4.46.bb index 3a9478785d..75e11722aa 100644 --- a/meta-gnome/recipes-gimp/gegl/gegl_0.4.46.bb +++ b/meta-gnome/recipes-gimp/gegl/gegl_0.4.46.bb | |||
@@ -18,8 +18,9 @@ DEPENDS:remove:toolchain-clang:riscv32 = "openmp" | |||
18 | DEPENDS:remove:toolchain-clang:powerpc = "openmp" | 18 | DEPENDS:remove:toolchain-clang:powerpc = "openmp" |
19 | 19 | ||
20 | GNOMEBASEBUILDCLASS = "meson" | 20 | GNOMEBASEBUILDCLASS = "meson" |
21 | VALA_MESON_OPTION = "" | ||
21 | 22 | ||
22 | inherit features_check gnomebase vala gobject-introspection | 23 | inherit features_check gnomebase gobject-introspection vala |
23 | 24 | ||
24 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 25 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
25 | 26 | ||
diff --git a/meta-gnome/recipes-gnome/gedit/gedit_46.1.bb b/meta-gnome/recipes-gnome/gedit/gedit_46.1.bb index 01d7a072aa..0014b512a0 100644 --- a/meta-gnome/recipes-gnome/gedit/gedit_46.1.bb +++ b/meta-gnome/recipes-gnome/gedit/gedit_46.1.bb | |||
@@ -19,7 +19,7 @@ DEPENDS = " \ | |||
19 | tepl \ | 19 | tepl \ |
20 | " | 20 | " |
21 | 21 | ||
22 | inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check mime-xdg gtk-icon-cache python3targetconfig | 22 | inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc gettext features_check mime-xdg gtk-icon-cache python3targetconfig |
23 | 23 | ||
24 | def gnome_verdir(v): | 24 | def gnome_verdir(v): |
25 | return oe.utils.trim_version(v, 1) | 25 | return oe.utils.trim_version(v, 1) |
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb index 0af9f5600c..e91fa1bc6d 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb | |||
@@ -6,7 +6,7 @@ GNOMEBASEBUILDCLASS = "meson" | |||
6 | 6 | ||
7 | DEPENDS = "mozjs-115 cairo" | 7 | DEPENDS = "mozjs-115 cairo" |
8 | 8 | ||
9 | inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig | 9 | inherit gnomebase gsettings gobject-introspection gettext features_check upstream-version-is-even pkgconfig |
10 | 10 | ||
11 | SRC_URI[archive.sha256sum] = "fbaa20e0917668830800f92951688f9fc08f01296affd5cdb4b35f750be27dc9" | 11 | SRC_URI[archive.sha256sum] = "fbaa20e0917668830800f92951688f9fc08f01296affd5cdb4b35f750be27dc9" |
12 | SRC_URI += " \ | 12 | SRC_URI += " \ |
diff --git a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb index cde2e1d3cb..3482f76a57 100644 --- a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb +++ b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb | |||
@@ -18,6 +18,7 @@ DEPENDS = " \ | |||
18 | GIR_MESON_OPTION = 'disable-introspection' | 18 | GIR_MESON_OPTION = 'disable-introspection' |
19 | GIR_MESON_ENABLE_FLAG = 'false' | 19 | GIR_MESON_ENABLE_FLAG = 'false' |
20 | GIR_MESON_DISABLE_FLAG = 'true' | 20 | GIR_MESON_DISABLE_FLAG = 'true' |
21 | VALA_MESON_OPTION = '' | ||
21 | 22 | ||
22 | GNOMEBASEBUILDCLASS = "meson" | 23 | GNOMEBASEBUILDCLASS = "meson" |
23 | GTKIC_VERSION = '4' | 24 | GTKIC_VERSION = '4' |
diff --git a/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb b/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb index bdef603f0d..d01067eb1c 100644 --- a/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb +++ b/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb | |||
@@ -9,6 +9,8 @@ DEPENDS = " \ | |||
9 | 9 | ||
10 | GNOMEBASEBUILDCLASS = "meson" | 10 | GNOMEBASEBUILDCLASS = "meson" |
11 | 11 | ||
12 | VALA_MESON_OPTION = "enable_vala" | ||
13 | |||
12 | inherit gnomebase gettext gobject-introspection vala | 14 | inherit gnomebase gettext gobject-introspection vala |
13 | 15 | ||
14 | SRC_URI[archive.sha256sum] = "ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a" | 16 | SRC_URI[archive.sha256sum] = "ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a" |
diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb index 81ae8317dc..06353efabf 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb | |||
@@ -15,6 +15,7 @@ SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch" | |||
15 | SRC_URI[archive.sha256sum] = "366e866ff2a708b894cfea9475b8e8ff54cb3e2b477ea72a8ade0dabee5f48a4" | 15 | SRC_URI[archive.sha256sum] = "366e866ff2a708b894cfea9475b8e8ff54cb3e2b477ea72a8ade0dabee5f48a4" |
16 | 16 | ||
17 | GTKDOC_MESON_OPTION = "gtk_doc" | 17 | GTKDOC_MESON_OPTION = "gtk_doc" |
18 | VALA_MESON_OPTION = "enable_vala" | ||
18 | 19 | ||
19 | DEPENDS = " \ | 20 | DEPENDS = " \ |
20 | geocode-glib \ | 21 | geocode-glib \ |
diff --git a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb index 3a81a58f64..e46cbfc695 100644 --- a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb +++ b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb | |||
@@ -17,8 +17,6 @@ DEPENDS = " \ | |||
17 | 17 | ||
18 | inherit gnomebase gobject-introspection vala pkgconfig gi-docgen | 18 | inherit gnomebase gobject-introspection vala pkgconfig gi-docgen |
19 | 19 | ||
20 | EXTRA_OEMESON = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}" | ||
21 | |||
22 | PACKAGECONFIG ?= "" | 20 | PACKAGECONFIG ?= "" |
23 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" | 21 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" |
24 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" | 22 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" |
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb index a0a41d7f82..426082bd51 100644 --- a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb +++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb | |||
@@ -25,6 +25,7 @@ SRC_URI[archive.sha256sum] = "0ad722f3d532c21d757cf488f942960679ea8f457925efa976 | |||
25 | # gobject-introspection is mandatory and cannot be configured | 25 | # gobject-introspection is mandatory and cannot be configured |
26 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 26 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
27 | GIR_MESON_OPTION = "" | 27 | GIR_MESON_OPTION = "" |
28 | VALA_MESON_OPTION = "" | ||
28 | 29 | ||
29 | PACKAGECONFIG ??= " \ | 30 | PACKAGECONFIG ??= " \ |
30 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "ffmpeg", "", d)} \ | 31 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "ffmpeg", "", d)} \ |
diff --git a/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb b/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb index 36089238f6..21fe4d119b 100644 --- a/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb +++ b/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb | |||
@@ -3,6 +3,7 @@ LICENSE="LGPL-3.0-or-later" | |||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02" |
4 | 4 | ||
5 | GNOMEBASEBUILDCLASS = "meson" | 5 | GNOMEBASEBUILDCLASS = "meson" |
6 | VALA_MESON_OPTION ?= 'vapigen' | ||
6 | 7 | ||
7 | DEPENDS = "glib-2.0" | 8 | DEPENDS = "glib-2.0" |
8 | 9 | ||