From 6c7dd0cc6b1976cd55505b90f5953d578116f2f6 Mon Sep 17 00:00:00 2001 From: Michales Michaloudes Date: Sun, 5 Jun 2011 12:10:13 +0200 Subject: audio/qsynth: Updated for version 0.3.6 Signed-off-by: Heinz Wiesinger --- audio/qsynth/doinst.sh | 6 ++++++ audio/qsynth/qsynth.SlackBuild | 7 ++++--- audio/qsynth/qsynth.info | 8 ++++---- 3 files changed, 14 insertions(+), 7 deletions(-) (limited to 'audio') diff --git a/audio/qsynth/doinst.sh b/audio/qsynth/doinst.sh index 4e8ba7071d..1f8ff67ded 100644 --- a/audio/qsynth/doinst.sh +++ b/audio/qsynth/doinst.sh @@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/audio/qsynth/qsynth.SlackBuild b/audio/qsynth/qsynth.SlackBuild index e0a31b59e8..b9f4e7ba20 100644 --- a/audio/qsynth/qsynth.SlackBuild +++ b/audio/qsynth/qsynth.SlackBuild @@ -3,16 +3,14 @@ # Written by Michales Michaloudes korgie@gmail.com PRGNAM=qsynth -VERSION=${VERSION:-0.3.4} +VERSION=${VERSION:-0.3.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -65,6 +63,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# remove empty man-page directory +rm -rf $PKG/usr/share/man + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/audio/qsynth/qsynth.info b/audio/qsynth/qsynth.info index 97f4f951f5..c91384ffda 100644 --- a/audio/qsynth/qsynth.info +++ b/audio/qsynth/qsynth.info @@ -1,10 +1,10 @@ PRGNAM="qsynth" -VERSION="0.3.4" +VERSION="0.3.6" HOMEPAGE="http://qsynth.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/qsynth/qsynth-0.3.4.tar.gz" -MD5SUM="800ab77b59c947bd8f1c8bb10545a59d" +DOWNLOAD="http://downloads.sourceforge.net/qsynth/qsynth-0.3.6.tar.gz" +MD5SUM="3cba3c87463be75ac188ebc3c3023d12" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" -APPROVED="rworkman" +APPROVED="pprkut" -- cgit v1.2.3