Skip to content

Instantly share code, notes, and snippets.

@diegogangl
Last active May 5, 2020 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegogangl/973b0ffade9976993580c1c4401ba858 to your computer and use it in GitHub Desktop.
Save diegogangl/973b0ffade9976993580c1c4401ba858 to your computer and use it in GitHub Desktop.
Sort of working flatpak manifesto for gtg master
{
"app-id": "org.gnome.GTG",
"runtime": "org.gnome.Sdk",
"runtime-version": "3.36",
"sdk": "org.gnome.Sdk",
"command": "gtg",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--share=network",
"--system-talk-name=org.freedesktop.login1",
"--own-name=org.gnome.GTG*"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"/man",
"/share/man",
"/share/gtk-doc",
"/share/vala",
"*.la",
"*.a",
"*.pyc",
"*.pyo"
],
"modules": [{
"name": "python-dbus",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} dbus-python"
],
"sources": [{
"type": "file",
"url": "https://files.pythonhosted.org/packages/3f/e7/4edb582d1ffd5ac3c84188deea32e960b5c8c0fe1da56ce70224f85ce542/dbus-python-1.2.8.tar.gz",
"sha256": "abf12bbb765e300bf8e2a1b2f32f85949eab06998dbda127952c31cb63957b6f"
}]
},
{
"name": "python3-pyxdg",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyxdg"
],
"sources": [{
"type": "file",
"url": "https://files.pythonhosted.org/packages/47/6e/311d5f22e2b76381719b5d0c6e9dc39cd33999adae67db71d7279a6d70f4/pyxdg-0.26.tar.gz",
"sha256": "fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06"
}]
},
{
"name": "liblarch",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py install --prefix /app"
],
"sources": [{
"type": "git",
"url": "https://github.com/getting-things-gnome/liblarch"
}]
},
{
"name": "gtg",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py install --prefix /app"
],
"sources": [{
"type": "git",
"url": "https://github.com/getting-things-gnome/gtg"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment