2013-09-14 10:54:41 +02:00
|
|
|
# Template file for 'mpv'
|
|
|
|
pkgname=mpv
|
2013-11-03 12:24:04 +01:00
|
|
|
version=0.2.2
|
|
|
|
revision=1
|
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
|
|
|
|
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"
|
|
|
|
|
2013-09-14 11:10:03 +02:00
|
|
|
hostmakedepends="which pkg-config python-docutils"
|
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
|
2013-10-17 07:22:54 +02:00
|
|
|
harfbuzz-devel libXScrnSaver-devel jack-devel libva-devel desktop-file-utils
|
|
|
|
hicolor-icon-theme"
|
2013-09-14 10:54:41 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b v${version} git://github.com/mpv-player/mpv.git mpv-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
mpv_package() {
|
2013-10-17 07:22:54 +02:00
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2013-09-14 10:54:41 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove all
|
|
|
|
}
|
|
|
|
}
|