summaryrefslogtreecommitdiff
path: root/multimedia/mpv/mpv.SlackBuild
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-11-03 00:16:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-03 07:46:35 +0700
commitaad9a5eb7a3d0fec5ae1874191378bab305383ac (patch)
treeaf637945a2a750d53017891a66114e98da03737a /multimedia/mpv/mpv.SlackBuild
parentb4ed22e15a40e971f0339be15523ad9e484e0555 (diff)
downloadslackbuilds-aad9a5eb7a3d0fec5ae1874191378bab305383ac.tar.gz
multimedia/mpv: Updated for version 0.29.1.
Signed-off-by: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Diffstat (limited to 'multimedia/mpv/mpv.SlackBuild')
-rw-r--r--multimedia/mpv/mpv.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index 484cf9486c..f4957c9a36 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpv
-VERSION=${VERSION:-0.27.2}
+VERSION=${VERSION:-0.29.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ 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
+cp $CWD/waf-2.0.9 $PRGNAM-$VERSION/waf
chmod +x $PRGNAM-$VERSION/waf
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -73,12 +73,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-DOCS="Copyright LICENSE README.md RELEASE_NOTES"
+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.
BUILD_OPTS=${BUILD_OPTS:-""}
+PKG_CONFIG_PATH="/usr/lib${LIBDIRSUFFIX}/ffmpeg4/pkgconfig"
+export PKG_CONFIG_PATH
+
# Setting CFLAGS and CXXFLAGS breaks configure.
./waf configure \
--prefix=/usr \