From: Matthias Clasen Date: Thu, 6 Feb 2020 04:47:13 +0000 (-0500) Subject: Build sassc as a dependency for flatpaks X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~85^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4a2d539251e4dc9ff43a1fab67a75fcfc27240af;p=gtk4.git 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. --- 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",