2022-04-24 01:35:28 +00:00
|
|
|
app-id: net.retrodeck.retrodeck
|
2022-03-20 14:31:16 +00:00
|
|
|
runtime: org.kde.Platform
|
2023-04-17 14:10:20 +00:00
|
|
|
runtime-version: 5.15-22.08
|
2022-08-31 14:20:00 +00:00
|
|
|
#runtime-version: 6.3 # bumped because of pcsx2-qt
|
2022-03-20 14:31:16 +00:00
|
|
|
sdk: org.kde.Sdk
|
2022-04-24 01:35:28 +00:00
|
|
|
sdk-extensions:
|
2022-09-14 10:17:47 +00:00
|
|
|
- org.freedesktop.Sdk.Extension.llvm14 # Needed for rpcs3
|
2022-11-29 16:47:42 +00:00
|
|
|
#- org.freedesktop.Sdk.Extension.dotnet6 # Needed for Ryujinx - Removed, check if it's not breaking something else
|
2022-08-10 21:13:55 +00:00
|
|
|
base: io.qt.qtwebengine.BaseApp # Needed for Yuzu
|
2023-04-17 14:10:20 +00:00
|
|
|
base-version: 5.15-22.08 # Needed for Yuzu
|
2023-04-20 12:41:27 +00:00
|
|
|
# add-extensions:
|
|
|
|
# org.freedesktop.Platform.ffmpeg-full:
|
|
|
|
# directory: lib/ffmpeg
|
|
|
|
# add-ld-path: .
|
|
|
|
# version: '22.08'
|
|
|
|
# autodownload: true
|
|
|
|
# autodelete: false
|
2022-03-28 13:01:47 +00:00
|
|
|
command: retrodeck.sh
|
2022-03-20 14:31:16 +00:00
|
|
|
|
|
|
|
finish-args:
|
2022-07-06 17:53:51 +00:00
|
|
|
- --socket=x11
|
2022-10-27 12:26:55 +00:00
|
|
|
#- --socket=wayland
|
2022-07-06 17:53:51 +00:00
|
|
|
- --socket=pulseaudio
|
|
|
|
- --share=ipc
|
|
|
|
- --share=network
|
|
|
|
- --device=all
|
2022-11-21 01:05:11 +00:00
|
|
|
- --filesystem=home # Needed to be able to relocate / remove / create symlink at ~/retrodeck
|
2022-07-06 17:53:51 +00:00
|
|
|
- --filesystem=/run/media
|
|
|
|
- --filesystem=/media
|
|
|
|
- --allow=multiarch
|
|
|
|
- --talk-name=org.freedesktop.ScreenSaver
|
|
|
|
- --talk-name=org.freedesktop.PowerManagement.Inhibit
|
2022-11-05 14:55:53 +00:00
|
|
|
- --talk-name=org.freedesktop.login1.Manager
|
2023-03-27 19:52:58 +00:00
|
|
|
- --talk-name=org.freedesktop.Flatpak
|
2022-07-06 17:53:51 +00:00
|
|
|
- --filesystem=xdg-run/app/com.discordapp.Discord:create
|
2022-03-27 01:34:37 +00:00
|
|
|
# Yuzu
|
2022-05-19 03:03:43 +00:00
|
|
|
# - --filesystem=home:ro # This may break Yuzu, let's see
|
2022-04-14 03:39:03 +00:00
|
|
|
# - --filesystem=/run/media:ro
|
2022-04-24 01:35:28 +00:00
|
|
|
# Dolphin
|
2022-07-06 17:53:51 +00:00
|
|
|
- --allow=bluetooth
|
2022-05-19 03:03:43 +00:00
|
|
|
#- --env=QT_QPA_PLATFORM=xcb #not sure if this will break something
|
2022-04-27 06:21:48 +00:00
|
|
|
# rpcs3
|
2022-10-27 12:26:55 +00:00
|
|
|
#- --socket=fallback-x11
|
2022-03-20 14:31:16 +00:00
|
|
|
|
2022-03-27 00:03:50 +00:00
|
|
|
cleanup:
|
|
|
|
# ES-DE
|
|
|
|
- /include
|
|
|
|
- /share/ffmpeg
|
|
|
|
- /lib/cmake
|
|
|
|
- /lib/pkgconfig
|
2022-04-06 15:02:00 +00:00
|
|
|
# Yuzu
|
|
|
|
- /include
|
|
|
|
- /bin/glslangValidator
|
|
|
|
- /bin/zip*
|
|
|
|
- /bin/zstd*
|
|
|
|
- /lib/pkg-config
|
|
|
|
- /share/doc
|
|
|
|
- /share/man
|
|
|
|
- /src
|
|
|
|
- '*.a'
|
|
|
|
- '*.la'
|
2023-04-11 13:43:57 +00:00
|
|
|
# XMLSTARLET
|
|
|
|
- /lib/debug
|
|
|
|
- /share/runtime
|
2022-04-06 15:02:00 +00:00
|
|
|
cleanup-commands:
|
|
|
|
# Yuzu
|
|
|
|
- /app/cleanup-BaseApp.sh
|
2022-03-27 00:03:50 +00:00
|
|
|
|
2022-03-20 14:31:16 +00:00
|
|
|
modules:
|
|
|
|
|
2023-04-23 06:30:56 +00:00
|
|
|
# MAME - Start
|
2022-11-05 14:55:53 +00:00
|
|
|
|
2023-04-23 06:30:56 +00:00
|
|
|
- name: mame
|
2023-04-23 07:04:10 +00:00
|
|
|
buildsystem: simple
|
2023-02-18 10:19:10 +00:00
|
|
|
build-options:
|
2023-04-23 06:30:56 +00:00
|
|
|
no-debuginfo: true
|
|
|
|
strip: true
|
2023-04-23 07:04:10 +00:00
|
|
|
build-commands:
|
|
|
|
- make
|
|
|
|
-j ${FLATPAK_BUILDER_N_JOBS}
|
|
|
|
CFLAGS+=-Wno-error=restrict
|
|
|
|
USE_SYSTEM_LIB_FLAC=1
|
|
|
|
SDL_INI_PATH='$$HOME/.APP_NAME;/app/share/APP_NAME/ini'
|
|
|
|
LDOPTS=-Wl,-s
|
|
|
|
- install -Dm 0755 mame ${FLATPAK_DEST}/bin/mame
|
|
|
|
- cp uismall.bdf ${FLATPAK_DEST}/bin/
|
|
|
|
- mkdir -p ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r artwork/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r bgfx/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r ctrlr/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- mkdir -p ${FLATPAK_DEST}/share/mame/docs/
|
|
|
|
- cp -r docs/legal/ ${FLATPAK_DEST}/share/mame/docs/
|
|
|
|
- cp -r docs/man/ ${FLATPAK_DEST}/share/mame/docs
|
|
|
|
- cp -r hash/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r hlsl/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r ini/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
#- install -Dm 0644 mame.ini ${FLATPAK_DEST}/share/mame/ini/mame.ini
|
|
|
|
- cp -r language/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r plugins/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r roms/ ${FLATPAK_DEST}/share/mame/
|
|
|
|
- cp -r samples/ ${FLATPAK_DEST}/share/mame/
|
2022-04-24 01:35:28 +00:00
|
|
|
sources:
|
|
|
|
- type: archive
|
2023-04-23 06:30:56 +00:00
|
|
|
url: https://github.com/mamedev/mame/archive/refs/tags/mame0253.tar.gz
|
|
|
|
sha256: 52065a1ae0db365a9aa35d62bafb226edc546ad993d6c75327e166596f25e4e4
|
2023-04-23 07:04:10 +00:00
|
|
|
# - type: file
|
|
|
|
# path: mame.ini
|
|
|
|
# - type: patch
|
|
|
|
# path: floppy.patch
|
|
|
|
# - type: patch
|
|
|
|
# path: sound.patch
|
|
|
|
# - type: patch
|
|
|
|
# path: ym3802.patch
|
2022-04-24 01:35:28 +00:00
|
|
|
|
2023-04-23 06:30:56 +00:00
|
|
|
# MAME - End
|