[packages/ladspa-amb-plugins] - initial
qboosh
qboosh at pld-linux.org
Mon Sep 26 21:21:47 CEST 2016
commit e7315039d737b9ee7d425ec0ab8175cf2cc200a6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Sep 26 21:23:27 2016 +0200
- initial
ladspa-amb-plugins-make.patch | 35 ++++++++++++++++++++++++++++++
ladspa-amb-plugins.spec | 50 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
---
diff --git a/ladspa-amb-plugins.spec b/ladspa-amb-plugins.spec
new file mode 100644
index 0000000..3cc4aa6
--- /dev/null
+++ b/ladspa-amb-plugins.spec
@@ -0,0 +1,50 @@
+Summary: AMB (Ambisonics decoder and panner) LADSPA plugins
+Summary(pl.UTF-8): Wtyczki LADSPA AMB (dekodery i pannery Ambisonics)
+Name: ladspa-amb-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/AMB-plugins-%{version}.tar.bz2
+# Source0-md5: 88db5ecbe29e0fd75145e7e3beac69d1
+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
+AMB (Ambisonics surround sound decoder and panner) LADSPA plugins.
+
+%description -l pl.UTF-8
+Wtyczki LADSPA AMB (dekodery i pannery dźwięku przestrzennego
+Ambisonics).
+
+%prep
+%setup -q -n AMB-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/ambis1.so
+%attr(755,root,root) %{_libdir}/ladspa/ambis2.so
diff --git a/ladspa-amb-plugins-make.patch b/ladspa-amb-plugins-make.patch
new file mode 100644
index 0000000..9191631
--- /dev/null
+++ b/ladspa-amb-plugins-make.patch
@@ -0,0 +1,35 @@
+--- AMB-plugins-0.1.0/Makefile.orig 2016-09-26 21:12:46.451179651 +0200
++++ AMB-plugins-0.1.0/Makefile 2016-09-26 21:12:49.164512952 +0200
+@@ -1,27 +1,27 @@
+-
++CXX=g++
+ CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall -O3
++INSTALL_PLUGINS_DIR=/usr/lib/ladspa
+
+
+ all: ambis1.so ambis2.so
+
+
+ ambis1.so: ambis1.o ambis1_if.o filter1.o
+- g++ -shared -o $@ ambis1.o ambis1_if.o filter1.o
++ $(CXX) -shared -o $@ ambis1.o ambis1_if.o filter1.o
+
+ ambis1.o: ladspaplugin.h ambis1.h filter1.h
+ ambis1_if.o: ladspaplugin.h ambis1.h
+
+
+ ambis2.so: ambis2.o ambis2_if.o
+- g++ -shared -o $@ ambis2.o ambis2_if.o
++ $(CXX) -shared -o $@ ambis2.o ambis2_if.o
+
+ ambis2.o: ladspaplugin.h ambis2.h
+ ambis2_if.o: ladspaplugin.h ambis2.h
+
+
+ install: all
+- /usr/bin/install -m 755 *.so /usr/lib/ladspa
+- /bin/rm -rf /usr/bin/ladspa/ambis.so
++ /usr/bin/install -m 755 *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
+
+
+ DIR := $(shell basename `pwd`)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ladspa-amb-plugins.git/commitdiff/e7315039d737b9ee7d425ec0ab8175cf2cc200a6
More information about the pld-cvs-commit
mailing list