aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv
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
parenta79703e26998aeafa3c763d3268251d5380f3cf0 (diff)
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')
-rw-r--r--multimedia/mpv/README3
-rw-r--r--multimedia/mpv/mpv.SlackBuild8
-rw-r--r--multimedia/mpv/mpv.info6
3 files changed, 10 insertions, 7 deletions
diff --git a/multimedia/mpv/README b/multimedia/mpv/README
index 155b71674cdbd..21883b2aef05d 100644
--- a/multimedia/mpv/README
+++ b/multimedia/mpv/README
@@ -7,7 +7,8 @@ This SlackBuild provides support for most useful optional features.
Some other optional features may be enabled by having the relevant
packages installed; they will be autodetected at build time.
These include:
- jack, libuchardet, oss, rubberband, cudatoolkit, and nv-codec-headers
+ jack, libuchardet, oss, rubberband, cudatoolkit, nv-codec-headers,
+ dvdnav, dvdread, sdl2
Please note that CUDA based hardware acceleration requires mpv to be
built with both the cudatoolkit and nv-codec-headers packages installed.
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index cd23ab2b4d186..a190a5fa90899 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
diff --git a/multimedia/mpv/mpv.info b/multimedia/mpv/mpv.info
index d8bc0f387aa0f..ec95cce9aa802 100644
--- a/multimedia/mpv/mpv.info
+++ b/multimedia/mpv/mpv.info
@@ -1,10 +1,10 @@
PRGNAM="mpv"
-VERSION="0.34.1"
+VERSION="0.35.0"
HOMEPAGE="https://mpv.io/"
-DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.34.1/mpv-0.34.1.tar.gz \
+DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.35.0/mpv-0.35.0.tar.gz \
https://waf.io/waf-2.0.24"
MD5SUM="b5c76f9a7ce3a19a445869ffd9871d12 \
- 698f382cca34a08323670f34830325c4"
+ 4db76c980d01bfcca6e8163671893652"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libass libplacebo lua mujs"