Gradience/build-aux/flatpak/com.github.GradienceTeam.Gradience.json

145 lines
4.1 KiB
JSON

{
"app-id" : "com.github.GradienceTeam.Gradience",
"runtime" : "org.gnome.Platform",
"runtime-version" : "42",
"sdk" : "org.gnome.Sdk",
"command" : "gradience",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--filesystem=xdg-data/flatpak:create",
"--filesystem=xdg-config/gtk-3.0",
"--filesystem=xdg-config/gtk-4.0",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
"pypi-dependencies.json",
{
"name": "python-lxml",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py build --with-cython",
"python3 setup.py install --prefix=/app --root=/"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
"sha256": "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
}
]
},
{
"name" : "blueprint-compiler",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"branch" : "main"
}
]
},
{
"name": "libsass",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --enable-shared --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
}
]
},
{
"name": "sassc",
"buildsystem": "simple",
"build-commands": [
"autoreconf --force --install",
"./configure --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/sass/sassc.git",
"tag": "3.6.2"
}
]
},
{
"name": "libadwaita",
"buildsystem": "meson",
"config-opts": [
"-Dvapi=false",
"-Dtests=false",
"-Dexamples=false",
"-Dintrospection=enabled"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libadwaita.git",
"tag": "1.2.beta"
}
]
},
{
"name": "libportal",
"buildsystem": "meson",
"config-opts": [
"-Ddocs=false",
"-Dvapi=false",
"-Dbackends=gtk4"
],
"sources": [
{
"type": "git",
"url": "https://github.com/flatpak/libportal",
"tag": "0.6"
}
]
},
{
"name" : "gradience",
"builddir" : true,
"buildsystem" : "meson",
"config-opts": [
"-Dbuildtype=release"
],
"sources" : [
{
"type" : "dir",
"path" : "../../."
}
]
}
],
"build-options" : {
"env" : { }
}
}