[packages/lv2] don't generate soname provides for plugins,

jajcus jajcus at pld-linux.org
Wed Oct 12 20:22:16 CEST 2016


commit 372f7b05a86a728c7e0a543028d5fabdf2311254
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Wed Oct 12 20:21:32 2016 +0200

    don't generate soname provides for plugins,
    
    pass CC and CFLAGS to configure

 lv2.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/lv2.spec b/lv2.spec
index a3cfc66..4477619 100644
--- a/lv2.spec
+++ b/lv2.spec
@@ -17,7 +17,7 @@ Summary:	LV2 (LADSPA Version 2) Audio Plugin Standard
 Summary(pl.UTF-8):	LV2 (LADSPA Version 2) - standard wtyczek dźwiękowych
 Name:		lv2
 Version:	1.14.0
-Release:	1
+Release:	2
 License:	ISC
 Group:		Libraries
 Source0:	http://lv2plug.in/spec/%{name}-%{version}.tar.bz2
@@ -58,6 +58,8 @@ Provides:	lv2-urid = %{lv2_urid_ver}
 Obsoletes:	lv2-urid < %{lv2_urid_ver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautoprovfiles	%{_libdir}/lv2
+
 %description
 LV2 is a standard for audio systems. It defines a minimal yet
 extensible C API for plugin code and a format for plugin "bundles".
@@ -142,6 +144,11 @@ Przykładowa wtyczka dla LV2: prosty oscyoloskop.
 %setup -q
 
 %build
+CC="%{__cc}" \
+CXX="%{__cxx}" \
+CFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+LDFLAGS="%{rpmldflags}" \
 ./waf configure \
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lv2.git/commitdiff/372f7b05a86a728c7e0a543028d5fabdf2311254



More information about the pld-cvs-commit mailing list