gnu: mpv: Update to 0.37.0.
* gnu/packages/video.scm (mpv): Update to 0.37.0. [build-system]: Switch to meson-build-system. [arguments]<#:configure-flags>: Adjust accordingly. <#:phases>: Remove set-up-waf phase. <#:tests?>: Remove argument. [native-inputs]: Add python-wrapper. [inputs]: Add libplacebo, zimg. Remove python-waf. Change-Id: I0e61761a4d086a1185730f587869c2552b7cacb0 Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
8b249a1be6
commit
ce7b2b57aa
1 changed files with 12 additions and 18 deletions
|
|
@ -2339,7 +2339,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
||||||
(define-public mpv
|
(define-public mpv
|
||||||
(package
|
(package
|
||||||
(name "mpv")
|
(name "mpv")
|
||||||
(version "0.36.0")
|
(version "0.37.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
|
@ -2347,8 +2347,8 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1ri06h7pv6hrxmxxc618n9hymlgr0gfx38bqq5dcszdgnlashsgk"))))
|
(base32 "1xcyfpd543lbmg587wi0mahrz8vhyrlr4432054vp6wsi3s36c4b"))))
|
||||||
(build-system waf-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
|
|
@ -2365,21 +2365,15 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
||||||
;; and passed as linker flags, but the order in which they are added
|
;; and passed as linker flags, but the order in which they are added
|
||||||
;; varies. See <https://github.com/mpv-player/mpv/issues/7855>.
|
;; varies. See <https://github.com/mpv-player/mpv/issues/7855>.
|
||||||
;; Set PYTHONHASHSEED as a workaround for deterministic results.
|
;; Set PYTHONHASHSEED as a workaround for deterministic results.
|
||||||
(setenv "PYTHONHASHSEED" "1")))
|
(setenv "PYTHONHASHSEED" "1"))))
|
||||||
(add-before 'configure 'set-up-waf
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(copy-file (search-input-file inputs "bin/waf") "waf")
|
|
||||||
(setenv "CC" #$(cc-for-target)))))
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "--enable-libmpv-shared"
|
#~(list "-Dlibmpv=true"
|
||||||
"--enable-cdda"
|
"-Dcdda=enabled"
|
||||||
"--enable-dvdnav"
|
"-Ddvdnav=enabled"
|
||||||
"--disable-build-date")
|
"-Dbuild-date=false")))
|
||||||
;; No check function defined.
|
|
||||||
#:tests? #f))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list perl ; for zsh completion file
|
(list perl ; for zsh completion file
|
||||||
pkg-config python-docutils))
|
pkg-config python-docutils python-wrapper))
|
||||||
;; Missing features: libguess, V4L2.
|
;; Missing features: libguess, V4L2.
|
||||||
(inputs
|
(inputs
|
||||||
(list alsa-lib
|
(list alsa-lib
|
||||||
|
|
@ -2396,6 +2390,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
||||||
libdvdread
|
libdvdread
|
||||||
libdvdnav
|
libdvdnav
|
||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
|
libplacebo
|
||||||
libva
|
libva
|
||||||
libvdpau
|
libvdpau
|
||||||
libx11
|
libx11
|
||||||
|
|
@ -2406,13 +2401,11 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
||||||
libxrandr
|
libxrandr
|
||||||
libxscrnsaver
|
libxscrnsaver
|
||||||
libxv
|
libxv
|
||||||
;; XXX: lua > 5.2 is not currently supported; see
|
;; XXX: lua > 5.2 is not currently supported; see meson.build
|
||||||
;; waftools/checks/custom.py
|
|
||||||
lua-5.2
|
lua-5.2
|
||||||
mesa
|
mesa
|
||||||
mpg123
|
mpg123
|
||||||
pulseaudio
|
pulseaudio
|
||||||
python-waf
|
|
||||||
rsound
|
rsound
|
||||||
shaderc
|
shaderc
|
||||||
vulkan-headers
|
vulkan-headers
|
||||||
|
|
@ -2420,6 +2413,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
yt-dlp
|
yt-dlp
|
||||||
|
zimg
|
||||||
zlib))
|
zlib))
|
||||||
(home-page "https://mpv.io/")
|
(home-page "https://mpv.io/")
|
||||||
(synopsis "Audio and video player")
|
(synopsis "Audio and video player")
|
||||||
|
|
|
||||||
Reference in a new issue