summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2017-08-11 20:41:42 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:04 +0700
commitd370f067de6e9a9e54a9f2ce5812273477698c97 (patch)
treebe59203a94dacb3b018a67e4aa8820947f8f620e /multimedia
parent0a2c65c99060bbe96b780482783e9969728697b2 (diff)
downloadslackbuilds-d370f067de6e9a9e54a9f2ce5812273477698c97.tar.gz
multimedia/mpv: Updated to git version for youtube-dl support.
Signed-off-by: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/mpv.SlackBuild13
-rw-r--r--multimedia/mpv/mpv.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index bd2c587a0f..6c1556176c 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpv
-VERSION=${VERSION:-0.26.0}
+VERSION=${VERSION:-0.26.0+2b83f7e}
+GITHASH=${GITHASH:-2b83f7e391ab68b23602e89b97ebc07ca09d8e7c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,11 +62,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cp $CWD/waf-1.9.8 $PRGNAM-$VERSION/waf
-chmod +x $PRGNAM-$VERSION/waf
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITHASH
+tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz
+cp $CWD/waf-1.9.8 $PRGNAM-$GITHASH/waf
+chmod +x $PRGNAM-$GITHASH/waf
+cd $PRGNAM-$GITHASH
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/multimedia/mpv/mpv.info b/multimedia/mpv/mpv.info
index 9140136688..bc80992bbc 100644
--- a/multimedia/mpv/mpv.info
+++ b/multimedia/mpv/mpv.info
@@ -1,9 +1,9 @@
PRGNAM="mpv"
-VERSION="0.26.0"
+VERSION="0.26.0+2b83f7e"
HOMEPAGE="https://mpv.io/"
-DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.26.0/mpv-0.26.0.tar.gz \
+DOWNLOAD="https://github.com/mpv-player/mpv/archive/2b83f7e391ab68b23602e89b97ebc07ca09d8e7c/mpv-2b83f7e391ab68b23602e89b97ebc07ca09d8e7c.tar.gz \
https://waf.io/waf-1.9.8"
-MD5SUM="038d0b660de07ff645ad6a741704ecab \
+MD5SUM="e453e9bce8174162b8cf3a8198994f09 \
fbb646eafa430f959743010c85e269be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""