]> git.pld-linux.org Git - packages/ladspa-rev-plugins.git/commitdiff
- new URLs, updated to 0.7.1 auto/th/ladspa-rev-plugins-0.7.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Jan 2022 18:32:53 +0000 (19:32 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 27 Jan 2022 18:32:53 +0000 (19:32 +0100)
- updated misc_fixes patch
- now it contains zita-reverbs plugin; legacy g2reverb plugin moved to ladspa-g2reverb package

ladspa-rev-plugins-misc_fixes.patch
ladspa-rev-plugins.spec

index 872e36e7c81383248d2d17e29f030aa23e2fa409..ab9fcedf80b56fc6e1eb4606a497ce52dab1813d 100644 (file)
@@ -1,31 +1,39 @@
-diff -ur REV-plugins-0.2.1.orig/Makefile REV-plugins-0.2.1/Makefile
---- REV-plugins-0.2.1.orig/Makefile    2003-12-01 21:18:18.000000000 +0100
-+++ REV-plugins-0.2.1/Makefile 2004-10-05 01:58:21.267530256 +0200
-@@ -1,5 +1,6 @@
+--- REV-plugins-0.7.1/Makefile.orig    2022-01-23 19:49:10.480719586 +0100
++++ REV-plugins-0.7.1/Makefile 2022-01-23 20:10:49.480348969 +0100
+@@ -19,21 +19,22 @@
+ # -----------------------------------------------------------------------
  
- CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall -O2
-+INSTALL_PLUGINS_DIR=/usr/lib/ladspa
  
++CXX = g++
+ CPPFLAGS += -I. -fPIC -D_REENTRANT
+-CXXFLAGS += -Wall -O2
++CXXFLAGS += -Wall
  
- all:  g2reverb.so
-@@ -13,7 +14,7 @@
+ all:  zita-reverbs.so
  
+ REVERBS_O = reverbs.o reverbs_if.o zreverb.o pareq.o
+ zita-reverbs.so:      $(REVERBS_O)    
+-      g++ -shared  -o $@  $(REVERBS_O)
++      $(CXX) $(LDFLAGS) $(CXXFLAGS) -shared  -o $@  $(REVERBS_O)
+ reverbs.o:    ladspaplugin.h reverbs.h zreverb.h pareq.h
+ reverbs_if.o: ladspaplugin.h reverbs.h zreverb.h pareq.h
  
- install:
--      cp  *.so /usr/lib/ladspa
-+      cp  *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
  
+ install:      zita-reverbs.so
+-      cp  *.so /usr/lib/ladspa
++      cp -p *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
  
- DIR := $(shell basename `pwd`)
-diff -ur REV-plugins-0.2.1.orig/ladspaplugin.h REV-plugins-0.2.1/ladspaplugin.h
---- REV-plugins-0.2.1.orig/ladspaplugin.h      2003-12-01 21:18:18.000000000 +0100
-+++ REV-plugins-0.2.1/ladspaplugin.h   2004-10-05 01:57:39.839828224 +0200
-@@ -21,7 +21,7 @@
+ clean:
+       rm -rf *~ *.o *.so
+--- REV-plugins-0.7.1/ladspaplugin.h.orig      2022-01-23 19:49:10.480719586 +0100
++++ REV-plugins-0.7.1/ladspaplugin.h   2022-01-23 20:11:23.316832328 +0100
+@@ -23,7 +23,7 @@
  #define __LADSPAPLUGIN_H
  
  
--#include "ladspa.h" // use local version
+-#include "ladspa.h"
 +#include <ladspa.h>
  
  
+ class LadspaPlugin
index 36543e70a6c8cc5aae37ddc97f88a39ddf5440d3..181b69047377ebcb669c9cb26e716e7073cbe67e 100644 (file)
@@ -1,16 +1,14 @@
-%define                _name REV-plugins
 Summary:       Stereo reverb LADSPA plugin
 Summary(pl.UTF-8):     Wtyczka LADSPA - stereofoniczny pogłos
 Name:          ladspa-rev-plugins
-Version:       0.3.1
+Version:       0.7.1
 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/%{_name}-%{version}.tar.bz2
-# Source0-md5: bca920c2cbf5e33989e7cafab6fbaee4
+Source0:       http://kokkinizita.linuxaudio.org/linuxaudio/downloads/REV-plugins-%{version}.tar.bz2
+# Source0-md5: 9f0be0d26592f67ba5fe16102c6bc332
 Patch0:                %{name}-misc_fixes.patch
-URL:           http://users.skynet.be/solaris/linuxaudio/
+URL:           http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html
 BuildRequires: ladspa-devel
 BuildRequires: libstdc++-devel
 Requires:      ladspa-common
@@ -25,13 +23,15 @@ Ta wtyczka LADSPA zawiera cyfrową implementację stereofonicznego
 efektu pogłosu.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n REV-plugins-%{version}
 %patch0 -p1
 
 %build
+CPPFLAGS="%{rpmcppflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+LDFLAGS="%{rpmldflags}" \
 %{__make} \
-       CXX="%{__cxx}" \
-       CPPFLAGS="-I. -fPIC -D_REENTRANT -Wall %{rpmcflags}"
+       CXX="%{__cxx}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -47,4 +47,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README
-%attr(755,root,root) %{_libdir}/ladspa/g2reverb.so
+%attr(755,root,root) %{_libdir}/ladspa/zita-reverbs.so
This page took 0.10904 seconds and 4 git commands to generate.