commit 43384ac8f5fb28571e23ddaf1a1e42267dd5644e
Author: Jacek Konieczny <jaj...@jajcus.net>
Date:   Wed Oct 12 20:40:41 2016 +0200

    no lv2/ladspa soname provides, better cflags passing
    
    Release: 2

 guitarix.spec | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/guitarix.spec b/guitarix.spec
index fc1aa84..c9b30d5 100644
--- a/guitarix.spec
+++ b/guitarix.spec
@@ -1,7 +1,7 @@
 Summary:       Linux Rock Guitar Amplifier for Jack Audio Connektion Kit
 Name:          guitarix
 Version:       0.35.1
-Release:       1
+Release:       2
 License:       GPL v2+, GPL v3+ (abgate plugin)
 Group:         Applications/Multimedia
 Source0:       
http://downloads.sourceforge.net/guitarix/%{name}2-%{version}.tar.xz
@@ -30,6 +30,8 @@ Requires:     ladspa
 Requires:      fonts-TTF-Roboto
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _noautoprovfiles        %{_libdir}/(ladspa|lv2)
+
 %description
 Guitarix is a simple Linux Rock Guitar Amplifier for jack (Jack Audio
 Connektion Kit) with one input and two outputs. Designed to get nice
@@ -45,8 +47,13 @@ use the feedback and feedforward sliders.
 %setup -q
 
 %build
+CC="%{__cc}" \
+CXX="%{__cxx}" \
+CFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+LDFLAGS="%{rpmldflags}" \
 ./waf configure \
-       --cxxflags-release="%{rpmcflags} -DNDEBUG" \
+       --cxxflags-release="-DNDEBUG" \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
        --ladspadir=%{_libdir}/ladspa
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guitarix.git/commitdiff/43384ac8f5fb28571e23ddaf1a1e42267dd5644e

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to