Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsdl/files: libsdl-1.2.13-pulseaudio.patch
Date: Thu, 10 Jan 2008 08:02:25
Message-Id: E1JCsMo-0005Qb-Ir@stork.gentoo.org
1 vapier 08/01/10 08:02:22
2
3 Added: libsdl-1.2.13-pulseaudio.patch
4 Log:
5 Add support for USE=pulseaudio and fixing it in the process #198147 by jon R-B / Eugene Zagidullin.
6 (Portage version: 2.1.4_rc14)
7
8 Revision Changes Path
9 1.1 media-libs/libsdl/files/libsdl-1.2.13-pulseaudio.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/files/libsdl-1.2.13-pulseaudio.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsdl/files/libsdl-1.2.13-pulseaudio.patch?rev=1.1&content-type=text/plain
13
14 Index: libsdl-1.2.13-pulseaudio.patch
15 ===================================================================
16 fixup the pulse audio configure flags. this is already fixed upstream.
17
18 http://bugs.gentoo.org/198147
19
20 --- SDL/configure.in
21 +++ SDL/configure.in
22 @@ -470,8 +470,8 @@
23 {
24 AC_ARG_ENABLE(pulseaudio,
25 AC_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
26 - , enable_pulse=yes)
27 - if test x$enable_audio = xyes -a x$enable_pulse = xyes; then
28 + , enable_pulseaudio=yes)
29 + if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then
30 audio_pulse=no
31
32 PULSE_REQUIRED_VERSION=0.9
33 @@ -490,7 +490,7 @@
34 if test x$audio_pulse = xyes; then
35 AC_ARG_ENABLE(pulseaudio-shared,
36 AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]),
37 - , enable_pulse_shared=yes)
38 + , enable_pulseaudio_shared=yes)
39 if test "x`echo $PULSE_LIBS | grep -- -L`" = "x"; then
40 if test "x`ls /lib/libpulse-simple.so.* 2> /dev/null`" != "x"; then
41 PULSE_LIBS="-L/lib $PULSE_LIBS"
42 @@ -508,11 +508,11 @@
43 SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c"
44 EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSE_CFLAGS"
45 if test x$have_loadso != xyes && \
46 - test x$enable_pulse_shared = xyes; then
47 + test x$enable_pulseaudio_shared = xyes; then
48 AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic PulseAudio loading])
49 fi
50 if test x$have_loadso = xyes && \
51 - test x$enable_pulse_shared = xyes && test x$pulse_lib != x; then
52 + test x$enable_pulseaudio_shared = xyes && test x$pulse_lib != x; then
53 AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, "$pulse_lib")
54 else
55 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS"
56
57
58
59 --
60 gentoo-commits@l.g.o mailing list