From ac5fc2f735dd31e056cd1d94de0642dd8b15655cad66e48530e793e8f5670acc Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 4 Aug 2022 08:06:00 +0000 Subject: [PATCH 1/2] Accepting request 992633 from home:llyyr:branches:multimedia:libs - Update to version 3.0.0 * Introduces a new engine * Various other changes - Add rubberband-lv2 package OBS-URL: https://build.opensuse.org/request/show/992633 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/librubberband?expand=0&rev=16 --- librubberband.changes | 8 ++++++ librubberband.spec | 57 ++++++++++++++++++++++------------------ rubberband-1.8.2.tar.bz2 | 3 --- rubberband-3.0.0.tar.bz2 | 3 +++ rubberband-mk.patch | 44 ------------------------------- 5 files changed, 43 insertions(+), 72 deletions(-) delete mode 100644 rubberband-1.8.2.tar.bz2 create mode 100644 rubberband-3.0.0.tar.bz2 delete mode 100644 rubberband-mk.patch diff --git a/librubberband.changes b/librubberband.changes index 19fc3fa..128721f 100644 --- a/librubberband.changes +++ b/librubberband.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Aug 3 17:55:40 UTC 2022 - llyyr + +- Update to version 3.0.0 + * Introduces a new engine + * Various other changes +- Add rubberband-lv2 package + ------------------------------------------------------------------- Mon Sep 7 10:46:43 UTC 2020 - Luigi Baldoni diff --git a/librubberband.spec b/librubberband.spec index c04dbdf..7ae49b5 100644 --- a/librubberband.spec +++ b/librubberband.spec @@ -1,7 +1,7 @@ # # spec file for package librubberband # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 2 Name: librubberband -Version: 1.8.2 +Version: 3.0.0 Release: 0 Summary: Audio time-stretching and pitch-shifting library License: GPL-2.0-or-later @@ -26,17 +26,19 @@ Group: System/Libraries 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: cmake BuildRequires: gcc-c++ -BuildRequires: help2man BuildRequires: ladspa-devel +BuildRequires: meson >= 0.53.0 BuildRequires: pkgconfig +BuildRequires: vamp-plugin-sdk-devel BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(lv2) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(vamp-sdk) Requires: ladspa +Requires: lv2 %description Rubber Band is a library and utility program that permits you to change the @@ -68,6 +70,14 @@ 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. +%package -n rubberband-lv2 +Summary: LV2 plugins for %{name} +Group: Productivity/Multimedia/Sound/Utilities +Requires: %{name}%{sover} = %{version} + +%description -n rubberband-lv2 +Package rubberband-lv2 contains the rubberband LV2 plugin. + %package -n rubberband-vamp Summary: Vamp plugins for %{name} Group: Productivity/Multimedia/Sound/Editors and Convertors @@ -102,43 +112,33 @@ developing applications that use %{name}. %prep %setup -q -n rubberband-%{version} -%patch1 -p1 -# Fix README EOL encoding -dos2unix -o README.txt -mv README.txt README %build -%configure -%make_build +%meson -Dfft=fftw +%meson_build %install -%make_install - -mkdir -p %{buildroot}%{_mandir}/man1 -pushd %{buildroot}%{_mandir}/man1 -cp -v %{buildroot}%{_bindir}/rubberband ./ -help2man --no-discard-stderr \ - -N -o rubberband.1 ./rubberband -rm rubberband -popd +%meson_install +find %{buildroot} -name '*.la' -exec rm -f {} ';' +rm -rf %{buildroot}%{_libdir}/*.a %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig %files -n %{name}%{sover} %license COPYING -%doc README +%doc README.md %{_libdir}/%{name}.so.%{sover}* %files devel -%doc -%{_includedir}/rubberband -%{_libdir}/%{name}.so +%dir %{_includedir}/rubberband +%{_includedir}/rubberband/*.h +%{_libdir}/librubberband.so %{_libdir}/pkgconfig/rubberband.pc %files -n rubberband-cli %{_bindir}/rubberband -%{_mandir}/man1/rubberband.1%{?ext_man} +%{_bindir}/rubberband-r3 %files -n rubberband-ladspa %dir %{_libdir}/ladspa @@ -148,6 +148,13 @@ popd %{_libdir}/ladspa/ladspa-rubberband.so %{_datadir}/ladspa/rdf/ladspa-rubberband.rdf +%files -n rubberband-lv2 +%dir %{_libdir}/lv2 +%dir %{_libdir}/lv2/rubberband.lv2 +%{_libdir}/lv2/rubberband.lv2/lv2-rubberband.so +%{_libdir}/lv2/rubberband.lv2/lv2-rubberband.ttl +%{_libdir}/lv2/rubberband.lv2/manifest.ttl + %files -n rubberband-vamp %dir %{_libdir}/vamp %{_libdir}/vamp/vamp-rubberband.cat diff --git a/rubberband-1.8.2.tar.bz2 b/rubberband-1.8.2.tar.bz2 deleted file mode 100644 index 8a589cc..0000000 --- a/rubberband-1.8.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86bed06b7115b64441d32ae53634fcc0539a50b9b648ef87443f936782f6c3ca -size 182232 diff --git a/rubberband-3.0.0.tar.bz2 b/rubberband-3.0.0.tar.bz2 new file mode 100644 index 0000000..d1dfdff --- /dev/null +++ b/rubberband-3.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df6530b403c8300a23973df22f36f3c263f010d53792063e411f633cebb9ed85 +size 213089 diff --git a/rubberband-mk.patch b/rubberband-mk.patch deleted file mode 100644 index 3ba51e7..0000000 --- a/rubberband-mk.patch +++ /dev/null @@ -1,44 +0,0 @@ -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_LIBDIR := @libdir@ -+INSTALL_VAMPDIR := @libdir@/vamp -+INSTALL_LADSPADIR := @libdir@/ladspa - INSTALL_LRDFDIR := $(PREFIX)/share/ladspa/rdf --INSTALL_PKGDIR := $(PREFIX)/lib/pkgconfig -+INSTALL_PKGDIR := @libdir@/pkgconfig - - 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) From 5f0a6698b886a5c082dadc08aa03b2d9f6ae68d0406ff7ca8af87d426ae83388 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 8 Aug 2022 06:59:31 +0000 Subject: [PATCH 2/2] - Drop obsoleted patch: rubberband-mk.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/librubberband?expand=0&rev=17 --- librubberband.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/librubberband.changes b/librubberband.changes index 128721f..417f766 100644 --- a/librubberband.changes +++ b/librubberband.changes @@ -5,6 +5,7 @@ Wed Aug 3 17:55:40 UTC 2022 - llyyr * Introduces a new engine * Various other changes - Add rubberband-lv2 package +- Drop obsoleted patch: rubberband-mk.patch ------------------------------------------------------------------- Mon Sep 7 10:46:43 UTC 2020 - Luigi Baldoni