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": [
|
|
|
|
{
|
2019-06-07 08:17:21 +02:00
|
|
|
"name": "pygobject",
|
2018-01-24 15:33:19 +01:00
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
2019-06-07 08:17:21 +02:00
|
|
|
"python3 setup.py install --prefix=/app"
|
2018-01-24 15:33:19 +01:00
|
|
|
],
|
2019-06-07 08:17:21 +02:00
|
|
|
"build-options": {
|
|
|
|
"env": {
|
|
|
|
"PYGOBJECT_WITHOUT_PYCAIRO" : "1"
|
2018-01-24 15:33:19 +01:00
|
|
|
}
|
2019-06-07 08:17:21 +02:00
|
|
|
},
|
2018-01-24 15:33:19 +01:00
|
|
|
"sources": [
|
|
|
|
{
|
2018-03-06 10:31:46 +01:00
|
|
|
"type": "archive",
|
2019-06-07 08:17:21 +02:00
|
|
|
"url": "https://ftp.gnome.org/pub/GNOME/sources/pygobject/3.32/pygobject-3.32.1.tar.xz",
|
|
|
|
"sha256": "32c99def94b8dea5ce9e4bc99576ef87591ea779b4db77cfdca7af81b76d04d8"
|
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",
|
2019-06-07 07:39:57 +02:00
|
|
|
"url": "https://github.com/pyparsing/pyparsing/releases/download/pyparsing_2.4.0/pyparsing-2.4.0.tar.gz",
|
|
|
|
"sha512": "71877dc006cce5c1b1d45e7cc89cd60e03cb80353387fb0c6498cfc0d69af465dc574d1bceb87248033e7a82694aa940e9fce1ca80b2ef538a8df51f697ef530"
|
2018-02-02 10:29:00 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|