]> git.pld-linux.org Git - packages/ladspa-ste-plugins.git/commitdiff
- initial master auto/th/ladspa-ste-plugins-0.0.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 28 Jan 2022 16:04:44 +0000 (17:04 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 28 Jan 2022 16:04:44 +0000 (17:04 +0100)
ladspa-ste-plugins-make.patch [new file with mode: 0644]
ladspa-ste-plugins.spec [new file with mode: 0644]

diff --git a/ladspa-ste-plugins-make.patch b/ladspa-ste-plugins-make.patch
new file mode 100644 (file)
index 0000000..21519fd
--- /dev/null
@@ -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
diff --git a/ladspa-ste-plugins.spec b/ladspa-ste-plugins.spec
new file mode 100644 (file)
index 0000000..69050f5
--- /dev/null
@@ -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
This page took 0.182255 seconds and 4 git commands to generate.