RetroArch: migrated to AppImage

This commit is contained in:
XargonWan 2024-07-19 18:07:37 +09:00
parent f9f31d6b57
commit f4839e86c7

View file

@ -343,22 +343,22 @@ modules:
stable-only: true stable-only: true
url-template: https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2 url-template: https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2
# Dependency of: ES-DE, ??? # Dependency of: ES-DE, PPSSPP, RPCS3
# - name: ffmpeg - name: ffmpeg
# config-opts: config-opts:
# - --disable-static - --disable-static
# - --disable-programs - --disable-programs
# - --disable-doc - --disable-doc
# - --enable-gpl - --enable-gpl
# - --enable-shared - --enable-shared
# - --enable-libvorbis - --enable-libvorbis
# - --enable-libopus - --enable-libopus
# - --enable-libvpx - --enable-libvpx
# - --enable-postproc - --enable-postproc
# sources: sources:
# - type: git - type: git
# url: https://github.com/FFmpeg/FFmpeg.git url: https://github.com/FFmpeg/FFmpeg.git
# tag: n5.1.4 tag: n5.1.4
# ES-DE - Start # ES-DE - Start
@ -376,137 +376,29 @@ modules:
# External manifests start # External manifests start
# RetroArch - START # RetroArch - START
# https://github.com/flathub/org.libretro.RetroArch # https://retroarch.com/index.php?page=platforms
- name: retroarch - name: retroarch
config-opts: buildsystem: simple
- '--enable-dbus' build-commands:
make-args: - mv -rf ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/* /app/share/libretro/
- GLOBAL_CONFIG_DIR=${FLATPAK_DEST}/etc - chmod +x *.AppImage
- HAVE_TRANSLATE=1 - RetroArch-Linux-x86_64/*.AppImage --appimage-extract
- HAVE_ACCESSIBILITY=1 - mkdir -p "${FLATPAK_DEST}/app"
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}/app"
sources: sources:
- type: git - type: archive
url: https://github.com/libretro/RetroArch.git url: https://buildbot.libretro.com/nightly/linux/x86_64/RetroArch.7z
commit: 06fa5325f8b3cd42e6fba3d57835d5924c9ea2e7 commit: 599fcaead21f971612395ac83862744c7b6c8cf2398c9c32feda89a507d5dd1b
- type: file
path: rd-submodules/retroarch/retroarch.cfg
- type: file
path: rd-submodules/retroarch/VkLayer_FROG_gamescope_wsi.x86_64.json
post-install:
- mkdir -p ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
- >-
mv ${FLATPAK_DEST}/share/pixmaps/retroarch.svg
${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
- rmdir --ignore-fail-on-non-empty ${FLATPAK_DEST}/share/pixmaps/
- mkdir -p ${FLATPAK_DEST}/etc
- >-
sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg >
${FLATPAK_DEST}/etc/retroarch.cfg
- mkdir -p ${FLATPAK_DEST}/share/vulkan/implicit_layer.d
- >-
install VkLayer_FROG_gamescope_wsi.x86_64.json
/app/share/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.x86_64.json
modules:
- rd-submodules/retroarch/modules/libpng/libpng-1.6.json
- rd-submodules/retroarch/modules/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
- rd-submodules/shared-modules/SDL/SDL-1.2.15.json
- rd-submodules/shared-modules/SDL/SDL_image-1.2.12.json
- rd-submodules/shared-modules/SDL/SDL_mixer-1.2.12.json
- rd-submodules/shared-modules/SDL/SDL_net-1.2.8.json
- rd-submodules/shared-modules/SDL/SDL_ttf-2.0.11.json
#- rd-submodules/shared-modules/libusb/libusb.json moved outside
# certificate glu issue
#- rd-submodules/shared-modules/gudev/gudev.json
- rd-submodules/retroarch/modules/libbz2/libbz2-1.0.8.json
- rd-submodules/retroarch/modules/xrandr/xrandr-1.5.json
- rd-submodules/retroarch/modules/libaio/libaio-0.3.112.json
# certificate issue, check glu module for more info
#- rd-submodules/shared-modules/glu/glu-9.json
- rd-submodules/shared-modules/libdecor/libdecor.json
- rd-submodules/retroarch/modules/gamemode/gamemode-1.8.json
- name: retroarch-filers-video
subdir: gfx/video_filters
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/RetroArch.git
commit: 06fa5325f8b3cd42e6fba3d57835d5924c9ea2e7
- name: retroarch-filers-audio
subdir: libretro-common/audio/dsp_filters
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/RetroArch.git
commit: 06fa5325f8b3cd42e6fba3d57835d5924c9ea2e7
- name: retroarch-assets
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/retroarch-assets.git
commit: 923b711dc6772a168d83dc8915e9260730fcf3a1
- name: libretro-database
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/libretro-database.git
commit: 977612e2cd284f67fc0d121d9d94c5982a49f61e
- name: libretro-core-info
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/libretro-core-info.git
commit: ad0f67e172dca9edb88a4eea1d541f407a9c2d12
- name: retroarch-joypad-autoconfig
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/retroarch-joypad-autoconfig.git
commit: ec43cfef730f15d6b20bf277681250b2f4b99a8b
- name: common-shaders
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/common-shaders.git
commit: 86cfa146a8dfddf6377ddb5dbcff552feae2e5bf
- name: slang-shaders
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/slang-shaders.git
commit: d367f6cf73e01a8e43028107ab1ded2d2f05fe6a
- name: glsl-shaders
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/glsl-shaders.git
commit: db974e4d6f6e3178198b7690095a107b3b509d4b
- name: common-overlays
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/common-overlays.git
commit: c266abf4d7f9286fb6fbcfb57647cd9c80c45530
# RetroArch - END # RetroArch - END
# Not part of the offical RetroArch manifest # Not part of the offical RetroArch AppImage
# retroarch-cores-nightly must be earlier than retroarch-cores as it will overwrite this cores with the stable ones # retroarch-cores-nightly must be earlier than retroarch-cores as it will overwrite this cores with the stable ones
- name: retroarch-cores-nightly - name: retroarch-cores-nightly
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p /app/share/libretro/cores/ - mkdir -p /app/share/libretro/cores/
- mv -f ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/ - mv -f ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
sources: sources:
- type: archive - type: archive
@ -566,6 +458,7 @@ modules:
strip-components: 0 strip-components: 0
# PPSSPP - START # PPSSPP - START
# why from source: AppImage not provided, only Flatpak
# https://github.com/flathub/org.ppsspp.PPSSPP # https://github.com/flathub/org.ppsspp.PPSSPP
- name: ppsspp - name: ppsspp