main/postmarketos-base-ui: run SDL in Wayland mode by default (MR 2669)
This is possible now that all SDL (1) applications use sdl12-compat instead of "classic" SDL 1.2. Note that this only is applied to user interfaces that use Wayland and are launched through tinydm. See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12739
This commit is contained in:
parent
bfe586d720
commit
fa048b7517
2 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-base-ui
|
||||
pkgver=5
|
||||
pkgrel=1
|
||||
pkgver=6
|
||||
pkgrel=0
|
||||
pkgdesc="Meta package for minimal postmarketOS UI base"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
|
@ -48,6 +48,7 @@ _source644="
|
|||
"
|
||||
_source755="
|
||||
etc/tinydm.d/env-wayland.d/50-firefox-wayland.sh
|
||||
etc/tinydm.d/env-wayland.d/50-sdl-wayland.sh
|
||||
"
|
||||
|
||||
# Avoid filename based checksum conflicts by including the whole path.
|
||||
|
@ -99,6 +100,7 @@ tinydm() {
|
|||
provides="postmarketos-base-tinydm=$pkgver-r$pkgrel"
|
||||
amove etc/conf.d/tinydm
|
||||
amove etc/tinydm.d/env-wayland.d/50-firefox-wayland.sh
|
||||
amove etc/tinydm.d/env-wayland.d/50-sdl-wayland.sh
|
||||
}
|
||||
|
||||
pulseaudio() {
|
||||
|
@ -131,4 +133,5 @@ fe0651904c1f40ffa67d83daca190af199f63247e53642a59a1e1147cd06776fcf20b7b2fcc53737
|
|||
6b9c7bb73213187eb9ca8a94109b2b816f50c1158c90fec2e92b373864280d67741589e5bfbab8810945f031d2f4b535aad78a72e46e52ea50be5b85324da381 rootfs-etc-sleep-inhibitor.conf
|
||||
cac604e25c46e695dd30bd5a10cfd2d69595fcc3bc290096ac94b76b10834d591ea6576afb79c46b5da492a1dbf8660cf87b6110cd39937e15237bc74fa7a5c6 rootfs-etc-X11-Xwrapper.config
|
||||
d1ddd43489e6016e3ffd716027ed2bae4a2ab5f213118bdbcb96750e267ab7c0367cd0e0e386300aa5550352653144f5caeddd790621fe0879f83ca1995bb65c rootfs-etc-tinydm.d-env-wayland.d-50-firefox-wayland.sh
|
||||
ecaa57d033a119a53a6574c27636b7c89d659d75ea48a973a6a4ff6f90e5d07202529fd489bfc9dfc7430f5b60f40612f6d5c06f7fab47e681b0a3112a874058 rootfs-etc-tinydm.d-env-wayland.d-50-sdl-wayland.sh
|
||||
"
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
export SDL_VIDEODRIVER=wayland
|
Loading…
Reference in a new issue