Browse Source
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>
pull/196/head
Christoph Willing
3 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with
13 additions and
9 deletions
-
multimedia/mpv/README
-
multimedia/mpv/mpv.SlackBuild
-
multimedia/mpv/mpv.info
|
|
|
@ -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 |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|
@ -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" |
|
|
|
|