2020-02-14 11:33:12 +01:00
|
|
|
{
|
|
|
|
"id": "org.qelectrotech.QElectroTech",
|
2025-05-06 11:11:11 +02:00
|
|
|
"base-version": "5.15-23.08",
|
2020-02-14 11:33:12 +01:00
|
|
|
"runtime": "org.kde.Platform",
|
2025-05-06 11:11:11 +02:00
|
|
|
"runtime-version": "5.15-23.08",
|
2020-02-14 11:33:12 +01:00
|
|
|
"sdk": "org.kde.Sdk",
|
|
|
|
"command": "qelectrotech",
|
2024-12-15 09:32:16 +01:00
|
|
|
"rename-desktop-file": "org.qelectrotech.qelectrotech.desktop",
|
2020-02-17 15:14:08 +01:00
|
|
|
"rename-appdata-file": "qelectrotech.appdata.xml",
|
2020-02-14 11:33:12 +01:00
|
|
|
"rename-icon": "qelectrotech",
|
|
|
|
"copy-icon": true,
|
|
|
|
"finish-args": [
|
|
|
|
"--socket=wayland",
|
2021-03-05 18:17:25 +01:00
|
|
|
"--socket=fallback-x11",
|
2020-02-14 11:33:12 +01:00
|
|
|
"--device=dri",
|
|
|
|
"--share=ipc",
|
2022-01-05 11:16:22 +01:00
|
|
|
"--share=network",
|
2022-01-05 07:24:56 +01:00
|
|
|
"--socket=cups",
|
2020-02-14 11:33:12 +01:00
|
|
|
"--filesystem=host"
|
|
|
|
],
|
|
|
|
"modules": [
|
2021-04-09 16:01:14 +02:00
|
|
|
{
|
|
|
|
"name": "tkinter",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"pip3 install --prefix=${FLATPAK_DEST} ."
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/iwalton3/tkinter-standalone",
|
2025-02-02 15:16:53 +01:00
|
|
|
"commit": "23c793bad2429f4a81eee9f50e2d07ae845b7785"
|
2021-04-09 16:01:14 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "tcl",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tcl8.6.11-src.tar.gz",
|
|
|
|
"sha256": "8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"subdir": "unix",
|
|
|
|
"post-install": [
|
2021-04-12 06:36:16 +02:00
|
|
|
"chmod +w ${FLATPAK_DEST}/lib/libtcl8.6.so"
|
2021-04-09 16:01:14 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tk",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
|
|
|
"url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tk8.6.11-src.tar.gz",
|
|
|
|
"sha256": "5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"subdir": "unix",
|
|
|
|
"post-install": [
|
2021-04-12 06:36:16 +02:00
|
|
|
"chmod +w ${FLATPAK_DEST}/lib/libtk8.6.so"
|
2021-04-09 16:01:14 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-02-14 11:33:12 +01:00
|
|
|
{
|
|
|
|
"name": "qelectrotech",
|
|
|
|
"buildsystem": "qmake",
|
|
|
|
"post-install": [
|
2021-04-12 06:36:16 +02:00
|
|
|
"mv ${FLATPAK_DEST}/share/mime/packages/qelectrotech.xml ${FLATPAK_DEST}/share/mime/packages/org.qelectrotech.QElectroTech.xml"
|
2020-02-14 11:33:12 +01:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
2021-04-09 16:15:26 +02:00
|
|
|
"type": "dir",
|
|
|
|
"path": "../.."
|
2021-04-09 16:01:14 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "patch",
|
2021-04-09 16:22:41 +02:00
|
|
|
"path": "patches/0001-build-Fix-the-installation-paths.patch"
|
2020-02-14 11:33:12 +01:00
|
|
|
}
|
|
|
|
]
|
2021-04-09 16:01:14 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-20 16:10:01 +02:00
|
|
|
"name": "python3-PySimpleGUI",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} PySimpleGUI"
|
|
|
|
],
|
2021-04-09 16:01:14 +02:00
|
|
|
"sources": [
|
|
|
|
{
|
2021-05-20 16:10:01 +02:00
|
|
|
"type": "file",
|
|
|
|
"url": "https://files.pythonhosted.org/packages/d0/c3/c1ce811a1e48d5e0f2df0b393ff189fae4842ec840bb6e4db79c8da55e74/PySimpleGUI-4.41.2.tar.gz",
|
|
|
|
"sha256": "cf42d9f61f28c8e790a9c031ce900a9cee5fd2f950da2f055ed36bbc487dcf11"
|
2021-04-09 16:01:14 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2021-11-28 13:56:31 +01:00
|
|
|
"url": "https://files.pythonhosted.org/packages/70/aa/ebde0dddfbde799a4e8cf0564e52f95089105a7f562739ee1d16ff5a495a/qet_tb_generator-1.3.1.tar.gz",
|
|
|
|
"sha256": "52c9836387d54bc30ea29272068ec156fc65c3905e0cb863afd9418abc3c0907"
|
2021-04-09 16:01:14 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2020-02-14 11:33:12 +01:00
|
|
|
]
|
|
|
|
}
|