Browse Source

* portaudio: upgraded to more recent snapshot

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5980 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
5119012fab
1 changed files with 27 additions and 19 deletions
  1. 27 19
      p/portaudio/portaudio-vl.spec

+ 27 - 19
p/portaudio/portaudio-vl.spec

@@ -1,20 +1,21 @@
-%define real_version v19_20071207
-
-Summary: Free, cross platform, open-source, audio I/O library
-Name: portaudio
-Version: 19
-Release: 10%{?_dist_release}
-License: MIT
-Group: System Environment/Libraries
-URL: http://www.portaudio.com/
-Source: http://www.portaudio.com/archives/pa_stable_%{real_version}.tar.gz
-Patch0: portaudio-non-mmap-alsa.patch
-Patch1: portaudio-doxynodate.patch
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: doxygen
-BuildRequires: alsa-lib-devel
-BuildRequires: jack-audio-connection-kit-devel
+Summary:	Free, cross platform, open-source, audio I/O library
+Name:		portaudio
+Version:	19
+Release:	11%{?_dist_release}
+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
+BuildRequires:	jack-audio-connection-kit-devel
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
 
 %description
 PortAudio is a portable audio I/O library designed for cross-platform
@@ -41,13 +42,14 @@ portaudio library.
 
 %prep
 %setup -q -n %{name}
-%patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 
 %build
 %configure --disable-static --enable-cxx
-make %{?_smp_mflags}
+# no -j# because building with -j# is broken
+make
 # Build html devel documentation
 doxygen
 
@@ -76,12 +78,18 @@ rm -rf %{buildroot}
 %doc doc/html/*
 %{_includedir}/portaudiocpp/
 %{_includedir}/portaudio.h
+%{_includedir}/pa_jack.h
+%{_includedir}/pa_linux_alsa.h
 %exclude %{_libdir}/*.la
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
 
 %changelog
+* Sat Mar 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 19-11
+- upgrade to a more recent snapshot to bring in various bugfixes
+- (fix imported from Fedora's 19-13)
+
 * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 19-10
 - initial build for Vine Linux