2018-01-24 15:33:19 +01:00
|
|
|
{
|
|
|
|
"id": "org.freedesktop.tuhi",
|
|
|
|
"command": "/app/bin/tuhi",
|
|
|
|
"runtime": "org.freedesktop.Platform",
|
|
|
|
"sdk": "org.freedesktop.Sdk",
|
2019-06-07 06:29:52 +02:00
|
|
|
"runtime-version": "18.08",
|
2018-01-24 15:33:19 +01:00
|
|
|
"cleanup": [ "/cache",
|
|
|
|
"/include",
|
|
|
|
"/lib/pkgconfig",
|
|
|
|
"/man",
|
|
|
|
"/share/aclocal",
|
|
|
|
"/share/devhelp",
|
|
|
|
"/share/gir-1.0",
|
|
|
|
"/share/gtk-doc",
|
|
|
|
"/share/man",
|
|
|
|
"/share/pkgconfig",
|
|
|
|
"/share/vala",
|
|
|
|
"/lib/systemd",
|
|
|
|
"*.la", "*.a" ],
|
|
|
|
"build-options" : {
|
|
|
|
"cflags": "-O2 -g",
|
|
|
|
"cxxflags": "-O2 -g"
|
|
|
|
},
|
|
|
|
"finish-args": [
|
|
|
|
"--system-talk-name=org.bluez",
|
|
|
|
"--own-name=org.freedesktop.tuhi1"
|
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "pycairo",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
2019-06-07 06:29:52 +02:00
|
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
|
2018-01-24 15:33:19 +01:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://github.com/pygobject/pycairo/releases/download/v1.14.1/pycairo-1.14.1.tar.gz",
|
|
|
|
"sha256": "0d13a0a6eeaf0c357db04392943eb9b25767445608d31dde1307f003f68c5754"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "pygobject",
|
|
|
|
"config-opts": ["--enable-compile-warnings=minimum"],
|
|
|
|
"sources": [
|
|
|
|
{
|
2018-03-06 10:31:46 +01:00
|
|
|
"type": "archive",
|
|
|
|
"url": "http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.27/pygobject-3.27.5.tar.xz",
|
|
|
|
"sha256": "3e57f42a48f7e762a791ccec2514894945829dc1e70caeea0252505cbddbeda4"
|
2018-01-24 15:33:19 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "pyxdg",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://anongit.freedesktop.org/xdg/pyxdg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"build-commands": [
|
2019-06-07 06:29:52 +02:00
|
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
|
2018-02-02 10:29:00 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "python-pyparsing",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "http://downloads.sourceforge.net/pyparsing/pyparsing-2.1.10.tar.gz",
|
|
|
|
"sha512": "21af73d6f479d52746f269c8fbaf90c1107a8aec756d30af8c7c4e6a2ff0ea9659cc07816b7ea19286bc12d43497f5e8e63351453bf18daf6a1cb380a195532e"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"build-commands": [
|
2019-06-07 06:29:52 +02:00
|
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
|
2018-02-02 10:29:00 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "python-svgwrite",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/mozman/svgwrite.git"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"build-commands": [
|
2019-06-07 06:29:52 +02:00
|
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
|
2018-01-24 15:33:19 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tuhi",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"path": "."
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"build-commands": [
|
2019-06-07 06:29:52 +02:00
|
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
|
2018-02-02 10:29:00 +01:00
|
|
|
],
|
|
|
|
"post-install": [
|
2019-06-07 06:29:52 +02:00
|
|
|
"cp tools/kete.py /app/lib/python3.7/site-packages/kete.py",
|
2018-02-02 10:29:00 +01:00
|
|
|
"cp tools/tuhi-kete-sandboxed.py /app/bin/tuhi-kete",
|
|
|
|
"chmod +x /app/bin/tuhi-kete"
|
2018-01-24 15:33:19 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|