2022-09-28 19:40:11 +02:00
|
|
|
{
|
2023-05-09 15:08:03 +02:00
|
|
|
"id": "org.upscayl.Upscayl",
|
|
|
|
"sdk": "org.freedesktop.Sdk",
|
2022-09-28 19:40:11 +02:00
|
|
|
"runtime": "org.freedesktop.Platform",
|
|
|
|
"runtime-version": "22.08",
|
|
|
|
"base": "org.electronjs.Electron2.BaseApp",
|
|
|
|
"base-version": "22.08",
|
2023-05-09 15:08:03 +02:00
|
|
|
"command": "upscayl-run",
|
2022-09-28 19:40:11 +02:00
|
|
|
"separate-locales": false,
|
|
|
|
"finish-args": [
|
|
|
|
"--device=dri",
|
2023-05-09 15:08:03 +02:00
|
|
|
"--filesystem=home",
|
|
|
|
"--share=network",
|
|
|
|
"--socket=x11",
|
|
|
|
"--socket=pulseaudio"
|
2022-09-28 19:40:11 +02:00
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "zypak",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/refi64/zypak",
|
|
|
|
"tag": "v2022.04"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "upscayl",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "file",
|
2023-05-09 15:08:03 +02:00
|
|
|
"only-arches": [
|
|
|
|
"x86_64"
|
|
|
|
],
|
|
|
|
"url": "https://github.com/upscayl/upscayl/releases/download/v2.5.1/upscayl-2.5.1-linux.zip",
|
|
|
|
"sha256": "88753506776be443633771620a332c5cca7fa07a6e4635aae3acff2cebc2b168"
|
2022-09-28 19:40:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
2023-05-09 15:08:03 +02:00
|
|
|
"path": "org.upscayl.Upscayl.metainfo.xml"
|
2022-09-28 19:40:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "script",
|
2023-05-09 15:08:03 +02:00
|
|
|
"dest-filename": "upscayl-run",
|
|
|
|
"commands": [
|
|
|
|
"zypak-wrapper /app/upscayl/upscayl"
|
|
|
|
]
|
2022-09-28 19:40:11 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"build-commands": [
|
|
|
|
"install -d /app/upscayl",
|
2023-05-09 15:08:03 +02:00
|
|
|
"unzip upscayl-2.5.0-linux -d /app/upscayl",
|
|
|
|
"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"
|
2022-09-28 19:40:11 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2023-05-09 15:08:03 +02:00
|
|
|
}
|