Hello community,

here is the log from the commit of package alsaequal for openSUSE:Factory 
checked in at 2019-10-30 14:43:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsaequal (Old)
 and      /work/SRC/openSUSE:Factory/.alsaequal.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsaequal"

Wed Oct 30 14:43:56 2019 rev:5 rq:743749 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsaequal/alsaequal.changes      2019-10-28 
17:00:26.669763496 +0100
+++ /work/SRC/openSUSE:Factory/.alsaequal.new.2990/alsaequal.changes    
2019-10-30 14:43:56.677935160 +0100
@@ -2,18 +1,0 @@
-Sun Oct 27 06:28:53 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
-
-- Update to version 0.7.1
-  * Corrected a few style errors and a memory leak found by
-    cppcheck.
-    Also inspired from
-    "https://bugs.gentoo.org/attachment.cgi?id=554834&action=diff";
-    and used types from stdint.h in ladspa_utils.h
-  version 0.7:
-  * Changed LIBDIR default assignment
-  version 0.6.1:
-  * From @raedwulf at github.com/raedwulf/alsaequal master
-
-- Dropped lib64.patch (set variable with sed instead)
-
-- Switched to maintained fork
-
--------------------------------------------------------------------

Old:
----
  alsaequal-0.7.1.tar.gz

New:
----
  alsaequal-0.6.tar.xz
  lib64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsaequal.spec ++++++
--- /var/tmp/diff_new_pack.9eSwIX/_old  2019-10-30 14:43:57.069935577 +0100
+++ /var/tmp/diff_new_pack.9eSwIX/_new  2019-10-30 14:43:57.073935580 +0100
@@ -17,23 +17,26 @@
 
 
 Name:           alsaequal
-Version:        0.7.1
+Version:        0.6
 Release:        0
 Summary:        Equalizer plugin for ALSA
 License:        LGPL-2.1-only
-Group:          System/Libraries
-URL:            
https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html
-Source0:        
https://github.com/bassdr/alsaequal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+URL:            https://github.com/bassdr/alsaequal
+Source0:        %{name}-%{version}.tar.xz
 Source1:        99-equal.conf
+Patch0:         lib64.patch
 BuildRequires:  alsa-devel
-BuildRequires:  ladspa-devel
+BuildRequires:  gcc
+BuildRequires:  ladspa-caps
 
 %description
 Alsaequal is a real-time adjustable equalizer plugin for ALSA
 
 %prep
-%setup -q
-sed -i '/^LIBDIR/s/lib/%{_lib}/' Makefile
+%setup -q -n %{name}
+%if %{?_lib} == lib64
+%patch0 -p1
+%endif
 
 %build
 make %{?_smp_mflags} CFLAGS="%{optflags} -funroll-loops -ffast-math -fPIC 
-DPIC"
@@ -46,7 +49,7 @@
 
 %files
 %license COPYING
-%doc README.md
+%doc README
 %dir %{_sysconfdir}/alsa
 %dir %{_sysconfdir}/alsa/conf.d
 %config(noreplace) %{_sysconfdir}/alsa/conf.d/*.conf

++++++ lib64.patch ++++++
diff -Pdpru alsaequal.orig/ctl_equal.c alsaequal/ctl_equal.c
--- alsaequal.orig/ctl_equal.c  2009-02-01 01:06:47.000000000 +0300
+++ alsaequal/ctl_equal.c       2017-07-16 17:43:03.103171927 +0300
@@ -166,7 +166,7 @@ SND_CTL_PLUGIN_DEFINE_FUNC(equal)
        snd_config_iterator_t it, next;
        snd_ctl_equal_t *equal;
        const char *controls = ".alsaequal.bin";
-       const char *library = "/usr/lib/ladspa/caps.so";
+       const char *library = "/usr/lib64/ladspa/caps.so";
        const char *module = "Eq";
        long channels = 2;
        const char *sufix = " Playback Volume";
diff -Pdpru alsaequal.orig/Makefile alsaequal/Makefile
--- alsaequal.orig/Makefile     2010-03-05 20:30:39.000000000 +0300
+++ alsaequal/Makefile  2017-07-16 17:42:16.005092241 +0300
@@ -45,11 +45,11 @@ clean:
 
 install: all
        @echo Installing...
-       $(Q)install -m 644 $(SND_PCM_BIN) ${DESTDIR}/usr/lib/alsa-lib/
-       $(Q)install -m 644 $(SND_CTL_BIN) ${DESTDIR}/usr/lib/alsa-lib/
+       $(Q)install -m 644 $(SND_PCM_BIN) ${DESTDIR}/usr/lib64/alsa-lib/
+       $(Q)install -m 644 $(SND_CTL_BIN) ${DESTDIR}/usr/lib64/alsa-lib/
 
 uninstall:
        @echo Un-installing...
-       $(Q)rm ${DESTDIR}/usr/lib/alsa-lib/$(SND_PCM_BIN)
-       $(Q)rm ${DESTDIR}/usr/lib/alsa-lib/$(SND_CTL_BIN)
+       $(Q)rm ${DESTDIR}/usr/lib64/alsa-lib/$(SND_PCM_BIN)
+       $(Q)rm ${DESTDIR}/usr/lib64/alsa-lib/$(SND_CTL_BIN)
        
diff -Pdpru alsaequal.orig/pcm_equal.c alsaequal/pcm_equal.c
--- alsaequal.orig/pcm_equal.c  2010-02-02 01:55:00.000000000 +0300
+++ alsaequal/pcm_equal.c       2017-07-16 17:43:25.178271867 +0300
@@ -150,7 +150,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(equal)
        snd_pcm_equal_t *equal;
        snd_config_t *sconf = NULL;
        const char *controls = ".alsaequal.bin";
-       const char *library = "/usr/lib/ladspa/caps.so";
+       const char *library = "/usr/lib64/ladspa/caps.so";
        const char *module = "Eq";
        long channels = 2;
        int err;

Reply via email to