[packages/ladspa-ste-plugins] - initial
qboosh
qboosh at pld-linux.org
Fri Jan 28 17:03:36 CET 2022
commit cc2a3572b2a421d9bb8586f61cdbc6b6bf65ce4f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jan 28 17:04:44 2022 +0100
- initial
ladspa-ste-plugins-make.patch | 29 +++++++++++++++++++++++++
ladspa-ste-plugins.spec | 50 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
---
diff --git a/ladspa-ste-plugins.spec b/ladspa-ste-plugins.spec
new file mode 100644
index 0000000..69050f5
--- /dev/null
+++ b/ladspa-ste-plugins.spec
@@ -0,0 +1,50 @@
+Summary: STE (stereo effects) LADSPA plugins
+Summary(pl.UTF-8): Wtyczki LADSPA STE (efektów stereofonicznych)
+Name: ladspa-ste-plugins
+Version: 0.0.2
+Release: 1
+License: GPL v2+
+Group: Applications/Sound
+Source0: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/STE-plugins-%{version}.tar.bz2
+# Source0-md5: 9a6b41cb8594221f7a87cb8662e8699d
+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
+STE (stereo offects) LADSPA plugins.
+
+%description -l pl.UTF-8
+Wtyczki LADSPA STE (efektów stereofonicznych).
+
+%prep
+%setup -q -n STE-plugins-%{version}
+%patch0 -p1
+
+%build
+CPPFLAGS="%{rpmcppflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+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
+%attr(755,root,root) %{_libdir}/ladspa/stereo-plugins.so
diff --git a/ladspa-ste-plugins-make.patch b/ladspa-ste-plugins-make.patch
new file mode 100644
index 0000000..21519fd
--- /dev/null
+++ b/ladspa-ste-plugins-make.patch
@@ -0,0 +1,29 @@
+--- STE-plugins-0.0.2/Makefile.orig 2014-02-15 17:37:31.000000000 +0100
++++ STE-plugins-0.0.2/Makefile 2022-01-27 21:45:51.127184724 +0100
+@@ -19,21 +19,23 @@
+ # -----------------------------------------------------------------------
+
+
++CXX = g++
+ CPPFLAGS += -I. -fPIC -D_REENTRANT
+-CXXFLAGS += -Wall -O2
++CXXFLAGS += -Wall
++LADSPA_LIB_DIR = /usr/lib/ladspa
+
+ all: stereo-plugins.so
+
+ STEREO_O = stereo.o stereo_if.o
+ stereo-plugins.so: $(STEREO_O)
+- g++ -shared -o $@ $(STEREO_O)
++ $(CXX) $(LDFLAGS) -shared -o $@ $(STEREO_O)
+
+ stereo.o: ladspaplugin.h stereo.h
+ stereo_if.o: ladspaplugin.h stereo.h
+
+
+ install: stereo-plugins.so
+- cp *.so /usr/lib/ladspa
++ cp -p *.so $(DESTDIR)$(LADSPA_LIB_DIR)
+
+ clean:
+ rm -rf *~ *.o *.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ladspa-ste-plugins.git/commitdiff/cc2a3572b2a421d9bb8586f61cdbc6b6bf65ce4f
More information about the pld-cvs-commit
mailing list