Build Your Own Arcade Controls Forum
Software Support => GroovyMAME => Topic started by: Doozer on March 30, 2018, 02:50:41 am
-
For your information.
From SDL2 version 2.0.8-2 the ALSA audio driver has been disabled (at compile time). Please use version 2.0.8-1 and do not upgrade the package to enjoy sound unless you are using other audio driver like pulseaudio on your system.
Problem is still present in 2.0.8-5.
-
WTF!!!!! :angry:
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index cefb1ea5ed3..4df53ab7094 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=sdl2
pkgver=2.0.8
-pkgrel=4
+pkgrel=5
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)"
arch=('x86_64')
url="http://www.libsdl.org"
@@ -33,7 +33,8 @@ build() {
-DALSA=OFF \
-DPULSEAUDIO_SHARED=ON \
-DVIDEO_WAYLAND=ON \
- -DRPATH=OFF
+ -DRPATH=OFF \
+ -DCLOCK_GETTIME=ON
make
}
-
It must be a mature decision because the author recognised it was done deliberately.
It is time my friend to enable pulseaudio in your distribution. For a short term solution you can build a custom PKGBUILD, but it will require more maintenance is the situation last longer.
-
The new version sdl2-2.0.8-6 has ALSA support back in.