1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-20 04:31:21 +01:00

Fixed flatpak metadata

This commit is contained in:
Nayam Amarshe 2022-09-30 21:50:46 +05:30
parent 83284bed22
commit 6a27ff37a4
2 changed files with 18 additions and 20 deletions

View File

@ -1,5 +1,5 @@
{ {
"app-id": "com.github.upscayl.upscayl", "app-id": "org.upscayl.app",
"runtime": "org.freedesktop.Platform", "runtime": "org.freedesktop.Platform",
"runtime-version": "22.08", "runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk", "sdk": "org.freedesktop.Sdk",
@ -27,21 +27,17 @@
{ {
"name": "upscayl", "name": "upscayl",
"buildsystem": "simple", "buildsystem": "simple",
"cleanup": [ "cleanup": ["upscayl-1.5.5.zip"],
"upscayl-1.5.5.zip"
],
"sources": [ "sources": [
{ {
"type": "file", "type": "file",
"only-arches": [ "only-arches": ["x86_64"],
"x86_64"
],
"url": "https://github.com/JanDeDinoMan/upscayl/releases/download/v1.5.5/upscayl-1.5.5.zip", "url": "https://github.com/JanDeDinoMan/upscayl/releases/download/v1.5.5/upscayl-1.5.5.zip",
"sha256": "0e57b3cbb96299fac6beea185ffdf2f105d3258ac6081bd1f3c408912541dacc" "sha256": "0e57b3cbb96299fac6beea185ffdf2f105d3258ac6081bd1f3c408912541dacc"
}, },
{ {
"type": "file", "type": "file",
"path": "com.github.upscayl.upscayl.metainfo.xml" "path": "org.upscayl.app.metainfo.xml"
}, },
{ {
"type": "file", "type": "file",
@ -50,9 +46,7 @@
{ {
"type": "script", "type": "script",
"dest-filename": "upscayl-wrapper", "dest-filename": "upscayl-wrapper",
"commands": [ "commands": ["zypak-wrapper /app/upscayl/upscayl"]
"zypak-wrapper /app/upscayl/upscayl"
]
} }
], ],
"build-commands": [ "build-commands": [
@ -60,13 +54,13 @@
"unzip upscayl-1.5.5 -d /app/upscayl", "unzip upscayl-1.5.5 -d /app/upscayl",
"install upscayl-wrapper /app/bin/", "install upscayl-wrapper /app/bin/",
"install -d /app/share/icons/hicolor/512x512/apps/", "install -d /app/share/icons/hicolor/512x512/apps/",
"install icon.png /app/share/icons/hicolor/512x512/apps/com.github.upscayl.upscayl.png", "install icon.png /app/share/icons/hicolor/512x512/apps/org.upscayl.app.png",
"install -d /app/share/applications", "install -d /app/share/applications",
"touch com.github.upscayl.upscayl.desktop", "touch org.upscayl.app.desktop",
"install -Dp -m644 com.github.upscayl.upscayl.metainfo.xml /app/share/metainfo/com.github.upscayl.upscayl.metainfo.xml", "install -Dp -m644 org.upscayl.app.metainfo.xml /app/share/metainfo/org.upscayl.app.metainfo.xml",
"install -m644 com.github.upscayl.upscayl.desktop /app/share/applications/com.github.upscayl.upscayl.desktop", "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='com.github.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/share/applications/com.github.upscayl.upscayl.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"
] ]
} }
] ]
} }

View File

@ -1,10 +1,10 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<component type="desktop"> <component type="desktop">
<id>com.github.upscayl.upscayl</id> <id>org.upscayl.app</id>
<name>Upscayl</name> <name>Upscayl</name>
<summary>Free and Open Source AI Image Upscaler</summary> <summary>Free and Open Source AI Image Upscaler</summary>
<developer_name>Nayam Amarshe</developer_name> <developer_name>Nayam Amarshe, TGS963</developer_name>
<launchable type="desktop-id">com.github.upscayl.upscayl.desktop</launchable> <launchable type="desktop-id">org.upscayl.app.desktop</launchable>
<metadata_license>FSFAP</metadata_license> <metadata_license>FSFAP</metadata_license>
<project_license>AGPL-3.0</project_license> <project_license>AGPL-3.0</project_license>
<description> <description>
@ -20,6 +20,10 @@
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<keywords> <keywords>
<keyword>upscale</keyword> <keyword>upscale</keyword>
<keyword>topaz</keyword>
<keyword>gigapixel</keyword>
<keyword>waifu2x</keyword>
<keyword>ai</keyword>
</keywords> </keywords>
<translation type="gettext">Upscayl</translation> <translation type="gettext">Upscayl</translation>
</component> </component>