diff options
Diffstat (limited to 'multimedia/ExMplayer/ExMplayer.SlackBuild')
-rw-r--r-- | multimedia/ExMplayer/ExMplayer.SlackBuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/multimedia/ExMplayer/ExMplayer.SlackBuild b/multimedia/ExMplayer/ExMplayer.SlackBuild index 8fc21f13e70fa..25c8c7ac846d1 100644 --- a/multimedia/ExMplayer/ExMplayer.SlackBuild +++ b/multimedia/ExMplayer/ExMplayer.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for ExMPlayer. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=ExMplayer VERSION=${VERSION:-5.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -56,16 +56,20 @@ fi set -e -SRCNAM="exmplayer" - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${SRCNAM}_$VERSION.tar.gz -mv $PRGNAM $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +sed -i 's|this->setWindowFlags(!Qt::WindowStaysOnTopHint);|this->setWindowFlags(0);|' src/playerwindow.cpp make @@ -81,13 +85,12 @@ install -Dm644 debian/exmplayer.png $PKG/usr/share/pixmaps/exmplayer.png install -dm755 $PKG/etc/exmplayer install -m644 linux_build/{sc_default.xml,fmts} $PKG/etc/exmplayer -# to receive installed ffmpeg link (not a internal copy). +# to receive installed ffmpeg link (instead of a internal copy): install -dm755 $PKG/usr/share/exmplayer - ln -s /usr/bin/ffmpeg $PKG/usr/share/exmplayer/ffmpeg mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a debian/copyright README.md Release_notes.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp debian/{changelog,copyright} README.md Release_notes.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |