diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-18 20:30:57 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-18 20:54:18 -0500 |
commit | f3fdb4e041cb5740ba0b38b9ad017571f8414d33 (patch) | |
tree | 1b4add2889b04c3aad6afb2afafdb72269948d4d | |
parent | 119f4cad81977b9fe0af9812767b1f00f434b329 (diff) |
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
-rw-r--r-- | gnu/packages/video.scm | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 88b6636a7b..90b3bdb585 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2639,31 +2639,43 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") "-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 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 - enca ffmpeg jack-1 - ladspa - lcms 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 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") ;; 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/") |