{ "app-id": "today.sam.reddit-is-gtk", "runtime": "org.gnome.Platform", "runtime-version": "3.28", "sdk": "org.gnome.Sdk", "command": "reddit-is-gtk", "finish-args": [ /* Display server */ "--share=ipc", "--socket=x11", "--socket=wayland", /* DRI for WK2 rendering */ "--device=dri", /* Access to Reddit */ "--share=network", /* DConf for some configuration storage */ "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", /* Audio for WK2 */ "--socket=pulseaudio" ], "cleanup": [ "/include", "/lib/pkgconfig", "/share/pkgconfig", "/share/aclocal", "/man", "/share/man", "/share/gtk-doc", "/share/vala", "*.la", "*.a" ], "rename-desktop-file": "reddit-is-gtk.desktop", "modules": [ { "name": "pipdeps", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} markdown arrow" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/3c/52/7bae9e99a7a4be6af4a713fe9b692777e6468d28991c54c273dfb6ec9fb2/Markdown-3.0.1.tar.gz", "sha256": "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/e0/86/4eb5228a43042e9a80fe8c84093a8a36f5db34a3767ebd5e1e7729864e7b/arrow-0.12.1.tar.gz", "sha256": "a558d3b7b6ce7ffc74206a86c147052de23d3d4ef0e17c210dd478c53575c4cd" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/0e/01/68747933e8d12263d41ce08119620d9a7e5eb72c876a3442257f74490da0/python-dateutil-2.7.5.tar.gz", "sha256": "88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz", "sha256": "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" } ], "modules": [ { "name": "setuptools_scm", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} setuptools_scm" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/09/b4/d148a70543b42ff3d81d57381f33104f32b91f970ad7873f463e75bf7453/setuptools_scm-3.1.0.tar.gz", "sha256": "1191f2a136b5e86f7ca8ab00a97ef7aef997131f1f6d4971be69a1ef387d8b40" } ] } ] }, { "name": "sassc", "config-opts": ["--with-libsass=/usr/share/runtime/share/themes/Yaru-dark/gtk-3.0"], "cleanup": ["*"], "sources": [ { "type": "archive", "url": "https://github.com/sass/sassc/archive/3.5.0.tar.gz", "sha256": "26f54e31924b83dd706bc77df5f8f5553a84d51365f0e3c566df8de027918042" }, { "type": "script", "dest-filename": "autogen.sh", "commands": ["autoreconf -si"] } ], "modules": [ { "name": "libsass", "cleanup": ["*"], "sources": [ { "type": "archive", "url": "https://github.com/sass/libsass/archive/3.5.4.tar.gz", "sha256": "5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770" }, { "type": "script", "dest-filename": "autogen.sh", "commands": ["autoreconf -si"] } ] } ] }, { "name": "reddit-is-gtk", "buildsystem": "autotools", "sources": [ { "type": "git", "url": "https://github.com/samdroid-apps/something-for-reddit" } ] } ] }