DUCKSTATION: enabled appimage rolling release

This commit is contained in:
XargonWan 2023-04-17 09:14:46 +00:00
parent d0584096d2
commit 4cf037931e
2 changed files with 36 additions and 35 deletions

View file

@ -2,3 +2,4 @@
# URL^PLACEHOLDERTEXT # URL^PLACEHOLDERTEXT
https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip^DOOMSHAPLACEHOLDER https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip^DOOMSHAPLACEHOLDER
https://github.com/Vita3K/Vita3K/releases/download/continuous/ubuntu-latest.zip^VITASHAPLACEHOLDER https://github.com/Vita3K/Vita3K/releases/download/continuous/ubuntu-latest.zip^VITASHAPLACEHOLDER
https://github.com/stenzek/duckstation/releases/download/preview/DuckStation-x64.AppImage^DUCKSTATIONSHAPLACEHOLDER

View file

@ -922,47 +922,47 @@ modules:
# But AppImage is a single one that keep getting updated at the same link so the sha (that's mandatory) will break the build # But AppImage is a single one that keep getting updated at the same link so the sha (that's mandatory) will break the build
# So yeah we're stuck with this for a while # So yeah we're stuck with this for a while
- name: duckstation-DontUpdate # - name: duckstation-DontUpdate
buildsystem: cmake-ninja # buildsystem: cmake-ninja
no-make-install: true # no-make-install: true
builddir: true # builddir: true
config-opts: # config-opts:
- -DCMAKE_BUILD_TYPE=Release # - -DCMAKE_BUILD_TYPE=Release
- -DUSE_EGL=ON # - -DUSE_EGL=ON
- -DUSE_SDL2=ON # - -DUSE_SDL2=ON
- -DUSE_WAYLAND=ON # - -DUSE_WAYLAND=ON
- -DUSE_X11=ON # - -DUSE_X11=ON
- -DUSE_DRMKMS=ON # - -DUSE_DRMKMS=ON
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON # - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
post-install: # post-install:
- install -m 755 -t /app/bin/ bin/duckstation-nogui bin/duckstation-qt # - install -m 755 -t /app/bin/ bin/duckstation-nogui bin/duckstation-qt
- |- # - |-
for px in 16 32 48 64 128 256; do # for px in 16 32 48 64 128 256; do
install -Dm644 ../extras/icons/icon-${px}px.png /app/share/icons/hicolor/${px}x${px}/apps/org.duckstation.DuckStation.png # install -Dm644 ../extras/icons/icon-${px}px.png /app/share/icons/hicolor/${px}x${px}/apps/org.duckstation.DuckStation.png
done # done
- cp -r ../data/* bin/translations /app/bin # - cp -r ../data/* bin/translations /app/bin
sources: # sources:
- type: git # - type: git
url: https://github.com/stenzek/duckstation.git # url: https://github.com/stenzek/duckstation.git
commit: 3fb61865e505ba639609fbf16cb8bdf5c66e020c # commit: 3fb61865e505ba639609fbf16cb8bdf5c66e020c
# Duckstation-DontUpdate - END # Duckstation-DontUpdate - END
# Duckstation-AppImage - START # Duckstation-AppImage - START
# https://github.com/stenzek/duckstation/releases/tag/preview # https://github.com/stenzek/duckstation/releases/tag/preview
# - name: Duckstation-AppImage - name: Duckstation-AppImage
# buildsystem: simple buildsystem: simple
# build-commands: build-commands:
# - chmod +x DuckStation-*.AppImage - chmod +x DuckStation-*.AppImage
# - ./DuckStation-x64*.AppImage --appimage-extract - ./DuckStation-x64*.AppImage --appimage-extract
# - mkdir -p "${FLATPAK_DEST}/duckstation" - mkdir -p "${FLATPAK_DEST}/duckstation"
# - cp -r squashfs-root/* "${FLATPAK_DEST}/duckstation" - cp -r squashfs-root/* "${FLATPAK_DEST}/duckstation"
# - ln -s "${FLATPAK_DEST}/duckstation/usr/bin/duckstation" "${FLATPAK_DEST}/bin/duckstation" - ln -s "${FLATPAK_DEST}/duckstation/usr/bin/duckstation" "${FLATPAK_DEST}/bin/duckstation"
# sources: sources:
# - type: file - type: file
# url: https://github.com/stenzek/duckstation/releases/download/preview/DuckStation-x64.AppImage url: https://github.com/stenzek/duckstation/releases/download/preview/DuckStation-x64.AppImage
# sha256: a107d1837df020cb4e7b8a542059665428883af69c1cf063edd29e2d75634867 sha256: DUCKSTATIONSHAPLACEHOLDER
# Duckstation-AppImage - END # Duckstation-AppImage - END