2022-09-28 19:40:11 +02:00
|
|
|
{
|
2022-09-30 18:20:46 +02:00
|
|
|
"app-id": "org.upscayl.app",
|
2022-09-28 19:40:11 +02:00
|
|
|
"runtime": "org.freedesktop.Platform",
|
|
|
|
"runtime-version": "22.08",
|
|
|
|
"sdk": "org.freedesktop.Sdk",
|
|
|
|
"base": "org.electronjs.Electron2.BaseApp",
|
|
|
|
"base-version": "22.08",
|
|
|
|
"command": "upscayl-wrapper",
|
|
|
|
"separate-locales": false,
|
|
|
|
"finish-args": [
|
|
|
|
"--share=ipc",
|
|
|
|
"--socket=x11",
|
|
|
|
"--device=dri",
|
|
|
|
"--filesystem=home"
|
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "zypak",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/refi64/zypak",
|
|
|
|
"tag": "v2022.04"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "upscayl",
|
|
|
|
"buildsystem": "simple",
|
2022-09-30 18:20:46 +02:00
|
|
|
"cleanup": ["upscayl-1.5.5.zip"],
|
2022-09-28 19:40:11 +02:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "file",
|
2022-09-30 18:20:46 +02:00
|
|
|
"only-arches": ["x86_64"],
|
2022-09-28 19:40:11 +02:00
|
|
|
"url": "https://github.com/JanDeDinoMan/upscayl/releases/download/v1.5.5/upscayl-1.5.5.zip",
|
|
|
|
"sha256": "0e57b3cbb96299fac6beea185ffdf2f105d3258ac6081bd1f3c408912541dacc"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
2022-09-30 18:20:46 +02:00
|
|
|
"path": "org.upscayl.app.metainfo.xml"
|
2022-09-28 19:40:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "../main/build/icon.png"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "script",
|
|
|
|
"dest-filename": "upscayl-wrapper",
|
2022-09-30 18:20:46 +02:00
|
|
|
"commands": ["zypak-wrapper /app/upscayl/upscayl"]
|
2022-09-28 19:40:11 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"build-commands": [
|
|
|
|
"install -d /app/upscayl",
|
|
|
|
"unzip upscayl-1.5.5 -d /app/upscayl",
|
|
|
|
"install upscayl-wrapper /app/bin/",
|
|
|
|
"install -d /app/share/icons/hicolor/512x512/apps/",
|
2022-09-30 18:20:46 +02:00
|
|
|
"install icon.png /app/share/icons/hicolor/512x512/apps/org.upscayl.app.png",
|
2022-09-28 19:40:11 +02:00
|
|
|
"install -d /app/share/applications",
|
2022-09-30 18:20:46 +02:00
|
|
|
"touch org.upscayl.app.desktop",
|
|
|
|
"install -Dp -m644 org.upscayl.app.metainfo.xml /app/share/metainfo/org.upscayl.app.metainfo.xml",
|
|
|
|
"install -m644 org.upscayl.app.desktop /app/share/applications/org.upscayl.app.desktop",
|
|
|
|
"desktop-file-edit --set-key=Exec --set-value='upscayl-wrapper %U' --set-key=Icon --set-value='org.upscayl.app' --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/share/applications/org.upscayl.app.desktop"
|
2022-09-28 19:40:11 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2022-09-30 18:20:46 +02:00
|
|
|
}
|