summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-05-12 14:12:58 +0000
committer Eric Hameleers <alien@slackware.com>2009-05-12 14:12:58 +0000
commit58acc04b24ea3010f3986c073f49f9b8204f98a4 (patch)
tree30158f67bd296baa604436e459c08d2b7303cd1c /MPlayer
parentf7efd0bf0f204155d5fdd3bc000f80f1dc0b808b (diff)
downloadasb-58acc04b24ea3010f3986c073f49f9b8204f98a4.tar.gz
asb-58acc04b24ea3010f3986c073f49f9b8204f98a4.tar.xz
Updated to 29301, and actually export the requested SVN revision!
Diffstat (limited to 'MPlayer')
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild26
1 files changed, 19 insertions, 7 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild
index 9909a8d4..d0f23d74 100755
--- a/MPlayer/build/MPlayer.SlackBuild
+++ b/MPlayer/build/MPlayer.SlackBuild
@@ -63,6 +63,8 @@
# of DECSS dvd decryption code, and mp3/aac/amr audio encoders.
# r28929-1: 10/mar/2009 by Eric Hameleers <alien@slackware.com>
# * Update.
+# r29301-1: 12/may/2009 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh MPlayer.SlackBuild' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -73,7 +75,7 @@
# Set initial variables:
PRGNAM=MPlayer
-VERSION=${VERSION:-r28929}
+VERSION=${VERSION:-r29301}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
@@ -158,15 +160,19 @@ src_checkout() {
fi
case ${1} in
0) # mplayer
- mkdir mplayertemp-$$ \
- && cd mplayertemp-$$ \
- && svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer \
- && mv mplayer MPlayer-$VERSION \
+ if [ "$(echo ${VERSION}|cut -c1)" == 'r' ]; then # revision instead of date
+ REV=$(echo ${VERSION} | cut -c2-)
+ else
+ REV="{${VERSION}}"
+ fi
+ mkdir MPlayer-${VERSION} \
+ && cd MPlayer-${VERSION} \
+ && svn checkout --revision $REV svn://svn.mplayerhq.hu/mplayer/trunk . \
&& find . -type d -name '.svn' -depth | xargs rm -rf \
&& chown -R root:root . \
+ && cd .. \
&& tar -${TARCOMP}cf ${2} MPlayer-${VERSION}
- cd ..
- rm -rf mplayertemp-$$
+ rm -rf MPlayer-${VERSION}
;;
*) # Do nothing
;;
@@ -358,6 +364,12 @@ if [ -x /usr/bin/update-desktop-database ]; then
chroot . /usr/bin/update-desktop-database -q usr/share/applications
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x usr/bin/gtk-update-icon-cache ]; then
+ chroot . /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
EOINS
# Add documentation: