void-packages/srcpkgs/mpv/template
2013-09-21 09:05:51 +02:00

31 lines
1 KiB
Text

# Template file for 'mpv'
pkgname=mpv
version=0.1.7
revision=1
short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://mpv.io"
build_style=configure
configure_args="--prefix=/usr --confdir=/etc/mpv --disable-lircc --disable-joystick
--disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-rpath
--disable-libbs2b --disable-direct3d --disable-corevideo --disable-cocoa
--disable-coreaudio --disable-portaudio --disable-ossaudio --disable-sdl
--disable-sdl2 --disable-wayland"
hostmakedepends="which pkg-config python-docutils"
makedepends="ffmpeg-devel libass-devel lcms2-devel libXinerama-devel libquvi-devel
mpg123-devel libXv-devel libxkbcommon-devel libva-devel libvdpau-devel alsa-lib-devel
libbluray-devel libcdio-devel libdvdread-devel pulseaudio-devel MesaLib-devel
harfbuzz-devel libXScrnSaver-devel jack-devel"
do_fetch() {
git clone -b v${version} git://github.com/mpv-player/mpv.git mpv-${version}
}
mpv_package() {
pkg_install() {
vmove all
}
}