Flatpak: Use correct names for icon, desktop and appdata without renaming

This commit is contained in:
Unrud 2018-10-20 04:25:54 +02:00
parent 8e7c945f0f
commit 2acdaf572d
3 changed files with 12 additions and 14 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component type="desktop"> <component type="desktop-application">
<id>remote-touchpad.desktop</id> <id>com.github.unrud.RemoteTouchpad</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license> <project_license>GPL-3.0-or-later</project_license>
<name>Remote Touchpad</name> <name>Remote Touchpad</name>
@ -14,6 +14,7 @@
Supports Flatpak&apos;s RemoteDesktop portal (experimental), Windows and X11. Supports Flatpak&apos;s RemoteDesktop portal (experimental), Windows and X11.
</p> </p>
</description> </description>
<launchable type="desktop-id">com.github.unrud.RemoteTouchpad.desktop</launchable>
<url type="bugtracker">https://github.com/Unrud/remote-touchpad/issues</url> <url type="bugtracker">https://github.com/Unrud/remote-touchpad/issues</url>
<url type="homepage">https://github.com/Unrud/remote-touchpad</url> <url type="homepage">https://github.com/Unrud/remote-touchpad</url>
<developer_name>Unrud</developer_name> <developer_name>Unrud</developer_name>
@ -43,7 +44,7 @@
<li>use colors in terminal for QR qode</li> <li>use colors in terminal for QR qode</li>
<li>remove -invert command line argument</li> <li>remove -invert command line argument</li>
<li>mitigate race condition when typing text on X11</li> <li>mitigate race condition when typing text on X11</li>
<li>improve KeySyms used for text on X11 and Flatpak's RemoteDesktop portal</li> <li>improve KeySyms used for text on X11 and Flatpak&apos;s RemoteDesktop portal</li>
<li>normalize line endings</li> <li>normalize line endings</li>
</ul> </ul>
</release> </release>
@ -89,5 +90,5 @@
<image>https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.10/screenshots/4.png</image> <image>https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.10/screenshots/4.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1"/>
</component> </component>

View file

@ -5,5 +5,5 @@ Name=Remote Touchpad
Comment=Control mouse and keyboard from a smartphone Comment=Control mouse and keyboard from a smartphone
Terminal=true Terminal=true
Exec=remote-touchpad-wait-on-error Exec=remote-touchpad-wait-on-error
Icon=remote-touchpad Icon=com.github.unrud.RemoteTouchpad
Categories=Network;RemoteAccess;ConsoleOnly; Categories=Network;RemoteAccess;ConsoleOnly;

View file

@ -4,9 +4,6 @@
"runtime-version" : "18.08", "runtime-version" : "18.08",
"sdk" : "org.freedesktop.Sdk", "sdk" : "org.freedesktop.Sdk",
"command" : "remote-touchpad", "command" : "remote-touchpad",
"rename-appdata-file" : "remote-touchpad.appdata.xml",
"rename-desktop-file" : "remote-touchpad.desktop",
"rename-icon" : "remote-touchpad",
"sdk-extensions" : [ "sdk-extensions" : [
"org.freedesktop.Sdk.Extension.golang" "org.freedesktop.Sdk.Extension.golang"
], ],
@ -54,12 +51,12 @@
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags 'portal x11' github.com/unrud/remote-touchpad", ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags 'portal x11' github.com/unrud/remote-touchpad",
"install -Dm0755 -t /app/bin remote-touchpad", "install -Dm0755 -t /app/bin remote-touchpad",
"install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error", "install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml", "install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/com.github.unrud.RemoteTouchpad.appdata.xml",
"install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.desktop", "install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/com.github.unrud.RemoteTouchpad.desktop",
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png /app/share/icons/hicolor/64x64/apps/remote-touchpad.png", "install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png /app/share/icons/hicolor/64x64/apps/com.github.unrud.RemoteTouchpad.png",
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_128.png /app/share/icons/hicolor/128x128/apps/remote-touchpad.png", "install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_128.png /app/share/icons/hicolor/128x128/apps/com.github.unrud.RemoteTouchpad.png",
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_256.png /app/share/icons/hicolor/256x256/apps/remote-touchpad.png", "install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_256.png /app/share/icons/hicolor/256x256/apps/com.github.unrud.RemoteTouchpad.png",
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_512.png /app/share/icons/hicolor/512x512/apps/remote-touchpad.png" "install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_512.png /app/share/icons/hicolor/512x512/apps/com.github.unrud.RemoteTouchpad.png"
] ]
} }
] ]