diff --git a/portaudio-pkgconfig-alsa.patch b/portaudio-pkgconfig-alsa.patch new file mode 100644 index 0000000..53b6702 --- /dev/null +++ b/portaudio-pkgconfig-alsa.patch @@ -0,0 +1,12 @@ +diff -up portaudio/portaudio-2.0.pc.in.alsa portaudio/portaudio-2.0.pc.in +--- portaudio/portaudio-2.0.pc.in.alsa 2011-05-05 11:55:28.000000000 +0200 ++++ portaudio/portaudio-2.0.pc.in 2011-05-05 11:55:33.000000000 +0200 +@@ -5,7 +5,7 @@ includedir=@includedir@ + + Name: PortAudio + Description: Portable audio I/O +-Requires: ++Requires: alsa + Version: 19 + + Libs: -L${libdir} -lportaudio @LIBS@ diff --git a/portaudio.spec b/portaudio.spec index e60d7bc..f795b2f 100644 --- a/portaudio.spec +++ b/portaudio.spec @@ -1,13 +1,14 @@ Summary: Free, cross platform, open-source, audio I/O library Name: portaudio Version: 19 -Release: 11%{?dist} +Release: 12%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.portaudio.com/ # This is http://www.portaudio.com/archives/pa_snapshot.tgz from 27-03-2011 Source: pa_snapshot.tgz Patch1: portaudio-doxynodate.patch +Patch2: portaudio-pkgconfig-alsa.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: doxygen BuildRequires: alsa-lib-devel @@ -38,6 +39,7 @@ portaudio library. %prep %setup -q -n %{name} %patch1 -p1 +%patch2 -p1 %build @@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu May 05 2011 Dan HorĂ¡k - 19-12 +- fix dependency on alsa-lib-devel + * Sun Mar 27 2011 Hans de Goede - 19-11 - Upgrade to a more recent snapshot to bring in various bugfixes (rhbz#691148)