automatic version update by autodist [release 1.8.0-1mamba;Tue Mar 18 2014]
This commit is contained in:
parent
43dd2d3a7a
commit
e6ae458f9b
@ -1,2 +1,7 @@
|
||||
# libsoundtouch
|
||||
|
||||
SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files:
|
||||
* Tempo (time-stretch): Changes the sound to play at faster or slower speed than original, without affecting the sound pitch.
|
||||
* Pitch (key) : Changes the sound pitch or key, without affecting the sound tempo or speed.
|
||||
* Playback Rate : Changes both the sound tempo and pitch, as if an LP disc was played at wrong RPM rate.
|
||||
|
||||
|
12
libsoundtouch-1.7.1-arm-float_samples.patch
Normal file
12
libsoundtouch-1.7.1-arm-float_samples.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nru soundtouch.orig/include/STTypes.h soundtouch/include/STTypes.h
|
||||
--- soundtouch.orig/include/STTypes.h 2012-12-28 21:56:45.000000000 +0100
|
||||
+++ soundtouch/include/STTypes.h 2013-02-03 14:07:56.840949154 +0100
|
||||
@@ -78,7 +78,7 @@
|
||||
//#undef SOUNDTOUCH_INTEGER_SAMPLES
|
||||
//#undef SOUNDTOUCH_FLOAT_SAMPLES
|
||||
|
||||
- #if (defined(__SOFTFP__))
|
||||
+ #if ((defined(__SOFTFP__)) && (defined(ANDROID)))
|
||||
// For Android compilation: Force use of Integer samples in case that
|
||||
// compilation uses soft-floating point emulation - soft-fp is way too slow
|
||||
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
11
libsoundtouch-1.7.1-autoconf.patch
Normal file
11
libsoundtouch-1.7.1-autoconf.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- soundtouch/configure.ac.orig 2013-01-06 17:22:01.834107811 +0100
|
||||
+++ soundtouch/configure.ac 2013-01-06 17:21:11.127607077 +0100
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
AC_INIT(SoundTouch, 1.7.0, [http://www.surina.net/soundtouch])
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
-AM_CONFIG_HEADER([include/soundtouch_config.h])
|
||||
+AC_CONFIG_HEADERS([include/soundtouch_config.h])
|
||||
AM_INIT_AUTOMAKE
|
||||
#AC_DISABLE_SHARED dnl This makes libtool only build static libs
|
||||
AC_DISABLE_STATIC dnl This makes libtool only build shared libs
|
111
libsoundtouch.spec
Normal file
111
libsoundtouch.spec
Normal file
@ -0,0 +1,111 @@
|
||||
Name: libsoundtouch
|
||||
Version: 1.8.0
|
||||
Release: 1mamba
|
||||
Summary: An audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.surina.net/soundtouch/index.html
|
||||
Source: http://www.surina.net/soundtouch/soundtouch-%{version}.tar.gz
|
||||
Patch0: libsoundtouch-1.7.1-autoconf.patch
|
||||
Patch1: libsoundtouch-1.7.1-arm-float_samples.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files:
|
||||
* Tempo (time-stretch): Changes the sound to play at faster or slower speed than original, without affecting the sound pitch.
|
||||
* Pitch (key) : Changes the sound pitch or key, without affecting the sound tempo or speed.
|
||||
* Playback Rate : Changes both the sound tempo and pitch, as if an LP disc was played at wrong RPM rate.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for libsoundtouch
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} == %{version}
|
||||
|
||||
%description devel
|
||||
SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files:
|
||||
* Tempo (time-stretch): Changes the sound to play at faster or slower speed than original, without affecting the sound pitch.
|
||||
* Pitch (key) : Changes the sound pitch or key, without affecting the sound tempo or speed.
|
||||
* Playback Rate : Changes both the sound tempo and pitch, as if an LP disc was played at wrong RPM rate.
|
||||
|
||||
This package contains the header files and the static library for development.
|
||||
|
||||
%prep
|
||||
%setup -q -n soundtouch
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
#% ifnarch %ix86 x86_64
|
||||
# cc1plus: error: unrecognized command line option "-msse2"
|
||||
#sed -i "s|-msse2||" source/SoundTouch/Makefile.am source/SoundTouch/Makefile.in
|
||||
#% endif
|
||||
|
||||
%build
|
||||
./bootstrap
|
||||
#touch NEWS README AUTHORS ChangeLog
|
||||
#automake --add-missing || true
|
||||
%configure \
|
||||
--enable-shared
|
||||
|
||||
%make \
|
||||
pkgdocdir=%{_docdir}/soundtouch \
|
||||
%ifarch arm
|
||||
AM_CXXFLAGS="-O3"
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall \
|
||||
pkgdocdir=%{_docdir}/soundtouch
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libSoundTouch.so.*
|
||||
%doc README.html
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/soundstretch
|
||||
#%{_libdir}/libSoundTouch.a
|
||||
%{_libdir}/libSoundTouch.la
|
||||
%{_libdir}/libSoundTouch.so
|
||||
%dir %{_includedir}/soundtouch/
|
||||
%{_includedir}/soundtouch/*.h
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/aclocal/soundtouch.m4
|
||||
%dir %{_docdir}/soundtouch
|
||||
%{_docdir}/soundtouch/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-2mamba
|
||||
- arm: patch to keep using float types for audacity to build
|
||||
|
||||
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Sep 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
|
||||
- enabled build of shared library
|
||||
|
||||
* Fri May 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user