mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 21:40:52 +01:00
110 lines
3.3 KiB
JSON
110 lines
3.3 KiB
JSON
{
|
|
"id": "org.qelectrotech.QElectroTech",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "5.15",
|
|
"sdk": "org.kde.Sdk",
|
|
"command": "qelectrotech",
|
|
"rename-desktop-file": "qelectrotech.desktop",
|
|
"rename-appdata-file": "qelectrotech.appdata.xml",
|
|
"rename-icon": "qelectrotech",
|
|
"copy-icon": true,
|
|
"finish-args": [
|
|
"--socket=wayland",
|
|
"--socket=fallback-x11",
|
|
"--device=dri",
|
|
"--share=ipc",
|
|
"--filesystem=host"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "tkinter",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"pip3 install --prefix=${FLATPAK_DEST} ."
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/iwalton3/tkinter-standalone",
|
|
"commit": "2301112d142ebaf7532b25600c77d1a2edc9ef04"
|
|
}
|
|
],
|
|
"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": [
|
|
"chmod +w ${FLATPAK_DEST}/lib/libtcl8.6.so"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"chmod +w ${FLATPAK_DEST}/lib/libtk8.6.so"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "qelectrotech",
|
|
"buildsystem": "qmake",
|
|
"post-install": [
|
|
"mv ${FLATPAK_DEST}/share/mime/packages/qelectrotech.xml ${FLATPAK_DEST}/share/mime/packages/org.qelectrotech.QElectroTech.xml"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../.."
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "patches/0001-build-Fix-the-installation-paths.patch"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python3-PySimpleGUI",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} PySimpleGUI"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/d0/c3/c1ce811a1e48d5e0f2df0b393ff189fae4842ec840bb6e4db79c8da55e74/PySimpleGUI-4.41.2.tar.gz",
|
|
"sha256": "cf42d9f61f28c8e790a9c031ce900a9cee5fd2f950da2f055ed36bbc487dcf11"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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/45/be/d5940d365ebf256e490bc6c10837244e0b8dda08a7d790691767263c318d/qet_tb_generator-1.2.5.tar.gz",
|
|
"sha256": "37c3298602244f3152fbb7601caba9b4862bac782991fbb472eab91afb70d09c"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|