Update to 1.15 Wim Taymans <wtaymans@fedoraproject.org>

Update to 1.17
This commit is contained in:
Sérgio M. Basto 2024-01-14 23:38:48 +00:00
parent facade41e3
commit c678e64d45
5 changed files with 23 additions and 22 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
ladspa_sdk_1.13.tgz
/ladspa_sdk_1.15.tgz
/ladspa_sdk_1.17.tgz

View File

@ -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 \

13
ladspa-1.17.patch Normal file
View File

@ -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 \

View File

@ -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: 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 <wtaymans@fedoraproject.org> - 1.15-1
- Update to 1.15
* Sun Jan 14 2024 Sérgio Basto <sergio@serjux.com> - 1.17-1
- Update to 1.15 Wim Taymans <wtaymans@fedoraproject.org>
- Update to 1.17
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (ladspa_sdk_1.15.tgz) = a521622e23d988284244003e4ccfc3b42f6ddc7944cb00e7949b87e09d7f39a0cbb64b6d8b5a5af0a5ccf7179f88815416a88f02d3912957167e54b74accfc65
SHA512 (ladspa_sdk_1.17.tgz) = c096e70d245c50ffad379f2c9aab2735c205dfe7c27b5710cad6e43b39f8accc7b8bd2cd7ebbea2c399ad76018b3d4c701ed271de552d098b12ab218a58f0497