Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=58c079d9f67c911b70a9229cbaa3b4d9c0d9d1f2

commit 58c079d9f67c911b70a9229cbaa3b4d9c0d9d1f2
Author: kikadf <[email protected]>
Date:   Mon Nov 11 20:56:57 2013 +0100

snd-14.1-1-x86_64

* Version bump

diff --git a/source/xmultimedia-extra/snd/FrugalBuild 
b/source/xmultimedia-extra/snd/FrugalBuild
index 7436154..ff3d074 100644
--- a/source/xmultimedia-extra/snd/FrugalBuild
+++ b/source/xmultimedia-extra/snd/FrugalBuild
@@ -5,34 +5,16 @@
options+=('asneeded')

pkgname=snd
-pkgver=13.9
+pkgver=14.1
pkgrel=1
pkgdesc="A sound editor, with JACK and GTK+ enabled"
-depends=('fam' 'fftw' 'gsl' 'gtk+2' 'jack' 'ruby' 'libsamplerate')
+depends=('fam' 'fftw' 'gsl' 'gtk+2' 'jack' 'libsamplerate')
makedepends=('ladspa_sdk')
+Fconfopts+=" --with-gtk --with-x --with-jack --with-ruby --with-ladspa"
groups=('xmultimedia-extra')
archs=('i686' 'x86_64')
Finclude sourceforge
-sha1sums=('178d5ff5ced9024af7ba46309d9fa8059dba98d0')
+source=($source snd-ladspa.patch)
+sha1sums=('fe4feef335f3392298bcfa599b334f8e5c6bd173' \
+          'ecfeec5b7dc7a545e78a038b8a6090f9e7ca8b6d')

-build() {
-       Fcd
-       # Fbuild doesn't work!
-       ./configure --prefix=/usr \
-               --with-x \
-               --with-gtk \
-               --without-oss \
-               --without-pulseaudio \
-               --without-portaudio \
-               --with-jack \
-               --with-ruby \
-               --with-ruby-prefix=/usr/bin/ruby \
-               --with-fftw \
-               --with-doubles \
-               --with-ladspa || Fdie
-       make || Fdie
-       make prefix=$Fdestdir/usr install || Fdie
-       rm -f $Fdestdir/usr/share/$pkgname/*.{fs,rb} || Fdie
-}
-
-# optimization OK
diff --git a/source/xmultimedia-extra/snd/snd-ladspa.patch 
b/source/xmultimedia-extra/snd/snd-ladspa.patch
new file mode 100644
index 0000000..107187f
--- /dev/null
+++ b/source/xmultimedia-extra/snd/snd-ladspa.patch
@@ -0,0 +1,12 @@
+diff -Naur snd-14.1/snd-ladspa.c snd-14.1.new/snd-ladspa.c
+--- snd-14.1/snd-ladspa.c      2013-09-27 01:16:13.000000000 +0200
++++ snd-14.1.new/snd-ladspa.c  2013-11-11 20:48:01.759229699 +0100
+@@ -1191,7 +1191,7 @@
+   if (descriptor->connect_port)
+     descriptor->connect_port(XEN_TO_C_Ladspa_Handle(ptr),
+                            XEN_TO_C_ULONG(port),
+-                           double_to_float(samples->data, samples->length)
++                           double_to_float(mus_vct_data(samples), 
mus_vct_length(samples))
+                            );
+   return(XEN_FALSE);
+ }
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to