alsa support in sidplay

Bernie Innocenti bernie at codewiz.org
Tue Sep 8 04:23:28 UTC 2009


Hello Linus,

since when we culled OSS support in Fedora's kernel, sidplay
could not delight our ears with the three celestial, synth
voices of the SID.

If you like this patch, I'll go on and commit myself using my
überpackager superpowers.  I'm also planning to submit the
autoconf changes upstream.


diff -u -p -r1.6 sidplay.spec
--- sidplay.spec	11 May 2009 20:10:35 -0000	1.6
+++ sidplay.spec	8 Sep 2009 04:13:27 -0000
@@ -3,7 +3,7 @@
 
 Name:		sidplay
 Version:	2.0.9
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	A command-line tool for playing back SID files
 URL:		http://sidplay2.sourceforge.net/
 Group:		Applications/Multimedia
@@ -12,6 +12,8 @@
 # http://packages.debian.org/unstable/oldlibs/sidplay
 Patch0:		sidplay_2.0.9-5.diff.gz
 Patch1:		gcc440.patch
+Patch2:		sidplay-alsa.patch
+Patch3:		sidplay-autohell-fixes.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License:	GPL
 BuildRequires:	libsidplay-devel
@@ -35,9 +37,12 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-%configure --with-sidbuilders=%{_libdir}/sidplay/builders
+ACLOCAL='aclocal -I unix' autoreconf -v --force --install
+%configure --with-sidbuilders=%{_libdir}/sidplay/builders --with-alsa
 make %{?_smp_mflags}
 
 %install
@@ -54,6 +59,11 @@
 %{_bindir}/*
 
 %changelog
+* Mon Sep 07 2009 Bernie Innocenti <bernie at codewiz.org> 2.0.9-7
+- Add sidplay-alsa.patch, stolen from Gentoo
+- Add sidplay-autohell-fixes.patch, rolled in house
+- Rock!
+
 * Mon May 11 2009 Linus Walleij <triad at df.lth.se> 2.0.9-6
 - Located a suspect GCC 4.4.0 rebuild bug.
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sidplay-alsa.patch
Type: text/x-patch
Size: 8692 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090908/5d1f2f8a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sidplay-autohell-fixes.patch
Type: text/x-patch
Size: 2236 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090908/5d1f2f8a/attachment-0001.bin>


More information about the fedora-devel-list mailing list