fractal/flatpak/org.gnome.Fractal.json
2017-11-09 10:05:21 +01:00

34 lines
1.2 KiB
JSON

{
"app-id": "org.gnome.Fractal",
"version": "master",
"runtime": "org.gnome.Platform",
"runtime-version": "3.26",
"sdk": "org.gnome.Sdk",
"command": "fractal",
"finish-args": ["--share=network", "--socket=x11", "--filesystem=host" ],
"build-options" : {
"env": {
"RUSTUP_HOME": "/run/build/Fractal/rustup",
"CARGO_HOME": "/run/build/Fractal/cargo",
"V": "1"
},
"build-args": [ "--share=network" ]
},
"cleanup": ["/include", "/lib/*/include", "/lib/pkgconfig", "/share/pkgconfig", "/share/aclocal", "/man", "/share/man", "/share/info", "/share/gtk-doc", "*.la", "*.a" ],
"modules": [
{
"name": "Fractal",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/danigm/fractal.git",
"branch": "flatpak"
}
],
"buildsystem": "simple",
"build-commands": [
"PATH=\"$PATH:$CARGO_HOME/bin\" bash -c 'curl https://sh.rustup.rs -sSf | sh -s -- -y && rustup default stable && ./configure --prefix=/app && make && make install'"
]
}
]
}