[packages/ladspa] - updated to 1.17 - pass BINFLAGS for as-needes support (so that only applyplugin is linked with lib

qboosh qboosh at pld-linux.org
Fri Jan 21 22:02:09 CET 2022


commit e41a7cf4649f0bdbe15d32e9c09ffce0ae3ad7ca
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jan 21 22:03:15 2022 +0100

    - updated to 1.17
    - pass BINFLAGS for as-needes support (so that only applyplugin is linked with libsndfile)

 ladspa.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ladspa.spec b/ladspa.spec
index fc70f29..9f44765 100644
--- a/ladspa.spec
+++ b/ladspa.spec
@@ -1,13 +1,14 @@
 Summary:	LADSPA SDK example plugins
 Summary(pl.UTF-8):	Przykładowe wtyczki z LADSPA SDK
 Name:		ladspa
-Version:	1.15
+Version:	1.17
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
-# Source0-md5:	5824922ad4ae6aeb2910d302191e7afd
+# Source0-md5:	59294cb5e0d3507667c52f5695b97197
 URL:		http://www.ladspa.org/
+BuildRequires:	libsndfile-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	sed >= 4.0
 Requires:	%{name}-common = %{version}-%{release}
@@ -83,6 +84,7 @@ komentarzach pliku nagłówkowego ladspa.h.
 
 %build
 %{__make} -C src targets \
+	BINFLAGS="%{rpmldflags} -fPIE -pie" \
 	CC="%{__cc}" \
 	CPP="%{__cxx}" \
 	CFLAGS="-I. -Wall -Werror %{rpmcflags} %{rpmcppflags} -fPIC -DDEFAULT_LADSPA_PATH=%{_libdir}/ladspa" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ladspa.git/commitdiff/e41a7cf4649f0bdbe15d32e9c09ffce0ae3ad7ca



More information about the pld-cvs-commit mailing list