NOT WORKING. Intial flatpak manifest.

This commit is contained in:
Jordan Petridis 2017-11-13 10:23:05 +02:00
parent c2d0254a06
commit be7b89dffb
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 38 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ Cargo.lock
*.gresource *.gresource
_build _build
vendor/ vendor/
.flatpak-builder/

37
org.gnome.Hammond.json Normal file
View File

@ -0,0 +1,37 @@
{
"app-id": "org.gnome.Hammond",
"runtime": "org.gnome.Platform",
"runtime-version": "3.26",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "hammond",
"finish-args": [
"--share=network",
"--socket=x11",
"--socket=wayland",
"--talk-name=org.freedesktop.Notifications"
],
"build-options" : {
"env": {
"CARGO_HOME": "/run/build/Hammond/cargo"
},
"build-args": [ "--share=network" ]
},
"modules": [
{
"name": "Hammond",
"buildsystem": "simple",
"build-commands": [
"source /usr/lib/sdk/rust-stable/enable.sh && ./configure --prefix=/app && make && make install"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/alatiera/Hammond.git",
"branch": "master"
}
]
}
]
}