diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2012-11-19 22:48:54 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-11-19 22:48:54 -0600 |
commit | 93c273a60b00a6b307febba5d2fa1ca3bd088f8c (patch) | |
tree | a76c2899da08192274066863436c58e376fc2c1c /multimedia/smplayer | |
parent | bd4473a702dd250079d2af2136b0feaf45e936f1 (diff) |
multimedia/smplayer: Updated for version 0.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/smplayer')
-rw-r--r-- | multimedia/smplayer/slack-desc | 8 | ||||
-rw-r--r-- | multimedia/smplayer/smplayer.SlackBuild | 16 | ||||
-rw-r--r-- | multimedia/smplayer/smplayer.info | 8 |
3 files changed, 23 insertions, 9 deletions
diff --git a/multimedia/smplayer/slack-desc b/multimedia/smplayer/slack-desc index 401b876adfb1..b717d6eb5dbb 100644 --- a/multimedia/smplayer/slack-desc +++ b/multimedia/smplayer/slack-desc @@ -1,8 +1,8 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild index cac937d18637..7a1744bb5a91 100644 --- a/multimedia/smplayer/smplayer.SlackBuild +++ b/multimedia/smplayer/smplayer.SlackBuild @@ -23,10 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=smplayer -VERSION=${VERSION:-0.8.0} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +THEMES=${THEMES:-20120919} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -71,11 +73,21 @@ sed -i "/^PREFIX/s/=.*$/=\/usr/; QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\"" \ make -make DESTDIR=$PKG install +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 +cd $TMP +rm -rf $PRGNAM-themes-$THEMES +tar xvf $CWD/$PRGNAM-themes-$THEMES.tar.bz2 +cd $PRGNAM-themes-$THEMES +chown -R root:root . + +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 mkdir -p $PKG/install diff --git a/multimedia/smplayer/smplayer.info b/multimedia/smplayer/smplayer.info index 234f2a791964..bcc00ee8a19d 100644 --- a/multimedia/smplayer/smplayer.info +++ b/multimedia/smplayer/smplayer.info @@ -1,8 +1,10 @@ PRGNAM="smplayer" -VERSION="0.8.0" +VERSION="0.8.1" HOMEPAGE="http://smplayer.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/smplayer/smplayer-0.8.0.tar.bz2" -MD5SUM="8f7d3a9c116e956c68976d0e5dbb83dd" +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_x86_64="" MD5SUM_x86_64="" REQUIRES="" |