[gtk/flatpak-build-sassc: 4/4] Build sassc as a dependency for flatpaks
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/flatpak-build-sassc: 4/4] Build sassc as a dependency for flatpaks
- Date: Thu, 6 Feb 2020 19:31:32 +0000 (UTC)
commit 4a2d539251e4dc9ff43a1fab67a75fcfc27240af
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 5 23:47:13 2020 -0500
Build sassc as a dependency for flatpaks
Downloading the subproject during the GTK build fails
in a flatpak build due to lack of network access.
flatpak-builder insists on having these things explicitly
spelled out as dependencies.
build-aux/flatpak/org.gtk.Demo4.json | 32 ++++++++++++++++++++++++++-
build-aux/flatpak/org.gtk.IconBrowser4.json | 30 +++++++++++++++++++++++++
build-aux/flatpak/org.gtk.WidgetFactory4.json | 30 +++++++++++++++++++++++++
3 files changed, 91 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/flatpak/org.gtk.Demo4.json b/build-aux/flatpak/org.gtk.Demo4.json
index ceff29623d..4300c45e1e 100644
--- a/build-aux/flatpak/org.gtk.Demo4.json
+++ b/build-aux/flatpak/org.gtk.Demo4.json
@@ -1,7 +1,7 @@
{
"app-id": "org.gtk.Demo4",
"runtime": "org.gnome.Platform",
- "runtime-version": "master",
+ "runtime-version": "3.34",
"sdk": "org.gnome.Sdk",
"command": "gtk4-demo",
"tags": ["devel", "development", "nightly"],
@@ -54,6 +54,36 @@
}
]
},
+ {
+ "name" : "libsass",
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/lazka/libsass.git",
+ "branch" : "meson"
+ }
+ ]
+ },
+ {
+ "name" : "sassc",
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/lazka/sassc.git",
+ "branch" : "meson"
+ }
+ ]
+ },
{
"name": "gtk",
"buildsystem": "meson",
diff --git a/build-aux/flatpak/org.gtk.IconBrowser4.json b/build-aux/flatpak/org.gtk.IconBrowser4.json
index 6dc46fcdab..cdeaf6f1c9 100644
--- a/build-aux/flatpak/org.gtk.IconBrowser4.json
+++ b/build-aux/flatpak/org.gtk.IconBrowser4.json
@@ -54,6 +54,36 @@
}
]
},
+ {
+ "name" : "libsass",
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/lazka/libsass.git",
+ "branch" : "meson"
+ }
+ ]
+ },
+ {
+ "name" : "sassc",
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/lazka/sassc.git",
+ "branch" : "meson"
+ }
+ ]
+ },
{
"name": "gtk",
"buildsystem": "meson",
diff --git a/build-aux/flatpak/org.gtk.WidgetFactory4.json b/build-aux/flatpak/org.gtk.WidgetFactory4.json
index 8030528a14..f4130c1f65 100644
--- a/build-aux/flatpak/org.gtk.WidgetFactory4.json
+++ b/build-aux/flatpak/org.gtk.WidgetFactory4.json
@@ -54,6 +54,36 @@
}
]
},
+ {
+ "name" : "libsass",
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/lazka/libsass.git",
+ "branch" : "meson"
+ }
+ ]
+ },
+ {
+ "name" : "sassc",
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/lazka/sassc.git",
+ "branch" : "meson"
+ }
+ ]
+ },
{
"name": "gtk",
"buildsystem": "meson",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]