mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 06:25:39 +00:00
XEMU: migrated to AppImage
This commit is contained in:
parent
f4839e86c7
commit
831890a252
|
@ -495,10 +495,8 @@ modules:
|
||||||
|
|
||||||
# PPSSPP - END
|
# PPSSPP - END
|
||||||
|
|
||||||
|
|
||||||
# PCSX2 - START
|
# PCSX2 - START
|
||||||
# Inspired by:
|
# Inspired by: https://github.com/flathub/com.zettlr.Zettlr/blob/master/com.zettlr.Zettlr.yaml
|
||||||
# https://github.com/flathub/com.zettlr.Zettlr/blob/master/com.zettlr.Zettlr.yaml
|
|
||||||
# https://pcsx2.net/downloads/
|
# https://pcsx2.net/downloads/
|
||||||
|
|
||||||
- name: pcsx2-qt
|
- name: pcsx2-qt
|
||||||
|
@ -517,6 +515,7 @@ modules:
|
||||||
# PCSX2 - END
|
# PCSX2 - END
|
||||||
|
|
||||||
# Dolphin - START
|
# Dolphin - START
|
||||||
|
# why from source: AppImage not provided, only Flatpak
|
||||||
# https://github.com/flathub/org.DolphinEmu.dolphin-emu
|
# https://github.com/flathub/org.DolphinEmu.dolphin-emu
|
||||||
# WHEN UPADTING: remember to update rd-submodules/dolphin contents
|
# WHEN UPADTING: remember to update rd-submodules/dolphin contents
|
||||||
|
|
||||||
|
@ -588,68 +587,19 @@ modules:
|
||||||
# Dolphin - END
|
# Dolphin - END
|
||||||
|
|
||||||
# XEMU - START
|
# XEMU - START
|
||||||
# https://github.com/flathub/app.xemu.xemu
|
# https://xemu.app/docs/download/#download-for-linux
|
||||||
|
|
||||||
- name: libpcap
|
|
||||||
buildsystem: cmake-ninja
|
|
||||||
cleanup:
|
|
||||||
- /bin
|
|
||||||
- /include
|
|
||||||
- /lib/debug
|
|
||||||
- /lib/pkgconfig
|
|
||||||
- /lib/*.a
|
|
||||||
- /share
|
|
||||||
sources:
|
|
||||||
- type: archive
|
|
||||||
url: https://www.tcpdump.org/release/libpcap-1.10.4.tar.gz
|
|
||||||
sha256: ed19a0383fad72e3ad435fd239d7cd80d64916b87269550159d20e47160ebe5f
|
|
||||||
x-checker-data:
|
|
||||||
type: anitya
|
|
||||||
project-id: 1702
|
|
||||||
stable-only: true
|
|
||||||
url-template: https://www.tcpdump.org/release/libpcap-$version.tar.gz
|
|
||||||
|
|
||||||
- name: PyYAML
|
|
||||||
buildsystem: simple
|
|
||||||
build-commands:
|
|
||||||
- python3 setup.py install --prefix=/app --root=/
|
|
||||||
sources:
|
|
||||||
- type: archive
|
|
||||||
url: https://github.com/yaml/pyyaml/archive/refs/tags/6.0.tar.gz
|
|
||||||
sha256: f33eaba25d8e0c1a959bbf00655198c287dfc5868f5b7b01e401eaa1796cc778
|
|
||||||
|
|
||||||
- name: xemu
|
- name: xemu
|
||||||
buildsystem: autotools
|
buildsystem: simple
|
||||||
builddir: true
|
build-commands:
|
||||||
no-make-install: true
|
- chmod +x *.AppImage
|
||||||
build-options:
|
- ./*.AppImage --appimage-extract
|
||||||
cflags: -O3 -DXBOX=1 -Wno-error=redundant-decls
|
- mkdir -p "${FLATPAK_DEST}/app"
|
||||||
config-opts:
|
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}/app"
|
||||||
- --audio-drv-list=sdl
|
|
||||||
- --disable-werror
|
|
||||||
- --target-list=i386-softmmu
|
|
||||||
make-args:
|
|
||||||
- qemu-system-i386
|
|
||||||
post-install:
|
|
||||||
- |-
|
|
||||||
for px in 16 32 48 64 128 256 512; do
|
|
||||||
install -Dm644 ../ui/icons/xemu_${px}x${px}.png $FLATPAK_DEST/share/icons/hicolor/${px}x${px}/apps/app.xemu.xemu.png
|
|
||||||
done
|
|
||||||
- install -Dm644 ../ui/icons/xemu.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/app.xemu.xemu.svg
|
|
||||||
- mv qemu-system-i386 $FLATPAK_DEST/bin/xemu
|
|
||||||
- mkdir -p $FLATPAK_DEST/share/licenses/xemu
|
|
||||||
- cd .. && python3 scripts/gen-license.py > $FLATPAK_DEST/share/licenses/xemu/LICENSE.txt
|
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type:
|
||||||
url: https://github.com/xemu-project/xemu.git
|
url: https://github.com/xemu-project/xemu/releases/download/v0.7.129/xemu-v0.7.129-x86_64.AppImage
|
||||||
tag: v0.7.126
|
sha526: f680774d96a66bf1195cd133497755d43be5eda5f178457a6df32bc691dd8c74
|
||||||
commit: b2b6a98d5ea21970cd2436a1912230f4b97c5e03
|
|
||||||
x-checker-data:
|
|
||||||
type: json
|
|
||||||
url: https://api.github.com/repos/xemu-project/xemu/releases/latest
|
|
||||||
tag-query: .tag_name
|
|
||||||
timestamp-query: .published_at
|
|
||||||
version-query: .tag_name
|
|
||||||
|
|
||||||
- name: xemu-dummy-hdd
|
- name: xemu-dummy-hdd
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
|
Loading…
Reference in a new issue