void-packages/srcpkgs/mpv/template

31 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-09-14 10:54:41 +02:00
# Template file for 'mpv'
pkgname=mpv
2014-07-26 19:32:59 +02:00
version=0.4.2
revision=2
2013-09-14 10:54:41 +02:00
short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://mpv.io"
build_style=configure
hostmakedepends="which pkg-config python-docutils git"
2013-10-30 07:30:45 +01:00
makedepends="ffmpeg-devel>=2.1 libass-devel lcms2-devel libXinerama-devel libquvi-devel
2013-09-14 10:54:41 +02:00
mpg123-devel libXv-devel libxkbcommon-devel libva-devel libvdpau-devel alsa-lib-devel
libbluray-devel libcdio-devel libdvdread-devel pulseaudio-devel MesaLib-devel
2014-06-26 11:33:12 +02:00
harfbuzz-devel libXScrnSaver-devel jack-devel libdvdnav-devel wayland-devel
desktop-file-utils hicolor-icon-theme"
depends="desktop-file-utils hicolor-icon-theme"
2014-06-26 11:33:12 +02:00
conf_files="/etc/mpv/encoding-profiles.conf"
2013-09-14 10:54:41 +02:00
do_fetch() {
git clone -b v${version} git://github.com/mpv-player/mpv.git mpv-${version}
}
2014-06-26 11:33:12 +02:00
pre_configure() {
sed -e 's,rst2man.py,rst2man,' -i old-configure
}
do_configure() {
./old-configure --prefix=/usr --confdir=/etc/mpv --enable-joystick \
2014-06-26 11:33:12 +02:00
--disable-libbs2b --disable-portaudio --disable-ossaudio \
--disable-sdl2
}