1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-18 10:26:04 +01:00
upscayl/flatpak/org.upscayl.Upscayl.json

63 lines
2.4 KiB
JSON
Raw Normal View History

{
2023-06-04 10:39:50 +02:00
"id": "org.upscayl.Upscayl",
"sdk": "org.freedesktop.Sdk",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"base": "org.electronjs.Electron2.BaseApp",
"base-version": "22.08",
"command": "upscayl-run",
"separate-locales": false,
"finish-args": [
"--device=dri",
"--filesystem=home",
"--share=network",
"--socket=x11",
"--socket=pulseaudio"
],
"modules": [
{
"name": "zypak",
"sources": [
{
2023-06-04 10:39:50 +02:00
"type": "git",
"url": "https://github.com/refi64/zypak",
"tag": "v2022.04"
}
]
},
{
"name": "upscayl",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"only-arches": ["x86_64"],
2023-10-28 10:30:53 +02:00
"url": "https://github.com/upscayl/upscayl/releases/download/v2.9.1/upscayl-2.9.1-linux.zip",
"sha256": "238f1d9bebca8553b94572c6f9cf78b7838429f560842a90ad1f99ecda306c02"
2023-06-04 10:39:50 +02:00
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/upscayl/upscayl/main/flatpak/org.upscayl.Upscayl.metainfo.xml",
2023-10-28 10:30:53 +02:00
"sha256": "e9fe8dc362f7b70f31c752c9c025b2f03447e17eaa93aa725a3a56b3ffc7893c"
},
{
2023-06-04 10:39:50 +02:00
"type": "script",
"dest-filename": "upscayl-run",
"commands": ["zypak-wrapper /app/upscayl/upscayl"]
}
2023-06-04 10:39:50 +02:00
],
"build-commands": [
"install -d /app/upscayl",
2023-10-28 10:30:53 +02:00
"unzip upscayl-2.9.1-linux -d /app/upscayl",
2023-06-04 10:39:50 +02:00
"install upscayl-run /app/bin/",
"install -Dm644 /app/upscayl/icon_512x512.png /app/share/icons/hicolor/512x512/apps/org.upscayl.Upscayl.png",
"install -Dm644 /app/upscayl/icon_128x128.png /app/share/icons/hicolor/128x128/apps/org.upscayl.Upscayl.png",
"install -Dp -m644 org.upscayl.Upscayl.metainfo.xml /app/share/metainfo/org.upscayl.Upscayl.metainfo.xml",
"touch /app/upscayl/org.upscayl.Upscayl.desktop",
"desktop-file-edit --set-key=Exec --set-value='upscayl-run %U' --set-key=Icon --set-value='org.upscayl.Upscayl' --set-key=Comment --set-value='Upscale Images' --set-key=Name --set-value='Upscayl' --set-key=StartupNotify --set-value='false' --set-key=Categories --set-value='ImageProcessing;RasterGraphics;Graphics;' --set-key=Type --set-value='Application' /app/upscayl/org.upscayl.Upscayl.desktop",
"install -Dm644 /app/upscayl/org.upscayl.Upscayl.desktop /app/share/applications/org.upscayl.Upscayl.desktop"
]
}
]
2023-05-09 16:02:13 +02:00
}