[packages/ladspa-wah-plugins] - initial
qboosh
qboosh at pld-linux.org
Thu Jan 27 21:30:14 CET 2022
commit 8a2766e4169ffd5668c50f088850517adb253b07
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jan 27 21:31:22 2022 +0100
- initial
ladspa-wah-plugins-make.patch | 31 +++++++++++++++++++++++++++
ladspa-wah-plugins.spec | 50 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
---
diff --git a/ladspa-wah-plugins.spec b/ladspa-wah-plugins.spec
new file mode 100644
index 0000000..ab8fc2c
--- /dev/null
+++ b/ladspa-wah-plugins.spec
@@ -0,0 +1,50 @@
+Summary: WAH (wah pedal) LADSPA plugins
+Summary(pl.UTF-8): Wtyczki LADSPA WAH (pedał wah)
+Name: ladspa-wah-plugins
+Version: 0.1.0
+Release: 1
+License: GPL v2+
+Group: Applications/Sound
+Source0: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/WAH-plugins-%{version}.tar.bz2
+# Source0-md5: d5df8cb2c88a153316a711512c1646c7
+Patch0: %{name}-make.patch
+URL: http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html
+BuildRequires: ladspa-devel
+BuildRequires: libstdc++-devel
+Requires: ladspa-common
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _noautoprovfiles %{_libdir}/ladspa
+
+%description
+WAH (wah pedal) LADSPA plugins.
+
+%description -l pl.UTF-8
+Wtyczki LADSPA WAH (pedał wah).
+
+%prep
+%setup -q -n WAH-plugins-%{version}
+%patch0 -p1
+
+%build
+CPPFLAGS="%{rpmcppflags}" \
+CXXFLAGS="%{rpmcppflags}" \
+LDFLAGS="%{rpmldflags}" \
+%{__make} \
+ CXX="%{__cxx}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ladspa
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ LADSPA_LIB_DIR=%{_libdir}/ladspa
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/ladspa/autowah.so
diff --git a/ladspa-wah-plugins-make.patch b/ladspa-wah-plugins-make.patch
new file mode 100644
index 0000000..af26bde
--- /dev/null
+++ b/ladspa-wah-plugins-make.patch
@@ -0,0 +1,31 @@
+--- WAH-plugins-0.1.0/Makefile.orig 2014-03-09 12:59:20.000000000 +0100
++++ WAH-plugins-0.1.0/Makefile 2022-01-27 21:10:26.642027380 +0100
+@@ -19,9 +19,10 @@
+ # --------------------------------------------------------------------------
+
+
++CXX = g++
+ CPPFLAGS += -I. -D_REENTRANT
+-CXXFLAGS += -ffast-math -fPIC -Wall -O3
+-
++CXXFLAGS += -ffast-math -fPIC -Wall
++LADSPA_LIB_DIR = /usr/lib/ladspa
+
+ all: autowah.so
+
+@@ -30,13 +31,13 @@ WAHPLUGINS_O = wahplugins.o autowah.o
+ WAHPLUGINS_H = ladspaplugin.h autowah.h
+
+ autowah.so: $(WAHPLUGINS_O)
+- g++ -shared -o autowah.so $(WAHPLUGINS_O)
++ $(CXX) $(LDFLAGS) -shared -o autowah.so $(WAHPLUGINS_O)
+
+ $(WAHPLUGINS_O): $(WAHPLUGINS_H)
+
+
+ install: all
+- cp *.so /usr/lib/ladspa
++ cp -p *.so $(DESTDIR)$(LADSPA_LIB_DIR)
+
+ clean:
+ /bin/rm -f *~ *.o *.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ladspa-wah-plugins.git/commitdiff/8a2766e4169ffd5668c50f088850517adb253b07
More information about the pld-cvs-commit
mailing list