app-id: net.retrodeck.mame runtime: org.kde.Platform runtime-version: "6.5" sdk: org.kde.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.llvm16 command: /app/bin/mame finish-args: - --socket=fallback-x11 - --socket=wayland - --socket=pulseaudio - --share=ipc - --share=network - --device=all - --filesystem=home - --filesystem=/run/media - --filesystem=/media - --filesystem=home/.var/app/com.valvesoftware.Steam - --allow=multiarch - --talk-name=org.freedesktop.ScreenSaver - --talk-name=org.freedesktop.PowerManagement.Inhibit - --talk-name=org.freedesktop.login1.Manager - --talk-name=org.freedesktop.portal.Flatpak.UpdateMonitor - --filesystem=xdg-run/app/com.discordapp.Discord:create #- --filesystem=xdg-config/gtk-3.0:ro #not needed as we got --filesystem=home # Dolphin - --allow=bluetooth # PPSSPP # It allows an SDL application to specify its window class, which can be useful for window managers and desktop environments to identify and group similar windows - --env=SDL_VIDEO_X11_WMCLASS=net.retrodeck.mame - --env=SDL_VIDEO_WAYLAND_WMCLASS=net.retrodeck.mame # XEMU - Fixes issues with openSUSE systems, QEMU_AUDIO_DRV is defined as "pa" causing xemu to not launch - --unset-env=QEMU_AUDIO_DRV