diff options
Diffstat (limited to 'multimedia/mpv/mpv.SlackBuild')
-rw-r--r-- | multimedia/mpv/mpv.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild index f4957c9a36..f679709e54 100644 --- a/multimedia/mpv/mpv.SlackBuild +++ b/multimedia/mpv/mpv.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for mpv # Copyright 2015 John Vogel Corning, NY USA +# Copyright 2017,2018 (versions 0.25.0-0.29.1) Andreas Guldstrand +# Copyright 2020 Christoph Willing Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mpv -VERSION=${VERSION:-0.29.1} +VERSION=${VERSION:-0.32.0} +WAF_VERSION=${WAF_VERSION:-2.0.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,7 +66,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cp $CWD/waf-2.0.9 $PRGNAM-$VERSION/waf +cp $CWD/waf-$WAF_VERSION $PRGNAM-$VERSION/waf chmod +x $PRGNAM-$VERSION/waf cd $PRGNAM-$VERSION chown -R root:root . @@ -76,7 +79,7 @@ find -L . \ DOCS="Copyright LICENSE.GPL LICENSE.LGPL README.md RELEASE_NOTES VERSION" MANUAL="DOCS/*.md DOCS/*.rst DOCS/*.txt" -# This leaves an opening for build options. +# This leaves an opening for additional build options. BUILD_OPTS=${BUILD_OPTS:-""} PKG_CONFIG_PATH="/usr/lib${LIBDIRSUFFIX}/ffmpeg4/pkgconfig" @@ -89,6 +92,11 @@ export PKG_CONFIG_PATH --confdir=/etc/$PRGNAM \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-libmpv-shared \ + --enable-html-build \ + --enable-dvdnav \ + --enable-cdda \ + --enable-dvbin \ $BUILD_OPTS ./waf build |