mirror of
https://github.com/RetroDECK/additional-libraries.git
synced 2024-11-25 12:35:38 +00:00
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
|
app-id: net.retrodeck.module
|
||
|
runtime: org.kde.Platform
|
||
|
runtime-version: "6.7"
|
||
|
sdk: org.kde.Sdk
|
||
|
sdk-extensions:
|
||
|
- org.freedesktop.Sdk.Extension.llvm18
|
||
|
command: module
|
||
|
|
||
|
finish-args:
|
||
|
- --socket=wayland
|
||
|
- --socket=x11
|
||
|
- --socket=pulseaudio
|
||
|
- --share=ipc
|
||
|
- --share=network
|
||
|
- --device=all
|
||
|
- --filesystem=host
|
||
|
- --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
|
||
|
- --filesystem=xdg-run/app/com.discordapp.Discord:create
|
||
|
- --filesystem=xdg-config/gtk-3.0:ro
|
||
|
- --env=QT_QPA_PLATFORM=wayland;wayland-egl;xcb
|
||
|
# Dolphin
|
||
|
- --allow=bluetooth
|
||
|
# 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.module
|
||
|
- --env=SDL_VIDEO_WAYLAND_WMCLASS=net.retrodeck.module
|
||
|
# XEMU - Fixes issues with openSUSE systems, QEMU_AUDIO_DRV is defined as "pa" causing xemu to not launch
|
||
|
- --unset-env=QEMU_AUDIO_DRV
|
||
|
# BoilR
|
||
|
- --filesystem=xdg-data/Steam:rw #Steam (flatpak)
|
||
|
- --filesystem=~/.steam:rw # Steam (Non-flatpak)
|
||
|
- --filesystem=~/.var/app/com.valvesoftware.Steam:rw # Steam (Flatpak)
|
||
|
# PPSSPP, DOLPHIN
|
||
|
- --filesystem=xdg-run/gamescope-0:ro
|
||
|
|
||
|
modules:
|
||
|
|
||
|
- name: module
|
||
|
buildsystem: simple
|
||
|
build-commands:
|
||
|
- mkdir -p "${FLATPAK_DEST}/bin"
|
||
|
- echo 'echo hello_world' > "${FLATPAK_DEST}/bin/module"
|
||
|
- ls -lah "${FLATPAK_DEST}/bin"
|
||
|
- chmod +x "${FLATPAK_DEST}/bin/module"
|
||
|
|
||
|
|