aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:42:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:42:48 +0200
commitcf69cf343254cd97bf1c32def036399e60c16a64 (patch)
tree067ea9ff1c52767e0b6978bf9c5774cb08698920 /multimedia
parente085666eecf31235f86020afad879db02788bbe0 (diff)
multimedia/smplayer: Updated for version 0.6.7
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smplayer/README4
-rw-r--r--multimedia/smplayer/doinst.sh10
-rw-r--r--multimedia/smplayer/smplayer.SlackBuild10
-rw-r--r--multimedia/smplayer/smplayer.info8
4 files changed, 18 insertions, 14 deletions
diff --git a/multimedia/smplayer/README b/multimedia/smplayer/README
index d10d2798ab171..8f93c4a22d6e8 100644
--- a/multimedia/smplayer/README
+++ b/multimedia/smplayer/README
@@ -6,8 +6,8 @@ There are some optional icon themes available. If you would like
to include them in your package, place these files in the same
directory as smplayer.SlackBuild
-http://downloads.sourceforge.net/smplayer/smplayer-themes-0.1.18.tar.bz2
-MD5SUM: 089ce8495cc4a958d7c5694a0510f58e
+http://downloads.sourceforge.net/smplayer/smplayer-themes-0.1.19.tar.bz2
+MD5SUM: 06db0127d6221f3c8e78abdc2b0f2301
http://downloads.sourceforge.net/smplayer/smplayer-themes-nonfree-0.1.1.tar.bz2
MD5SUM: 84df710df9732b247dc16a393b101a01
diff --git a/multimedia/smplayer/doinst.sh b/multimedia/smplayer/doinst.sh
index a05c78f507d31..ff30c0e35b363 100644
--- a/multimedia/smplayer/doinst.sh
+++ b/multimedia/smplayer/doinst.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -16,6 +14,12 @@ config() {
config etc/smplayer/input.conf.new
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
+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/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild
index bd93177f4b705..f684a9fe0f799 100644
--- a/multimedia/smplayer/smplayer.SlackBuild
+++ b/multimedia/smplayer/smplayer.SlackBuild
@@ -3,16 +3,14 @@
# Slackware build script for SMPlayer
# Written by Erik Hanson erik@slackbuilds.org
-set -eu
-
PRGNAM=smplayer
-VERSION=${VERSION:-0.6.5.1}
+VERSION=${VERSION:-0.6.7}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Optional theme versions:
-FREEVER=0.1.18
+FREEVER=0.1.19
NONFVER=0.1.1
CWD=$(pwd)
@@ -20,6 +18,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -47,7 +47,7 @@ mkdir -p $PKG/etc/smplayer
mv $PKG/usr/share/smplayer/input.conf $PKG/etc/smplayer/input.conf.new
ln -s /etc/smplayer/input.conf $PKG/usr/share/smplayer/input.conf
-mv $PKG/usr/share/man $PKG/usr/man
+mv $PKG/usr/share/man $PKG/usr
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/smplayer/smplayer.info b/multimedia/smplayer/smplayer.info
index 615c2d3a56570..ad2c790b155bc 100644
--- a/multimedia/smplayer/smplayer.info
+++ b/multimedia/smplayer/smplayer.info
@@ -1,8 +1,8 @@
PRGNAM="smplayer"
-VERSION="0.6.5.1"
+VERSION="0.6.7"
HOMEPAGE="http://smplayer.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/smplayer/smplayer-0.6.5.1.tar.bz2"
-MD5SUM="97e7599bd3445207f534eb63437a8744"
+DOWNLOAD="http://downloads.sourceforge.net/smplayer/smplayer-0.6.7.tar.bz2"
+MD5SUM="306b99374ad89cee93f1ad6fa94dea71"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="dsomero"
+APPROVED="rworkman"