From 9fbdd1b8fd5e03ddc14226c3d452461ddcc3b3da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 16 Mar 2017 04:37:56 +0100 Subject: [PATCH] flatpak: Add manifest There are currently too few games on http://flatpak.org/apps.html, let's change that! https://bugzilla.gnome.org/show_bug.cgi?id=780126 --- org.gnome.chess.json | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 org.gnome.chess.json diff --git a/org.gnome.chess.json b/org.gnome.chess.json new file mode 100644 index 0000000..b37776e --- /dev/null +++ b/org.gnome.chess.json @@ -0,0 +1,46 @@ +{ + "app-id": "org.gnome.chess", + "runtime": "org.gnome.Platform", + "runtime-version": "master", + "sdk": "org.gnome.Sdk", + "command": "gnome-chess", + "tags": ["nightly"], + "copy-icon": true, + "rename-icon": "gnome-chess", + "rename-desktop-file": "gnome-chess.desktop", + "desktop-file-name-prefix": "(Nightly) ", + "finish-args": [ + /* X11 + XShm access */ + "--share=ipc", "--socket=x11", + /* Wayland access */ + "--socket=wayland", + /* dconf */ + "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", + "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf" + ], + "build-options": { + "cflags": "-O2 -g" + }, + "cleanup": ["/share/gnuchess", "/share/info", "/share/man"], + "modules": [ + { + "name": "gnuchess", + "sources": [ + { + "type": "archive", + "url": "https://ftpmirror.gnu.org/chess/gnuchess-6.2.3.tar.gz", + "sha256": "78999176b2f2b5e0325bcc69749b7b2cefb7b1ef4f02d101fa77ae24a1b31b82" + } + ] + }, + { + "name": "gnome-chess", + "sources": [ + { + "type": "git", + "url": "https://git.gnome.org/browse/gnome-chess" + } + ] + } + ] +}