[gnome-builder] plugins/meson-templates: wire up vala sdk extension
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/meson-templates: wire up vala sdk extension
- Date: Sat, 16 Jul 2022 05:29:48 +0000 (UTC)
commit bfa3c01ff590a8821c83bd09d1b66eeeeb4f8776
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 15 22:29:43 2022 -0700
plugins/meson-templates: wire up vala sdk extension
src/plugins/meson-templates/resources/flatpak.json.in | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/plugins/meson-templates/resources/flatpak.json.in
b/src/plugins/meson-templates/resources/flatpak.json.in
index 6112dabcd..2482956b9 100644
--- a/src/plugins/meson-templates/resources/flatpak.json.in
+++ b/src/plugins/meson-templates/resources/flatpak.json.in
@@ -7,6 +7,10 @@
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
+{{else if language == "vala"}}
+ "sdk-extensions" : [
+ "org.freedesktop.Sdk.Extension.vala"
+ ],
{{end}}
"command" : "{{exec_name}}",
"finish-args" : [
@@ -29,6 +33,11 @@
"RUST_LOG" : "{{name}}=debug"
}
},
+{{else if language == "vala"}}
+ "build-options" : {
+ "append-path" : "/usr/lib/sdk/vala/bin",
+ "prepend-ld-library-path" : "/usr/lib/sdk/vala/lib"
+ },
{{end}}
"cleanup" : [
"/include",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]