diff --git a/.gitignore b/.gitignore index b5d568f..122fa68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ ladspa_sdk_1.13.tgz /ladspa_sdk_1.15.tgz +/ladspa_sdk_1.17.tgz diff --git a/ladspa-1.15.patch b/ladspa-1.15.patch deleted file mode 100644 index ed57c04..0000000 --- a/ladspa-1.15.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ru ladspa_sdk_1.15/src/Makefile ladspa_sdk_1.15.new/src/Makefile ---- ladspa_sdk_1.15/src/Makefile 2019-01-06 13:27:52.000000000 +0100 -+++ ladspa_sdk_1.15.new/src/Makefile 2020-04-16 11:53:02.059458285 +0200 -@@ -15,8 +15,7 @@ - - INCLUDES = -I. - LIBRARIES = -ldl -lm --CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC \ -- -DDEFAULT_LADSPA_PATH=$(INSTALL_PLUGINS_DIR) -+CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC - BINFLAGS = -fPIE -pie - CXXFLAGS = $(CFLAGS) - PLUGINS = ../plugins/amp.so \ diff --git a/ladspa-1.17.patch b/ladspa-1.17.patch new file mode 100644 index 0000000..96bf21b --- /dev/null +++ b/ladspa-1.17.patch @@ -0,0 +1,13 @@ +--- ./src/Makefile.0001 2023-10-21 16:00:40.560156632 +0100 ++++ ./src/Makefile 2023-10-21 16:02:21.463841775 +0100 +@@ -15,9 +15,8 @@ INSTALL_BINARY_DIR = /usr/bin/ + + INCLUDES = -I. + LIBRARIES = -ldl -lm -lsndfile +-CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC \ +- -DDEFAULT_LADSPA_PATH=$(INSTALL_PLUGINS_DIR) + BINFLAGS = -fPIE -pie ++CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC + CXXFLAGS = $(CFLAGS) + PLUGINS = ../plugins/amp.so \ + ../plugins/delay.so \ diff --git a/ladspa.spec b/ladspa.spec index 3a06e31..552c688 100644 --- a/ladspa.spec +++ b/ladspa.spec @@ -1,5 +1,5 @@ Name: ladspa -Version: 1.15 +Version: 1.17 Release: 1%{?dist} Summary: Linux Audio Developer's Simple Plug-in API, examples and tools @@ -7,12 +7,13 @@ Summary: Linux Audio Developer's Simple Plug-in API, examples and tools License: LGPLv2+ URL: http://www.ladspa.org/ Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz -Patch1: ladspa-1.15.patch +Patch1: ladspa-1.17.patch BuildRequires: perl-interpreter BuildRequires: gcc-c++ -BuildRequires: make +BuildRequires: make +BuildRequires: pkgconfig(sndfile) %description There is a large number of synthesis packages in use or development on @@ -37,7 +38,7 @@ header file. %prep %setup -q -n ladspa_sdk_%{version} -%patch1 -p1 -b .0001 +%patch -P1 -p1 -b .0001 # respect RPM_OPT_FLAGS perl -pi -e 's/^(CFLAGS.*)-O2(.*)/$1\$\(RPM_OPT_FLAGS\)$2 -DDEFAULT_LADSPA_PATH=\$\(PLUGINDIR\)/' src/Makefile @@ -63,8 +64,6 @@ PLUGINDIR=%{_libdir}/ladspa make targets %{?_smp_mflags} LD="ld --build-id" %install -rm -rf $RPM_BUILD_ROOT - cd src %make_install \ INSTALL_PLUGINS_DIR=$RPM_BUILD_ROOT%{_libdir}/ladspa \ @@ -91,8 +90,9 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf %changelog -* Sun Jan 14 2024 Wim Taymans - 1.15-1 -- Update to 1.15 +* Sun Jan 14 2024 Sérgio Basto - 1.17-1 +- Update to 1.15 Wim Taymans +- Update to 1.17 * Thu Jul 20 2023 Fedora Release Engineering - 1.13-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 3d4b0fc..dc82366 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ladspa_sdk_1.15.tgz) = a521622e23d988284244003e4ccfc3b42f6ddc7944cb00e7949b87e09d7f39a0cbb64b6d8b5a5af0a5ccf7179f88815416a88f02d3912957167e54b74accfc65 +SHA512 (ladspa_sdk_1.17.tgz) = c096e70d245c50ffad379f2c9aab2735c205dfe7c27b5710cad6e43b39f8accc7b8bd2cd7ebbea2c399ad76018b3d4c701ed271de552d098b12ab218a58f0497