mirror of
https://github.com/RetroDECK/org.ppsspp.PPSSPP.git
synced 2024-11-22 21:55:38 +00:00
Use env to set wm classname
This commit is contained in:
parent
3a7762c71e
commit
9f68430675
|
@ -15,6 +15,8 @@ finish-args:
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
- --share=network
|
- --share=network
|
||||||
- --talk-name=org.freedesktop.ScreenSaver
|
- --talk-name=org.freedesktop.ScreenSaver
|
||||||
|
- --env=SDL_VIDEO_X11_WMCLASS=org.ppsspp.PPSSPP
|
||||||
|
- --env=SDL_VIDEO_WAYLAND_WMCLASS=org.ppsspp.PPSSPP
|
||||||
add-extensions:
|
add-extensions:
|
||||||
org.ppsspp.PPSSPP.Locale:
|
org.ppsspp.PPSSPP.Locale:
|
||||||
directory: share/locale
|
directory: share/locale
|
||||||
|
@ -46,7 +48,7 @@ modules:
|
||||||
- -DUSING_EGL=ON
|
- -DUSING_EGL=ON
|
||||||
- -DUSING_GLES2=ON
|
- -DUSING_GLES2=ON
|
||||||
post-install:
|
post-install:
|
||||||
- desktop-file-edit --set-name=PPSSPP --set-key=StartupWMClass --set-value=PPSSPPSDL ${FLATPAK_DEST}/share/applications/PPSSPPSDL.desktop
|
- desktop-file-edit --set-name=PPSSPP ${FLATPAK_DEST}/share/applications/PPSSPPSDL.desktop
|
||||||
- install -Dm644 icons/icon-512.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ppsspp.svg
|
- install -Dm644 icons/icon-512.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ppsspp.svg
|
||||||
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo
|
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|
Loading…
Reference in a new issue