Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Warning: SDL2 and Arch Linux  (Read 1553 times)

0 Members and 1 Guest are viewing this topic.

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:June 12, 2023, 09:19:49 am
  • Z80 ERROR
Warning: SDL2 and Arch Linux
« 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.

ves

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 225
  • Last login:April 11, 2020, 02:57:49 am
Re: Warning: SDL2 and Arch Linux
« Reply #1 on: March 30, 2018, 04:57:09 am »
WTF!!!!! :angry:


Quote
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
 }

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:June 12, 2023, 09:19:49 am
  • Z80 ERROR
Re: Warning: SDL2 and Arch Linux
« Reply #2 on: March 30, 2018, 07:37:11 am »

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.

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:June 12, 2023, 09:19:49 am
  • Z80 ERROR
Re: Warning: SDL2 and Arch Linux
« Reply #3 on: April 02, 2018, 04:47:58 am »

The new version sdl2-2.0.8-6 has ALSA support back in.