1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-23 23:21:05 +01:00

updated flatpak metainfo

This commit is contained in:
TGS963 2023-05-09 18:38:03 +05:30
parent 35f0dd9b64
commit 3293326ea1
2 changed files with 71 additions and 56 deletions

View File

@ -1,17 +1,18 @@
{
"app-id": "org.upscayl.app",
"id": "org.upscayl.Upscayl",
"sdk": "org.freedesktop.Sdk",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"base": "org.electronjs.Electron2.BaseApp",
"base-version": "22.08",
"command": "upscayl-wrapper",
"command": "upscayl-run",
"separate-locales": false,
"finish-args": [
"--share=ipc",
"--socket=x11",
"--device=dri",
"--filesystem=home"
"--filesystem=home",
"--share=network",
"--socket=x11",
"--socket=pulseaudio"
],
"modules": [
{
@ -27,41 +28,38 @@
{
"name": "upscayl",
"buildsystem": "simple",
"cleanup": ["upscayl.zip"],
"sources": [
{
"type": "file",
"only-arches": ["x86_64"],
"url": "https://github.com/upscayl/upscayl/releases/download/v2.0.1/upscayl-2.0.1-linux.zip",
"sha256": "96883ae1bb9a3a5c0972ab7e402c5132e40c4fe0ffaeec8753524df16b03de51",
"dest-filename": "upscayl.zip"
"only-arches": [
"x86_64"
],
"url": "https://github.com/upscayl/upscayl/releases/download/v2.5.1/upscayl-2.5.1-linux.zip",
"sha256": "88753506776be443633771620a332c5cca7fa07a6e4635aae3acff2cebc2b168"
},
{
"type": "file",
"path": "org.upscayl.app.metainfo.xml"
},
{
"type": "file",
"path": "../main/build/icon.png"
"path": "org.upscayl.Upscayl.metainfo.xml"
},
{
"type": "script",
"dest-filename": "upscayl-wrapper",
"commands": ["zypak-wrapper /app/upscayl/upscayl"]
"dest-filename": "upscayl-run",
"commands": [
"zypak-wrapper /app/upscayl/upscayl"
]
}
],
"build-commands": [
"install -d /app/upscayl",
"unzip upscayl -d /app/upscayl",
"install upscayl-wrapper /app/bin/",
"install -d /app/share/icons/hicolor/512x512/apps/",
"install icon.png /app/share/icons/hicolor/512x512/apps/org.upscayl.app.png",
"install -d /app/share/applications",
"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"
"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"
]
}
]
}
}

View File

@ -1,29 +1,46 @@
<?xml version='1.0' encoding='utf-8'?>
<component type="desktop">
<id>org.upscayl.app</id>
<name>Upscayl</name>
<summary>Free and Open Source AI Image Upscaler</summary>
<developer_name>Nayam Amarshe, TGS963</developer_name>
<launchable type="desktop-id">org.upscayl.app.desktop</launchable>
<metadata_license>FSFAP</metadata_license>
<project_license>AGPL-3.0</project_license>
<description>
<p>Free and Open Source AI Image Upscaler</p>
</description>
<url type="homepage">https://github.com/upscayl/upscayl/</url>
<url type="bugtracker">https://github.com/upscayl/upscayl/issues</url>
<categories>
<category>Graphics</category>
<category>RasterGraphics</category>
<category>ImageProcessing</category>
</categories>
<content_rating type="oars-1.1" />
<keywords>
<keyword>upscale</keyword>
<keyword>topaz</keyword>
<keyword>gigapixel</keyword>
<keyword>waifu2x</keyword>
<keyword>ai</keyword>
</keywords>
<translation type="gettext">Upscayl</translation>
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.upscayl.app</id>
<name>Upscayl</name>
<summary>Free and Open Source AI Image Upscaler.</summary>
<url type="homepage">https://upscayl.github.io</url>
<url type="bugtracker">https://github.com/upscayl/upscayl/issues</url>
<url type="donation">https://buymeacoffee.com/fossisthefuture</url>
<metadata_license>FSFAP</metadata_license>
<project_license>AGPL-3.0</project_license>
<description>
<p>
Upscayl is a free and open source AI Image Upscaler
</p>
</description>
<content_rating type="oars-1.1" />
<launchable type="desktop-id">org.upscayl.app.desktop</launchable>
<screenshots>
<screenshot type="default">
<caption>Main Screen</caption>
<image>https://github.com/upscayl/upscayl/raw/main/screen1.png</image>
</screenshot>
</screenshots>
<releases>
<release version="v2.0.1" date="2022-12-27">
<description>
<p>Changes</p>
<ul>
<li>Fixed model selection issue</li>
<li>Fixed PNG to JPG preview issue</li>
<li>Added GPU-ID auto-save</li>
<li>Fixed Image Options to appear on most backgrounds without problems</li>
<li>Set default zoom level to 100%</li>
<li>Added a donate button</li>
</ul>
</description>
</release>
</releases>
</component>