[packages/ladspa-fil-plugins] - initial

qboosh qboosh at pld-linux.org
Mon Sep 26 21:36:49 CEST 2016


commit 52af8a56056235e57de2ce520a14e0aa0cbd5c1f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Sep 26 21:38:30 2016 +0200

    - initial

 ladspa-fil-plugins-make.patch | 26 +++++++++++++++++++++++
 ladspa-fil-plugins.spec       | 48 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)
---
diff --git a/ladspa-fil-plugins.spec b/ladspa-fil-plugins.spec
new file mode 100644
index 0000000..b3b8ebb
--- /dev/null
+++ b/ladspa-fil-plugins.spec
@@ -0,0 +1,48 @@
+Summary:	FIL (equalizer filter) LADSPA plugin
+Summary(pl.UTF-8):	Wtyczka LADSPA FIL (filtr korektora)
+Name:		ladspa-fil-plugins
+Version:	0.1.0
+Release:	1
+License:	GPL v2+
+Group:		Applications/Sound
+#Source0Download: http://users.skynet.be/solaris/linuxaudio/getit.html
+Source0:	http://users.skynet.be/solaris/linuxaudio/downloads/FIL-plugins-%{version}.tar.bz2
+# Source0-md5:	6be67349d51191435ba8b5b124440f01
+Patch0:		%{name}-make.patch
+URL:		http://users.skynet.be/solaris/linuxaudio/
+BuildRequires:	ladspa-devel
+BuildRequires:	libstdc++-devel
+Requires:	ladspa-common
+Obsoletes:	ladspa-mcp-plugins-alsa-modular-synth-examples
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FIL (equalizer filter) LADSPA plugin.
+
+%description -l pl.UTF-8
+Wtyczka LADSPA FIL (filtr korektora).
+
+%prep
+%setup -q -n FIL-plugins-%{version}
+%patch0 -p1
+
+%build
+%{__make} \
+	CXX="%{__cxx}" \
+	CPPFLAGS="-I. -fPIC -D_REENTRANT -Wall %{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ladspa
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	INSTALL_PLUGINS_DIR=%{_libdir}/ladspa
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/ladspa/filters.so
diff --git a/ladspa-fil-plugins-make.patch b/ladspa-fil-plugins-make.patch
new file mode 100644
index 0000000..e158adc
--- /dev/null
+++ b/ladspa-fil-plugins-make.patch
@@ -0,0 +1,26 @@
+--- FIL-plugins-0.1.0/Makefile.orig	2005-05-17 23:05:50.000000000 +0200
++++ FIL-plugins-0.1.0/Makefile	2016-09-26 21:29:50.674501286 +0200
+@@ -1,19 +1,20 @@
+-
++CXX=g++
+ CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall -O3
++INSTALL_PLUGINS_DIR=/usr/lib/ladspa
+ 
+ 
+ all:	filters.so
+ 
+ 
+ filters.so:	filters.o filters_if.o exp2ap.o
+-	g++ -shared filters.o filters_if.o exp2ap.o -o filters.so
++	$(CXX) -shared filters.o filters_if.o exp2ap.o -o filters.so
+ 
+ filters.o:	ladspaplugin.h filters.h
+ filters_if.o:	ladspaplugin.h filters.h
+ 
+ 
+ install:
+-	cp  *.so /usr/lib/ladspa
++	cp  *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
+ 
+ 
+ DIR := $(shell basename `pwd`)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ladspa-fil-plugins.git/commitdiff/52af8a56056235e57de2ce520a14e0aa0cbd5c1f



More information about the pld-cvs-commit mailing list