summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-12-22 16:42:04 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-23 06:47:55 +0100
commitd16b524216f185930a93bb488a6f4ce7d72b4aff (patch)
tree197d664fada35986f7f1ae68361c43f70a82fd5b /multimedia
parent5726719184ee132ebad233433df3821f66dd8350 (diff)
downloadslackbuilds-d16b524216f185930a93bb488a6f4ce7d72b4aff.tar.gz
multimedia/smplayer: Updated for version 0.8.3, added skins.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smplayer/smplayer.SlackBuild19
-rw-r--r--multimedia/smplayer/smplayer.info12
2 files changed, 24 insertions, 7 deletions
diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild
index 7a1744bb5a..39752b8796 100644
--- a/multimedia/smplayer/smplayer.SlackBuild
+++ b/multimedia/smplayer/smplayer.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smplayer
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
THEMES=${THEMES:-20120919}
+SKINS=${SKINS:-20121029}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -78,6 +79,10 @@ make install DESTDIR=$PKG
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
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
cd $TMP
rm -rf $PRGNAM-themes-$THEMES
tar xvf $CWD/$PRGNAM-themes-$THEMES.tar.bz2
@@ -88,7 +93,17 @@ make install PREFIX=/usr DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/themes
cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/themes
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+cd $TMP
+rm -rf $PRGNAM-skins-$SKINS
+tar xvf $CWD/$PRGNAM-skins-$SKINS.tar.bz2
+cd $PRGNAM-skins-$SKINS
+chown -R root:root .
+
+make install PREFIX=/usr DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/skins
+cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/skins
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/smplayer/smplayer.info b/multimedia/smplayer/smplayer.info
index bcc00ee8a1..92b29c8a22 100644
--- a/multimedia/smplayer/smplayer.info
+++ b/multimedia/smplayer/smplayer.info
@@ -1,10 +1,12 @@
PRGNAM="smplayer"
-VERSION="0.8.1"
+VERSION="0.8.3"
HOMEPAGE="http://smplayer.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/smplayer/smplayer-0.8.1.tar.bz2 \
- http://downloads.sourceforge.net/smplayer/smplayer-themes-20120919.tar.bz2"
-MD5SUM="39556a6113afcd9ceee071a8f85477dc \
- 4af3433f2fc7a4b543e576fb7985eb35"
+DOWNLOAD="http://downloads.sourceforge.net/smplayer/smplayer-0.8.3.tar.bz2 \
+ http://downloads.sourceforge.net/smplayer/smplayer-themes-20120919.tar.bz2 \
+ http://downloads.sourceforge.net/smplayer/smplayer-skins-20121029.tar.bz2"
+MD5SUM="48755bffdff3878df32d8c047d7a3d52 \
+ 4af3433f2fc7a4b543e576fb7985eb35 \
+ 06ba75b53c7a6e9b64d6f51d05a12a0f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""