24 lines
716 B
Plaintext
24 lines
716 B
Plaintext
# Description: General Purpose video player based on MPlayer and mplayer2
|
|
# 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
|
|
|
|
name=mpv
|
|
version=0.34.1
|
|
release=4
|
|
_commit=d3a28f12c9ced29982fc831722075bd0c73fb821
|
|
source=(https://github.com/mpv-player/mpv/archive/$_commit/$name-v$version-$release.tar.gz)
|
|
|
|
build() {
|
|
meson setup $name-$_commit build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|