diff --git a/build-aux/flatpak/org.qelectrotech.QElectroTech.json b/build-aux/flatpak/org.qelectrotech.QElectroTech.json index 55b6040e1..8977769f7 100644 --- a/build-aux/flatpak/org.qelectrotech.QElectroTech.json +++ b/build-aux/flatpak/org.qelectrotech.QElectroTech.json @@ -32,6 +32,35 @@ "path": "patches/0001-build-Fix-the-installation-paths.patch" } ] - } + }, + { + "name": "python3.6.0", + "sources": [ + { + "type": "archive", + "url": "https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz", + "sha256": "b0c5f904f685e32d9232f7bdcbece9819a892929063b6e385414ad2dd6a23622" + } + ], + "config-opts": ["--enable-shared"], + "post-install": [ + "chmod +w /app/lib/libpython3.6m.so.1.0", + "chmod +w /app/lib/libpython3.so" + ] +}, + { + "name": "python3-qet-tb-generator", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} qet-tb-generator" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/8c/b4/20f720d87a96a3a891f2fe4811ddb0e6ee479cd7f029a74c07a33b80032d/qet_tb_generator-1.1.5.tar.gz", + "sha256": "8bb6c7d87b83964a9578a90dbf671ca74f2791f1008f512d827667167f52ad52" + } + ] +} ] }