gnu: mpv: Propagate most libraries.

This is needed when packages lookup the mpv library via pkg-config, such as
done by plasmatube.

Prior to this change, the following would fail (this is what CMake's
'pkg_check_modules' does):

  $ guix shell --pure pkg-config mpv \
    -- pkg-config --print-errors --short-errors --exists mpv
  Package 'wayland-client', required by 'mpv', not found

* gnu/packages/video.scm (mpv)
[inputs]: Move alsa-lib, ffmpeg, jack-1, libass, libbluray, libcaca,
libcdio-paranoia, libdvdnav, libjpeg-turbo, libplacebo, libva, libvdpau,
libx11, libxext, libxinerama, libxpresent, libxrandr, libxscrnsaver, lua-5.2,
mesa, pulseaudio, shaderc, wayland, wayland-protocols, zimg and zlib to...
[propagated-inputs]: ... here.

Change-Id: Ia0cd4e33a8b4df4b060546c979d00be0b2b3977e
This commit is contained in:
Maxim Cournoyer 2024-01-18 20:30:57 -05:00
parent 119f4cad81
commit f3fdb4e041
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2639,31 +2639,43 @@ (define-public mpv
"-Ddvdnav=enabled"
"-Dbuild-date=false")))
(native-inputs
(list perl ; for zsh completion file
pkg-config python-docutils python-wrapper))
(list perl ;for zsh completion file
pkg-config
python-docutils
python-wrapper))
;; Missing features: libguess, V4L2.
(inputs
(list alsa-lib
enca
ffmpeg
jack-1
(list enca
ladspa
lcms
libbs2b
mpg123
rsound
vulkan-headers
vulkan-loader
yt-dlp))
;; XXX: These are propagated for the mpv pkg-config package, as they are
;; listed in Requires.private and would break 'pkg-config --exists mpv' if
;; unavailable.
(propagated-inputs
(list alsa-lib
ffmpeg
jack-1
libass
libbluray
libcaca
libbs2b
libcdio-paranoia
libdvdread
libdrm
libdvdnav
libdvdread
libjpeg-turbo
libplacebo
libva
libvdpau
libx11
libxext
libxkbcommon
libxinerama
libxkbcommon
libxpresent
libxrandr
libxscrnsaver
@ -2671,15 +2683,10 @@ (define-public mpv
;; XXX: lua > 5.2 is not currently supported; see meson.build
lua-5.2
mesa
mpg123
pulseaudio
rsound
shaderc
vulkan-headers
vulkan-loader
wayland
wayland-protocols
yt-dlp
zimg
zlib))
(home-page "https://mpv.io/")