[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: mpv: Remove input labels.
From: |
guix-commits |
Subject: |
07/11: gnu: mpv: Remove input labels. |
Date: |
Wed, 26 Oct 2022 17:11:00 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 51aac125f0c17c6bdb1cb9c4534494a68714a5f8
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 16 02:00:01 2022 +0200
gnu: mpv: Remove input labels.
* gnu/packages/video.scm (mpv)[inputs]: Remove input labels.
[arguments]: Use SEARCH-INPUT-FILE instead.
---
gnu/packages/video.scm | 104 ++++++++++++++++++++++++-------------------------
1 file changed, 51 insertions(+), 53 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 43686034ba..a9c1debc08 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2168,58 +2168,15 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
(sha256
(base32
"12qxwm1ww5vhjddl8yvj1xa0n1fi9z3lmzwhaiday2v59ca0qgsk"))))
(build-system waf-build-system)
- (native-inputs
- (list perl ; for zsh completion file
- pkg-config python-docutils))
- ;; Missing features: libguess, V4L2
- (inputs
- `(("alsa-lib" ,alsa-lib)
- ("enca" ,enca)
- ("ffmpeg" ,ffmpeg)
- ("jack" ,jack-1)
- ("ladspa" ,ladspa)
- ("lcms" ,lcms)
- ("libass" ,libass)
- ("libbluray" ,libbluray)
- ("libcaca" ,libcaca)
- ("libbs2b" ,libbs2b)
- ("libcdio-paranoia" ,libcdio-paranoia)
- ("libdvdread" ,libdvdread)
- ("libdvdnav" ,libdvdnav)
- ("libjpeg" ,libjpeg-turbo)
- ("libva" ,libva)
- ("libvdpau" ,libvdpau)
- ("libx11" ,libx11)
- ("libxext" ,libxext)
- ("libxinerama" ,libxinerama)
- ("libxrandr" ,libxrandr)
- ("libxscrnsaver" ,libxscrnsaver)
- ("libxv" ,libxv)
- ;; XXX: lua > 5.2 is not currently supported; see
- ;; waftools/checks/custom.py
- ("lua" ,lua-5.2)
- ("mesa" ,mesa)
- ("mpg123" ,mpg123)
- ("pulseaudio" ,pulseaudio)
- ("rsound" ,rsound)
- ("shaderc" ,shaderc)
- ("vulkan-headers" ,vulkan-headers)
- ("vulkan-loader" ,vulkan-loader)
- ("waf" ,python-waf)
- ("wayland" ,wayland)
- ("wayland-protocols" ,wayland-protocols)
- ("libxkbcommon" ,libxkbcommon)
- ("yt-dlp" ,yt-dlp)
- ("zlib" ,zlib)))
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
- (let ((ytdl (assoc-ref inputs "yt-dlp")))
- (substitute* "player/lua/ytdl_hook.lua"
- (("\"yt-dlp\",")
- (string-append "\"" ytdl "/bin/yt-dlp\","))))))
+ (substitute* "player/lua/ytdl_hook.lua"
+ (("\"yt-dlp\",")
+ (string-append
+ "\"" (search-input-file inputs "bin/yt-dlp") "\",")))))
(add-before 'configure 'build-reproducibly
(lambda _
;; Somewhere in the build system library dependencies are
enumerated
@@ -2227,18 +2184,59 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
;; varies. See <https://github.com/mpv-player/mpv/issues/7855>.
;; Set PYTHONHASHSEED as a workaround for deterministic results.
(setenv "PYTHONHASHSEED" "1")))
- (add-before
- 'configure 'setup-waf
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((waf (assoc-ref inputs "waf")))
- (copy-file (string-append waf "/bin/waf") "waf"))
- (setenv "CC" "gcc"))))
+ (add-before 'configure 'set-up-waf
+ (lambda* (#:key inputs #:allow-other-keys)
+ (copy-file (search-input-file inputs "/bin/waf") "waf")
+ (setenv "CC" "gcc"))))
#:configure-flags (list "--enable-libmpv-shared"
"--enable-cdda"
"--enable-dvdnav"
"--disable-build-date")
;; No check function defined.
#:tests? #f))
+ (native-inputs
+ (list perl ; for zsh completion file
+ pkg-config python-docutils))
+ ;; Missing features: libguess, V4L2.
+ (inputs
+ (list alsa-lib
+ enca
+ ffmpeg
+ jack-1
+ ladspa
+ lcms
+ libass
+ libbluray
+ libcaca
+ libbs2b
+ libcdio-paranoia
+ libdvdread
+ libdvdnav
+ libjpeg-turbo
+ libva
+ libvdpau
+ libx11
+ libxext
+ libxkbcommon
+ libxinerama
+ libxrandr
+ libxscrnsaver
+ libxv
+ ;; XXX: lua > 5.2 is not currently supported; see
+ ;; waftools/checks/custom.py
+ lua-5.2
+ mesa
+ mpg123
+ pulseaudio
+ python-waf
+ rsound
+ shaderc
+ vulkan-headers
+ vulkan-loader
+ wayland
+ wayland-protocols
+ yt-dlp
+ zlib))
(home-page "https://mpv.io/")
(synopsis "Audio and video player")
(description "mpv is a general-purpose audio and video player. It is a
- branch master updated (c07b55eb94 -> 5dda4c69f0), guix-commits, 2022/10/26
- 02/11: gnu: memtest86+: Update to 6.00., guix-commits, 2022/10/26
- 06/11: gnu: mpv: Remove trailing #t from phases., guix-commits, 2022/10/26
- 09/11: gnu: mpv: Prepare for cross-compilation., guix-commits, 2022/10/26
- 08/11: gnu: mpv: Use G-expressions., guix-commits, 2022/10/26
- 10/11: gnu: sudo: Update to 1.9.12., guix-commits, 2022/10/26
- 05/11: system: Support bare-bones serial console., guix-commits, 2022/10/26
- 01/11: gnu: mu: Update to 1.8.11., guix-commits, 2022/10/26
- 03/11: gnu: memtest86+: Use G-expressions., guix-commits, 2022/10/26
- 04/11: gnu: memtest86+: Include a GRUB-based ISO image., guix-commits, 2022/10/26
- 07/11: gnu: mpv: Remove input labels.,
guix-commits <=
- 11/11: gnu: xorriso: Update to 1.5.4., guix-commits, 2022/10/26