Attempt to configure for Wayland

This commit is contained in:
Jason Flatt 2023-10-24 16:51:48 -07:00
parent dbdd295ff4
commit 58047a4376
2 changed files with 8 additions and 1 deletions

View file

@ -30,4 +30,9 @@ share_directory $HOME/.mame/share
#
# OSD VIDEO OPTIONS
#
video opengl
video bgfx
#
# BGFX POST-PROCESSING OPTIONS
#
bgfx_path /app/share/mame/bgfx

View file

@ -11,6 +11,7 @@ finish-args:
- --filesystem=host:ro
- --share=network
- --share=ipc
- --socket=x11
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
@ -25,6 +26,7 @@ modules:
- make
-j ${FLATPAK_BUILDER_N_JOBS}
CFLAGS+=-Wno-error=restrict
USE_WAYLAND=1
USE_SYSTEM_LIB_FLAC=1
SDL_INI_PATH='$$HOME/.APP_NAME;/app/share/APP_NAME/ini'
LDOPTS=-Wl,-s