aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2023-01-29 08:28:38 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-04 07:19:58 +0700
commit03dcaccd7f542d78c64dee01f51f6753dd4599b7 (patch)
tree6611f63842130fc2b79a9768ae3159373527dfc0 /multimedia/mpv
parentb30f3defb55b74885527e3509400c33003a2187b (diff)
multimedia/mpv: Updated for version 0.35.1
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/README5
-rw-r--r--multimedia/mpv/mpv.SlackBuild9
-rw-r--r--multimedia/mpv/mpv.info8
3 files changed, 13 insertions, 9 deletions
diff --git a/multimedia/mpv/README b/multimedia/mpv/README
index 21883b2aef05..fa868dd4a862 100644
--- a/multimedia/mpv/README
+++ b/multimedia/mpv/README
@@ -13,6 +13,11 @@ These include:
Please note that CUDA based hardware acceleration requires mpv to be
built with both the cudatoolkit and nv-codec-headers packages installed.
+Since Pipewire is not configured as the default in Slackware,
+its use is disabled in this SlackBuild. To enable Pipewire, run the
+SlackBuild with the USE_PIPEWIRE environment variable set e.g.
+ sh USE_PIPEWIRE=yes mpv.SlackBuild
+
Most dependencies are autodetected. Some optional dependencies are
disabled by default and may be enabled via the BUILD_OPTS environment
variable. Optional dependencies that are enabled by default may be
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index a190a5fa9089..303ca75b6265 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mpv
-VERSION=${VERSION:-0.35.0}
+VERSION=${VERSION:-0.35.1}
WAF_VERSION=${WAF_VERSION:-2.0.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,13 +85,11 @@ find -L . \
DOCS="Copyright LICENSE.GPL LICENSE.LGPL README.md RELEASE_NOTES VERSION"
MANUAL="DOCS/*.md DOCS/*.rst DOCS/*.txt"
+pipewire="--disable-pipewire" ; [ "${USE_PIPEWIRE:-no}" != "no" ] && pipewire=""
+
# This leaves an opening for additional 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 \
@@ -104,6 +102,7 @@ export PKG_CONFIG_PATH
--enable-dvdnav \
--enable-cdda \
--enable-dvbin \
+ $pipewire \
$BUILD_OPTS
./waf build
diff --git a/multimedia/mpv/mpv.info b/multimedia/mpv/mpv.info
index ec95cce9aa80..04e3ae872722 100644
--- a/multimedia/mpv/mpv.info
+++ b/multimedia/mpv/mpv.info
@@ -1,10 +1,10 @@
PRGNAM="mpv"
-VERSION="0.35.0"
+VERSION="0.35.1"
HOMEPAGE="https://mpv.io/"
-DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.35.0/mpv-0.35.0.tar.gz \
+DOWNLOAD="https://github.com/mpv-player/mpv/archive/v0.35.1/mpv-0.35.1.tar.gz \
https://waf.io/waf-2.0.24"
-MD5SUM="b5c76f9a7ce3a19a445869ffd9871d12 \
- 4db76c980d01bfcca6e8163671893652"
+MD5SUM="68460d9eb1b42bc6dc13713d4303049b \
+ 698f382cca34a08323670f34830325c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libass libplacebo lua mujs"