From 4e9754fce2dfd21d37f6e360eab75df911a28665 Mon Sep 17 00:00:00 2001 From: Michiel van Wessem Date: Wed, 3 Aug 2011 16:19:14 -0300 Subject: multimedia/kaffeine: Updated for version 1.2.2. Signed-off-by: Niels Horn --- multimedia/kaffeine/README | 2 +- multimedia/kaffeine/doinst.sh | 5 +++++ multimedia/kaffeine/kaffeine.SlackBuild | 11 ++++------- multimedia/kaffeine/kaffeine.info | 8 ++++---- 4 files changed, 14 insertions(+), 12 deletions(-) (limited to 'multimedia/kaffeine') diff --git a/multimedia/kaffeine/README b/multimedia/kaffeine/README index 58f8e44484..d2f9036e2c 100644 --- a/multimedia/kaffeine/README +++ b/multimedia/kaffeine/README @@ -1,3 +1,3 @@ -Kaffeine is a full featured Multimedia-Player for KDE. By default, it uses +Kaffeine is a full featured Multimedia-Player for KDE. By default, it uses xine as backend. Kaffeine is free software distributed under the terms of the GNU General Public Licence. diff --git a/multimedia/kaffeine/doinst.sh b/multimedia/kaffeine/doinst.sh index eec7ae1d81..e7787ede3e 100644 --- a/multimedia/kaffeine/doinst.sh +++ b/multimedia/kaffeine/doinst.sh @@ -2,3 +2,8 @@ if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database 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/multimedia/kaffeine/kaffeine.SlackBuild b/multimedia/kaffeine/kaffeine.SlackBuild index f33f74f9b2..4de7b90449 100644 --- a/multimedia/kaffeine/kaffeine.SlackBuild +++ b/multimedia/kaffeine/kaffeine.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for kaffeine -# Copyright 2008-2010 Michiel van Wessem, Manchester, United Kingdom. +# Copyright 2008-2011 Michiel van Wessem, Manchester, United Kingdom. # Copyright 2006 Martin Lefebvre # All rights reserved. # @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kaffeine -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2.2} 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -91,8 +89,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* Changelog INSTALL NOTES TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING* Changelog NOTES README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/multimedia/kaffeine/kaffeine.info b/multimedia/kaffeine/kaffeine.info index 619acebb54..df4541bb7c 100644 --- a/multimedia/kaffeine/kaffeine.info +++ b/multimedia/kaffeine/kaffeine.info @@ -1,10 +1,10 @@ PRGNAM="kaffeine" -VERSION="1.1" +VERSION="1.2.2" HOMEPAGE="http://kaffeine.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/kaffeine/kaffeine-1.1.tar.gz" -MD5SUM="72284197b1c90adf75149311e4422efe" +DOWNLOAD="http://downloads.sourceforge.net/kaffeine/kaffeine-1.2.2.tar.gz" +MD5SUM="690e48d2e5fe123887109aa9b1bc1c31" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Michiel van Wessem" EMAIL="michiel@slackbuilds.org" -APPROVED="dsomero" +APPROVED="Niels Horn" -- cgit v1.2.3