[Sidplay2-devel] [Fwd: alsa support in sidplay]
Status: Beta
Brought to you by:
s_a_white
|
From: Bernie I. <be...@co...> - 2009-09-08 04:33:03
|
Please, apply these two patches from Fedora.
--------- Mensaje reenviado --------
De: Bernie Innocenti <be...@co...>
Para: Linus Walleij <tr...@df...>
Cc: Fedora Development <fed...@re...>
Asunto: alsa support in sidplay
Fecha: Tue, 08 Sep 2009 00:23:32 -0400
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 <be...@co...> 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 <tr...@df...> 2.0.9-6
- Located a suspect GCC 4.4.0 rebuild bug.
|