aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv/mpv.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2023-01-22 09:23:45 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-28 08:23:12 +0700
commitd82a4c8fa84343de72756d23c3150a449476face (patch)
treefaed71756ef2ef383de516701043954bf6cc040e /multimedia/mpv/mpv.SlackBuild
parenta79703e26998aeafa3c763d3268251d5380f3cf0 (diff)
downloadslackbuilds-d82a4c8fa84343de72756d23c3150a449476face.tar.xz
multimedia/mpv: Updated for version 0.35.0
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/mpv/mpv.SlackBuild')
-rw-r--r--multimedia/mpv/mpv.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index cd23ab2b4d18..a190a5fa9089 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2015 John Vogel Corning, NY USA
# Copyright 2017,2018 (versions 0.25.0-0.29.1) Andreas Guldstrand
-# Copyright 2020-2022 Christoph Willing Brisbane Australia
+# Copyright 2020-2023 Christoph Willing Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,9 +27,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mpv
-VERSION=${VERSION:-0.34.1}
+VERSION=${VERSION:-0.35.0}
WAF_VERSION=${WAF_VERSION:-2.0.24}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,6 +91,7 @@ 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 \
@@ -108,6 +109,7 @@ export PKG_CONFIG_PATH
./waf build
./waf --destdir=$PKG install
+
for f in $PKG/etc/mpv/*.conf ; do
mv $f{,.new}
done