audio/mhwaveedit: Updated for version 1.4.23.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Franzen 2016-06-11 21:04:10 +07:00 committed by Willy Sudiarto Raharjo
parent eb1e9c8b89
commit 3adbd05c40
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 20 additions and 7 deletions

View file

@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi fi
fi fi

View file

@ -0,0 +1,10 @@
--- src/sound-pulse.c.orig 2016-06-11 13:52:03.000000000 +0200
+++ src/sound-pulse.c 2016-06-11 13:50:39.000000000 +0200
@@ -21,6 +21,7 @@
#include <poll.h>
#include <pulse/pulseaudio.h>
+#include "int_box.h"
#ifndef PA_CHECK_VERSION
#define PA_CHECK_VERSION(a,b,c) (0)

View file

@ -5,7 +5,7 @@
# contact: flex[dot]krueger[at]googlemail[dot]com # contact: flex[dot]krueger[at]googlemail[dot]com
PRGNAM=mhwaveedit PRGNAM=mhwaveedit
VERSION=1.4.20 VERSION=${VERSION:-1.4.23}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -49,7 +49,10 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix "unknown type name 'Intbox'"
patch -p0 < $CWD/intbox.diff
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -67,10 +70,11 @@ CFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop

View file

@ -1,8 +1,8 @@
PRGNAM="mhwaveedit" PRGNAM="mhwaveedit"
VERSION="1.4.20" VERSION="1.4.23"
HOMEPAGE="https://gna.org/projects/mhwaveedit" HOMEPAGE="https://gna.org/projects/mhwaveedit"
DOWNLOAD="http://download.gna.org/mhwaveedit/mhwaveedit-1.4.20.tar.bz2" DOWNLOAD="http://download.gna.org/mhwaveedit/mhwaveedit-1.4.23.tar.bz2"
MD5SUM="979ac5776a57268aed0afa74d50c70a2" MD5SUM="72d12ebdd38777ba597db0cf6158ceef"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""