mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-28 23:41:14 +12:00
0d687b66f7
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
81 lines
2.6 KiB
JSON
81 lines
2.6 KiB
JSON
{
|
|
"app-id": "ch.theologeek.Manuskript",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "5.15-21.08",
|
|
"sdk": "org.kde.Sdk",
|
|
"command": "manuskript",
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--socket=x11",
|
|
"--filesystem=home",
|
|
"--env=QT_QPA_PLATFORM=xcb",
|
|
"--env=TMPDIR=/var/tmp"
|
|
],
|
|
"modules": [
|
|
"python3-modules.json",
|
|
{
|
|
"name": "python3-modules"
|
|
},
|
|
{
|
|
"name" : "pyqt5",
|
|
"config-opts" : [
|
|
"--disable-static",
|
|
"--enable-x11"
|
|
],
|
|
"sources" : [
|
|
{
|
|
"type" : "archive",
|
|
"url": "https://files.pythonhosted.org/packages/4d/81/b9a66a28fb9a7bbeb60e266f06ebc4703e7e42b99e3609bf1b58ddd232b9/PyQt5-5.14.2.tar.gz",
|
|
"sha256": "bd230c6fd699eabf1ceb51e13a8b79b74c00a80272c622427b80141a22269eb0"
|
|
},
|
|
{
|
|
"type": "script",
|
|
"commands": [
|
|
"python3 configure.py --assume-shared --confirm-license --no-designer-plugin --no-qml-plugin --sysroot=/app --qsci-api --qsci-api-destdir=/app/qsci --sipdir=/app/share/sip --sip=/app/bin/sip --sip-incdir=/app/include QMAKE_CFLAGS_RELEASE='-I/usr/include/python3.9/' QMAKE_CXXFLAGS_RELEASE='-I/usr/include/python3.9/'"
|
|
],
|
|
"dest-filename": "configure"
|
|
}
|
|
],
|
|
"modules" : [
|
|
{
|
|
"name" : "sip",
|
|
"sources" : [
|
|
{
|
|
"type" : "archive",
|
|
"url" : "https://distfiles.macports.org/py-sip/sip-4.19.22.tar.gz",
|
|
"sha256" : "e1b768824ec1a2ee38dd536b6b6b3d06de27b00a2f5f55470d1b512306e3be45"
|
|
},
|
|
{
|
|
"type": "script",
|
|
"commands": [
|
|
"python3 configure.py --sip-module PyQt5.sip -b ${FLATPAK_DEST}/bin -d ${FLATPAK_DEST}/lib/python3.9/site-packages -e ${FLATPAK_DEST}/include -v ${FLATPAK_DEST}/share/sip --stubsdir=${FLATPAK_DEST}/lib/python3.9/site-packages"
|
|
],
|
|
"dest-filename": "configure"
|
|
}
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "manuskript",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"mkdir -p /app/share/manuskript/",
|
|
"cp -R . /app/share/manuskript/",
|
|
"mkdir -p /app/bin/",
|
|
"ln -s ../share/manuskript/bin/manuskript /app/bin/manuskript"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/olivierkes/manuskript/archive/0.12.0.zip",
|
|
"sha256": "676da858d0a3bb658234191b2b36c56dbb07f03371469990de34f7701842c441"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|