forked from ports/contrib
mpv: added a few optional dependencies
This commit is contained in:
parent
4a9830896f
commit
fb99f78883
@ -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
|
||||
|
@ -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.tar.gz)
|
||||
|
||||
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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user