commit
ab03e3a1e6
BIN
pa_stable_v19_20140130.tgz
Normal file
BIN
pa_stable_v19_20140130.tgz
Normal file
Binary file not shown.
21
portaudio-doxynodate.patch
Normal file
21
portaudio-doxynodate.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -Naupr portaudio.orig/Doxyfile portaudio/Doxyfile
|
||||
--- portaudio.orig/Doxyfile 2006-08-23 10:15:11.000000000 +0200
|
||||
+++ portaudio/Doxyfile 2008-12-22 14:11:16.558309299 +0100
|
||||
@@ -124,7 +124,7 @@ GENERATE_HTML = YES
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER =
|
||||
-HTML_FOOTER =
|
||||
+HTML_FOOTER = no_date_footer.html
|
||||
HTML_STYLESHEET =
|
||||
HTML_ALIGN_MEMBERS = YES
|
||||
GENERATE_HTMLHELP = NO
|
||||
diff -Naupr portaudio.orig/no_date_footer.html portaudio/no_date_footer.html
|
||||
--- portaudio.orig/no_date_footer.html 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ portaudio/no_date_footer.html 2008-12-22 14:11:01.144246196 +0100
|
||||
@@ -0,0 +1,5 @@
|
||||
+<hr size="1"><address style="text-align: right;"><small>Generated for $projectname by
|
||||
+<a href="http://www.doxygen.org/index.html">
|
||||
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>$doxygenversion</small></address>
|
||||
+</body>
|
||||
+</html>
|
||||
12
portaudio-pkgconfig-alsa.patch
Normal file
12
portaudio-pkgconfig-alsa.patch
Normal file
@ -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@
|
||||
59
portaudio.spec
Normal file
59
portaudio.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: portaudio
|
||||
Version: 19
|
||||
Release: 29
|
||||
Summary: Free, cross platform, open-source, audio I/O library
|
||||
License: MIT
|
||||
URL: http://www.portaudio.com/
|
||||
Source0: http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz
|
||||
Patch0000: portaudio-doxynodate.patch
|
||||
Patch0001: portaudio-pkgconfig-alsa.patch
|
||||
BuildRequires: doxygen alsa-lib-devel jack-audio-connection-kit-devel autoconf automake libtool
|
||||
|
||||
%description
|
||||
PortAudio is a portable audio I/O library that uses a callback
|
||||
mechanism to request audio processing.Audio can be generated in
|
||||
multiple formats.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the portaudio audio I/O library
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains files required to build applications that will use the
|
||||
portaudio library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name} -p1
|
||||
autoreconf -i -f
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-cxx
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' bindings/cpp/libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' bindings/cpp/libtool
|
||||
make
|
||||
doxygen
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%doc doc/html/*
|
||||
%{_includedir}/portaudiocpp/
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%exclude %{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 19-29
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user