1
0
forked from ports/contrib
contrib/mpv/Pkgfile

24 lines
716 B
Plaintext
Raw Normal View History

2013-08-19 20:26:13 +02:00
# Description: General Purpose video player based on MPlayer and mplayer2
# URL: https://mpv.io/
# Maintainer: Danny Rawlins, crux at romster dot me
2019-12-01 12:39:02 +11:00
# Depends on: ffmpeg libass libplacebo util-linux xorg-libxscrnsaver
# Optional: docutils youtube-dl libquvi libdvdnav libbluray libcdio-paranoia libvdpau rubberband
2013-08-19 20:26:13 +02:00
name=mpv
2022-02-05 16:34:40 +01:00
version=0.34.1
release=4
_commit=d3a28f12c9ced29982fc831722075bd0c73fb821
source=(https://github.com/mpv-player/mpv/archive/$_commit/$name-v$version-$release.tar.gz)
2013-08-19 20:26:13 +02:00
2016-06-10 12:02:55 +03:00
build() {
meson setup $name-$_commit build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
2013-08-19 20:26:13 +02:00
meson compile -C build
DESTDIR=$PKG meson install -C build
2013-08-19 20:26:13 +02:00
}