ports/contrib (3.7): mpv: added a few optional dependencies
commit fb99f788833469aa44655f67df29af8ff20b45a3 Author: Tim Biermann <tbier@posteo.de> Date: Fri Nov 4 05:39:45 2022 +0000 mpv: added a few optional dependencies diff --git a/mpv/.signature b/mpv/.signature index 401af7039..be0578871 100644 --- a/mpv/.signature +++ b/mpv/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3x0jARRjITc8RFds9hx8/9amfL7bdNxYy0+eyKoW3qOFH7a+tBKcGd3N3UxbsldVOXNR1DOTUboed24rmy5rSAY= -SHA256 (Pkgfile) = 3a1776f11780ee522153e215eed648f2f27ff9ff4add41767a4d239249728402 +RWSagIOpLGJF32r2qhdcPEeooE4JYAsnNs2DxVph201Faxnks5RG/dHTjdHCZPTP8INBzFf+AXP4RXMmfiPjEdLXoCGCSoTOdgA= +SHA256 (Pkgfile) = b1d95f552d2d828aa32dcbf6625d7558276b8d9a8e332b625acd4922a771fa92 SHA256 (.footprint) = 7b618425e174a11bfbe920d45e584211150b692f5a17f09839ab2ff8e7ce4d03 SHA256 (mpv-v0.34.1-4.tar.gz) = 041ed375835ab38f4a73d99f5bc7419cba402cab13cc18b834994969ea4a932f diff --git a/mpv/Pkgfile b/mpv/Pkgfile index c0c13c9e1..0bb38d414 100644 --- a/mpv/Pkgfile +++ b/mpv/Pkgfile @@ -2,7 +2,7 @@ # URL: https://mpv.io/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: ffmpeg libass libplacebo util-linux xorg-libxscrnsaver -# Optional: docutils youtube-dl libquvi libdvdnav libbluray libcdio-paranoia libvdpau rubberband +# Optional: docutils youtube-dl libquvi libdvdnav libbluray libcdio-paranoia libsdl2 libvdpau rubberband xorg-libxpresent name=mpv version=0.34.1 @@ -11,7 +11,11 @@ _commit=d3a28f12c9ced29982fc831722075bd0c73fb821 source=(https://github.com/mpv-player/mpv/archive/$_commit/$name-v$version-$release....) build() { - meson setup $name-$_commit build \ + prt-get isinst libdvdnav && PKGMK_MPV="-D dvdnav=enabled" + prt-get isinst libcdio-paranoia && PKGMK_MPV+=" -D cdda=enabled" + prt-get isinst libsdl2 && PKGMK_MPV+=" -D sdl2=enabled" + + meson setup $name-$_commit build $PKGMK_MPV \ --prefix=/usr \ --buildtype=plain \ --wrap-mode nodownload \
participants (1)
-
crux@crux.nu