forked from pool/librubberband
Accepting request 836328 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/836328 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librubberband?expand=0&rev=19
This commit is contained in:
commit
7fcc729963
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 7 10:46:43 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 1.8.2
|
||||
* Fix a number of small memory leaks
|
||||
* Make stretcher more robust to being fed invalid input (with
|
||||
NaNs)
|
||||
* Various platform build fixes and improvements
|
||||
* The API is unchanged and the library is binary compatible
|
||||
with version 1.7.
|
||||
- Refreshed rubberband-mk.patch
|
||||
- Spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 16 14:44:18 UTC 2015 - olaf@aepfle.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package librubberband
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,50 +12,49 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define library_name librubberband2
|
||||
%define sover 2
|
||||
Name: librubberband
|
||||
Version: 1.8.1
|
||||
Version: 1.8.2
|
||||
Release: 0
|
||||
Summary: Audio time-stretching and pitch-shifting library
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Libraries
|
||||
Url: http://www.breakfastquay.com/rubberband/
|
||||
Source: http://code.breakfastquay.com/attachments/download/34/rubberband-%{version}.tar.bz2
|
||||
URL: https://www.breakfastquay.com/rubberband/
|
||||
Source: https://breakfastquay.com/files/releases/rubberband-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch1: rubberband-mk.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: help2man
|
||||
BuildRequires: ladspa-devel
|
||||
BuildRequires: libsamplerate-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: vamp-plugin-sdk-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(fftw3)
|
||||
BuildRequires: pkgconfig(samplerate)
|
||||
BuildRequires: pkgconfig(sndfile)
|
||||
BuildRequires: pkgconfig(vamp-sdk)
|
||||
Requires: ladspa
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Rubber Band is a library and utility program that permits you to change the
|
||||
tempo and pitch of an audio recording independently of one another.
|
||||
|
||||
%package -n %{library_name}
|
||||
%package -n %{name}%{sover}
|
||||
Summary: Audio time-stretching and pitch-shifting library
|
||||
Group: System/Libraries
|
||||
Url: http://www.breakfastquay.com/rubberband/
|
||||
URL: https://www.breakfastquay.com/rubberband/
|
||||
|
||||
%description -n %{library_name}
|
||||
%description -n %{name}%{sover}
|
||||
Rubber Band is a library and utility program that permits you to change the
|
||||
tempo and pitch of an audio recording independently of one another.
|
||||
|
||||
%package -n rubberband-cli
|
||||
Summary: Command line interface for %{name}
|
||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||
Requires: %{library_name} = %{version}
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
|
||||
%description -n rubberband-cli
|
||||
Package rubberband-cli contains a command-line utility that can be used to exploit
|
||||
@ -64,7 +63,7 @@ Rubber Band's capabilities.
|
||||
%package -n rubberband-ladspa
|
||||
Summary: LADSPA plugin for %{name}
|
||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||
Requires: %{library_name} = %{version}
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
|
||||
%description -n rubberband-ladspa
|
||||
Package rubberband-ladspa is LADSPA plugin that can change the pitch of a sound in real-time.
|
||||
@ -72,7 +71,7 @@ Package rubberband-ladspa is LADSPA plugin that can change the pitch of a sound
|
||||
%package -n rubberband-vamp
|
||||
Summary: Vamp plugins for %{name}
|
||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||
Requires: %{library_name} = %{version}
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
|
||||
%description -n rubberband-vamp
|
||||
This package contains the following Vamp plugins:
|
||||
@ -94,7 +93,7 @@ This package contains the following Vamp plugins:
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{library_name} = %{version}
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
@ -103,20 +102,18 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n rubberband-%{version}
|
||||
%patch1
|
||||
%patch1 -p1
|
||||
# Fix README EOL encoding
|
||||
dos2unix -o README.txt
|
||||
mv README.txt README
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
rm %{buildroot}%{_libdir}/*.a
|
||||
%make_install
|
||||
|
||||
%if 0%{?suse_version} > 1140
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
pushd %{buildroot}%{_mandir}/man1
|
||||
cp -v %{buildroot}%{_bindir}/rubberband ./
|
||||
@ -124,42 +121,36 @@ help2man --no-discard-stderr \
|
||||
-N -o rubberband.1 ./rubberband
|
||||
rm rubberband
|
||||
popd
|
||||
%endif
|
||||
|
||||
%post -n %{library_name} -p /sbin/ldconfig
|
||||
%post -n %{name}%{sover} -p /sbin/ldconfig
|
||||
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{library_name} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{library_name}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING
|
||||
%{_libdir}/*.so.*
|
||||
%files -n %{name}%{sover}
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_libdir}/%{name}.so.%{sover}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/rubberband
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/rubberband.pc
|
||||
|
||||
%files -n rubberband-cli
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/rubberband
|
||||
%if 0%{?suse_version} > 1140
|
||||
%{_mandir}/man1/rubberband.1.gz
|
||||
%endif
|
||||
%{_mandir}/man1/rubberband.1%{?ext_man}
|
||||
|
||||
%files -n rubberband-ladspa
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_libdir}/ladspa
|
||||
%dir %{_datadir}/ladspa
|
||||
%dir %{_datadir}/ladspa/rdf
|
||||
%{_libdir}/ladspa/ladspa-rubberband.*
|
||||
%{_libdir}/ladspa/ladspa-rubberband.cat
|
||||
%{_libdir}/ladspa/ladspa-rubberband.so
|
||||
%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
|
||||
|
||||
%files -n rubberband-vamp
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_libdir}/vamp
|
||||
%{_libdir}/vamp/vamp-rubberband.*
|
||||
%{_libdir}/vamp/vamp-rubberband.cat
|
||||
%{_libdir}/vamp/vamp-rubberband.so
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75
|
||||
size 177501
|
3
rubberband-1.8.2.tar.bz2
Normal file
3
rubberband-1.8.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:86bed06b7115b64441d32ae53634fcc0539a50b9b648ef87443f936782f6c3ca
|
||||
size 182232
|
@ -1,18 +1,44 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -28,11 +28,11 @@
|
||||
Index: rubberband-1.8.2/Makefile.in
|
||||
===================================================================
|
||||
--- rubberband-1.8.2.orig/Makefile.in
|
||||
+++ rubberband-1.8.2/Makefile.in
|
||||
@@ -20,11 +20,11 @@ AR := ar
|
||||
|
||||
INSTALL_BINDIR := @prefix@/bin
|
||||
INSTALL_INCDIR := @prefix@/include/rubberband
|
||||
-INSTALL_LIBDIR := @prefix@/lib
|
||||
-INSTALL_VAMPDIR := @prefix@/lib/vamp
|
||||
-INSTALL_LADSPADIR := @prefix@/lib/ladspa
|
||||
INSTALL_BINDIR := $(PREFIX)/bin
|
||||
INSTALL_INCDIR := $(PREFIX)/include/rubberband
|
||||
-INSTALL_LIBDIR := $(PREFIX)/lib
|
||||
-INSTALL_VAMPDIR := $(PREFIX)/lib/vamp
|
||||
-INSTALL_LADSPADIR := $(PREFIX)/lib/ladspa
|
||||
+INSTALL_LIBDIR := @libdir@
|
||||
+INSTALL_VAMPDIR := @libdir@/vamp
|
||||
+INSTALL_LADSPADIR := @libdir@/ladspa
|
||||
INSTALL_LRDFDIR := @prefix@/share/ladspa/rdf
|
||||
-INSTALL_PKGDIR := @prefix@/lib/pkgconfig
|
||||
INSTALL_LRDFDIR := $(PREFIX)/share/ladspa/rdf
|
||||
-INSTALL_PKGDIR := $(PREFIX)/lib/pkgconfig
|
||||
+INSTALL_PKGDIR := @libdir@/pkgconfig
|
||||
|
||||
all: bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
|
||||
LIBNAME := librubberband
|
||||
JNINAME := librubberband-jni
|
||||
@@ -45,7 +45,7 @@ JAR_TARGET := lib/$(JARNAME)
|
||||
VAMP_TARGET := lib/vamp-rubberband$(DYNAMIC_EXTENSION)
|
||||
LADSPA_TARGET := lib/ladspa-rubberband$(DYNAMIC_EXTENSION)
|
||||
|
||||
-all: bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
|
||||
+all: bin lib $(PROGRAM_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
|
||||
|
||||
static: $(STATIC_TARGET)
|
||||
dynamic: $(DYNAMIC_TARGET)
|
||||
@@ -176,14 +176,12 @@ install: all
|
||||
$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
|
||||
cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
|
||||
cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
|
||||
- cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
|
||||
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
|
||||
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
|
||||
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
|
||||
cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
|
||||
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
|
||||
ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
|
||||
- cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
|
||||
cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
|
Loading…
Reference in New Issue
Block a user