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

135 lines
4 KiB
JSON

{
"app-id" : "com.github.GradienceTeam.Gradience",
"runtime" : "org.gnome.Platform",
"runtime-version" : "44",
"sdk" : "org.gnome.Sdk",
"command" : "gradience",
"finish-args" : [
"--share=network",
"--share=ipc",
"--device=dri",
"--socket=fallback-x11",
"--socket=wayland",
"--filesystem=xdg-data/flatpak/overrides:create",
"--filesystem=xdg-config/gtk-3.0",
"--filesystem=xdg-config/gtk-4.0",
"--filesystem=xdg-run/gvfsd",
"--filesystem=xdg-download:ro",
"--filesystem=~/.mozilla/firefox",
"--filesystem=~/.librewolf",
"--filesystem=~/.var/app/org.mozilla.firefox/.mozilla/firefox",
"--filesystem=~/.var/app/io.gitlab.librewolf-community/.librewolf"
],
"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",
"tag" : "v0.6.0"
}
]
},
{
"name": "sassc",
"sources": [
{
"type": "git",
"url": "https://github.com/sass/sassc.git",
"tag": "3.6.2"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -si"
]
}
],
"cleanup": [
"*"
],
"modules": [
{
"name": "libsass",
"sources": [
{
"type": "git",
"url": "https://github.com/sass/libsass.git",
"tag": "3.6.5"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -si"
]
}
],
"cleanup": [
"*"
]
}
]
},
{
"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" : "../../."
}
]
}
]
}