diff --git a/.gitignore b/.gitignore index 597aa90..548520d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ Cargo.lock *.gresource _build vendor/ +.flatpak-builder/ diff --git a/org.gnome.Hammond.json b/org.gnome.Hammond.json new file mode 100644 index 0000000..695db01 --- /dev/null +++ b/org.gnome.Hammond.json @@ -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" + } + ] + } + ] +} +