Add manifest, appdata, screenshot and desktop launcher

This commit is contained in:
Bartłomiej Piotrowski 2017-04-11 19:20:28 +02:00
parent b6ee6896b2
commit c772c75576
7 changed files with 93 additions and 0 deletions

23
appdata.xml Normal file
View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">ppsspp.desktop</id>
<name>PPSSPP</name>
<summary>A PlayStation Portable emulator</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<description>
<p>
PPSSPP is a PSP emulator that can run games full HD resolution. It can
even upscale textures that would otherwise be too blurry as they were made
for the small screen of the original PSP.
</p>
</description>
<url type="homepage">http://www.ppsspp.org/</url>
<screenshots>
<screenshot type="default">https://raw.githubusercontent.com/flathub/org.ppsspp.PPSSPP/master/screenshots/1.png</screenshot>
<screenshot >https://raw.githubusercontent.com/flathub/org.ppsspp.PPSSPP/master/screenshots/2.png</screenshot>
<screenshot >https://raw.githubusercontent.com/flathub/org.ppsspp.PPSSPP/master/screenshots/3.png</screenshot>
<screenshot >https://raw.githubusercontent.com/flathub/org.ppsspp.PPSSPP/master/screenshots/3.png</screenshot>
</screenshots>
<updatecontact>b@bpiotrowski.pl</updatecontact>
</application>

61
org.ppsspp.PPSSPP.json Normal file
View file

@ -0,0 +1,61 @@
{
"app-id": "org.ppsspp.PPSSPP",
"version": "1.4",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "ppsspp",
"rename-desktop-file": "ppsspp.desktop",
"rename-icon": "ppsspp",
"rename-appdata-file": "ppsspp.appdata.xml",
"finish-args": [
"--device=dri",
"--filesystem=home:ro",
"--socket=pulseaudio",
"--socket=wayland",
"--socket=x11",
"--share=network"
],
"modules": [
{
"name": "glu",
"sources": [
{
"type": "archive",
"url": "https://mesa.freedesktop.org/archive/glu/glu-9.0.0.tar.bz2",
"sha256": "1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12"
}
],
"cleanup": [ "/include", "/lib/*.a", "/lib/*.la", "/lib/pkgconfig" ]
},
{
"name": "ppsspp",
"buildsystem": "cmake",
"no-make-install": true,
"build-commands": [
"mkdir -p /app/ppsspp /app/bin /app/share/applications",
"install -m755 PPSSPPSDL /app/ppsspp/",
"cp -dr assets /app/ppsspp/",
"install -Dm644 icons/icon-512.svg /app/share/icons/hicolor/scalable/apps/ppsspp.svg",
"ln -s /app/ppsspp/PPSSPPSDL /app/bin/ppsspp",
"install -m644 ppsspp.desktop /app/share/applications/",
"install -Dm644 appdata.xml /app/share/appdata/ppsspp.appdata.xml"
],
"sources": [
{
"type": "git",
"url": "https://github.com/hrydgard/ppsspp.git",
"branch": "v1.4"
},
{
"type": "file",
"path": "ppsspp.desktop"
},
{
"type": "file",
"path": "appdata.xml"
}
]
}
]
}

9
ppsspp.desktop Normal file
View file

@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=PPSSPP
GenericName=PSP Emulator
Comment=PlayStation Portable Simulator Suitable for Playing Portably (PPSSPP)
Exec=ppsspp %f
Icon=org.ppsspp.PPSSPP
Categories=Game

BIN
screenshots/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
screenshots/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

BIN
screenshots/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

BIN
screenshots/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB