91 lines
3 KiB
JSON
91 lines
3 KiB
JSON
{
|
|
"app-id": "codes.swee.SweeCryptGTK",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "47",
|
|
"sdk": "org.gnome.Sdk",
|
|
"command": "sweecrypt-gtk",
|
|
"finish-args": [
|
|
"--socket=x11",
|
|
"--socket=wayland",
|
|
"--filesystem=xdg-config"
|
|
],
|
|
"rename-icon": "codes.swee.SweeCryptGTK",
|
|
"modules": [
|
|
{
|
|
"name": "python3-modules",
|
|
"buildsystem": "simple",
|
|
"build-commands": [],
|
|
"modules": [
|
|
{
|
|
"name": "python3-sweecrypt",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"sweecrypt\" --no-build-isolation"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/de/f0/7880030d201e7997573415bb26ddcb91b41bda443fa9feb964aa9a967fa5/sweecrypt-1.1.1-py3-none-any.whl",
|
|
"sha256": "09bcda1266b621b46b88b0804985330dc006818da6502c631578ff180e86640b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "python3-pygobject",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pygobject\" --no-build-isolation"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/07/4a/42b26390181a7517718600fa7d98b951da20be982a50cd4afb3d46c2e603/pycairo-1.27.0.tar.gz",
|
|
"sha256": "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/2b/58/d34e67a79631177e3c08e7d02b5165147f590171f2cae6769502af5f7f7e/pygobject-3.50.0.tar.gz",
|
|
"sha256": "4500ad3dbf331773d8dedf7212544c999a76fc96b63a91b3dcac1e5925a1d103"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}, {
|
|
"name": "sweecrypt-gtk",
|
|
"buildsystem": "simple",
|
|
"build-commands": ["chmod 1777 sweecrypt-gtk-flatpak.py",
|
|
"install -D sweecrypt-gtk-flatpak.py /app/bin/sweecrypt-gtk",
|
|
"install -D flatpak.ui /app/opt/sweecrypt-gtk.ui",
|
|
"install -D sweecrypt.png /app/share/icons/hicolor/128x128/apps/codes.swee.SweeCryptGTK.png",
|
|
"install -D sweecrypt.svg /app/share/icons/hicolor/scalable/apps/codes.swee.SweeCryptGTK.svg",
|
|
"install -D flatpak.desktop /app/share/applications/codes.swee.SweeCryptGTK.desktop",
|
|
"install -D flatpak.xml /app/share/metainfo/codes.swee.SweeCryptGTK.metainfo.xml"],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"path": "flatpak.ui"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "sweecrypt-gtk-flatpak.py"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "flatpak.desktop"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "dpkg/usr/share/icons/hicolor/128x128/apps/sweecrypt.png"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "dpkg/usr/share/icons/hicolor/scalable/apps/sweecrypt.svg"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "flatpak.xml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|