From a1a7b073d54575a2d4f4a38e954b52e21568c07e Mon Sep 17 00:00:00 2001 From: Julien Reichardt Date: Mon, 26 Apr 2021 15:02:59 +0200 Subject: [PATCH 1/2] Add AppStream metadata file Can be used for AppImage, and required for Flatpak. --- .../org.duckstation.DuckStation.metainfo.xml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 appimage/org.duckstation.DuckStation.metainfo.xml diff --git a/appimage/org.duckstation.DuckStation.metainfo.xml b/appimage/org.duckstation.DuckStation.metainfo.xml new file mode 100644 index 000000000..c94ee92b7 --- /dev/null +++ b/appimage/org.duckstation.DuckStation.metainfo.xml @@ -0,0 +1,33 @@ + + + org.duckstation.DuckStation + org.duckstation.DuckStation.desktop + CC0-1.0 + GPL-3.0 + DuckStation + PlayStation 1/PSX emulator. + +

+ DuckStation is an simulator/emulator of the Sony PlayStation(TM) console, focusing on playability, speed, and long-term maintainability. + The goal is to be as accurate as possible while maintaining performance suitable for low-end devices. +

+
+ + https://github.com/stenzek/duckstation/raw/md-images/bigduck.png + https://github.com/stenzek/duckstation/raw/md-images/main.png + https://github.com/stenzek/duckstation/raw/md-images/gamegrid.png + https://github.com/stenzek/duckstation/raw/md-images/tof.jpg + + + Games + Emulator + + https://duckstation.org/ + https://github.com/stenzek/duckstation/issues + https://www.duckstation.org/wiki/Main_Page + Connor McLaughlin + + + + +
From 4bd1161ac92633b7c164221c41cd640069c889a9 Mon Sep 17 00:00:00 2001 From: Julien Reichardt Date: Sat, 1 May 2021 13:26:32 +0200 Subject: [PATCH 2/2] Split appimage script and distribution files --- .github/workflows/rolling-release.yml | 2 +- {appimage => dist}/duckstation-nogui.desktop | 0 {appimage => dist}/duckstation-qt.desktop | 0 {appimage => dist}/icon-16px.png | Bin {appimage => dist}/icon-32px.png | Bin {appimage => dist}/icon-48px.png | Bin {appimage => dist}/icon-64px.png | Bin .../org.duckstation.DuckStation.metainfo.xml | 0 {appimage => scripts}/generate_appimages.sh | 2 +- 9 files changed, 2 insertions(+), 2 deletions(-) rename {appimage => dist}/duckstation-nogui.desktop (100%) rename {appimage => dist}/duckstation-qt.desktop (100%) rename {appimage => dist}/icon-16px.png (100%) rename {appimage => dist}/icon-32px.png (100%) rename {appimage => dist}/icon-48px.png (100%) rename {appimage => dist}/icon-64px.png (100%) rename {appimage => dist}/org.duckstation.DuckStation.metainfo.xml (100%) rename {appimage => scripts}/generate_appimages.sh (98%) diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 9547f19e9..e0f4e4ae9 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -175,7 +175,7 @@ jobs: cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_NOGUI_FRONTEND=ON -DBUILD_QT_FRONTEND=ON -DUSE_DRMKMS=ON -DUSE_EGL=ON -DUSE_SDL2=ON -DUSE_WAYLAND=ON -DUSE_X11=ON -G Ninja .. ninja - ../appimage/generate_appimages.sh $(pwd) + ../scripts/generate_appimages.sh $(pwd) - name: Upload NoGUI AppImage uses: actions/upload-artifact@v1 diff --git a/appimage/duckstation-nogui.desktop b/dist/duckstation-nogui.desktop similarity index 100% rename from appimage/duckstation-nogui.desktop rename to dist/duckstation-nogui.desktop diff --git a/appimage/duckstation-qt.desktop b/dist/duckstation-qt.desktop similarity index 100% rename from appimage/duckstation-qt.desktop rename to dist/duckstation-qt.desktop diff --git a/appimage/icon-16px.png b/dist/icon-16px.png similarity index 100% rename from appimage/icon-16px.png rename to dist/icon-16px.png diff --git a/appimage/icon-32px.png b/dist/icon-32px.png similarity index 100% rename from appimage/icon-32px.png rename to dist/icon-32px.png diff --git a/appimage/icon-48px.png b/dist/icon-48px.png similarity index 100% rename from appimage/icon-48px.png rename to dist/icon-48px.png diff --git a/appimage/icon-64px.png b/dist/icon-64px.png similarity index 100% rename from appimage/icon-64px.png rename to dist/icon-64px.png diff --git a/appimage/org.duckstation.DuckStation.metainfo.xml b/dist/org.duckstation.DuckStation.metainfo.xml similarity index 100% rename from appimage/org.duckstation.DuckStation.metainfo.xml rename to dist/org.duckstation.DuckStation.metainfo.xml diff --git a/appimage/generate_appimages.sh b/scripts/generate_appimages.sh similarity index 98% rename from appimage/generate_appimages.sh rename to scripts/generate_appimages.sh index 28edd75f6..f2d807c04 100755 --- a/appimage/generate_appimages.sh +++ b/scripts/generate_appimages.sh @@ -1,7 +1,7 @@ #!/bin/bash # NOTE: Keep this script in the same directory as resources for AppImage creation -APPIMAGE_RESOURCES_DIR=$(dirname $(readlink -f $0)) +APPIMAGE_RESOURCES_DIR=$(dirname $(readlink -f $0))/../dist echo "APPIMAGE_RESOURCES_DIR set to ${APPIMAGE_RESOURCES_DIR}" if [[ "$#" -ne 1 ]]; then