2013-09-14 08:54:41 +00:00
|
|
|
# Template file for 'mpv'
|
|
|
|
pkgname=mpv
|
2014-05-24 19:57:04 +00:00
|
|
|
version=0.3.10
|
2014-06-06 07:58:53 +00:00
|
|
|
revision=2
|
2013-09-14 08:54:41 +00: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
|
2013-09-14 09:10:03 +00:00
|
|
|
hostmakedepends="which pkg-config python-docutils"
|
2013-10-30 06:30:45 +00:00
|
|
|
makedepends="ffmpeg-devel>=2.1 libass-devel lcms2-devel libXinerama-devel libquvi-devel
|
2013-09-14 08:54:41 +00: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-12-03 10:34:25 +00:00
|
|
|
harfbuzz-devel libXScrnSaver-devel jack-devel desktop-file-utils hicolor-icon-theme"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2013-09-14 08:54:41 +00:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b v${version} git://github.com/mpv-player/mpv.git mpv-${version}
|
|
|
|
}
|
2014-04-20 07:53:59 +00:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
./old-configure --prefix=/usr --confdir=/etc/mpv --enable-joystick \
|
|
|
|
--disable-radio --disable-radio-capture --disable-radio-v4l2 \
|
|
|
|
--disable-libbs2b --disable-direct3d --disable-corevideo \
|
|
|
|
--disable-coreaudio --disable-portaudio --disable-ossaudio \
|
2014-04-20 07:55:26 +00:00
|
|
|
--disable-sdl2 --disable-wayland --disable-rpath \
|
|
|
|
--disable-sdl --disable-cocoa
|
2014-04-20 07:53:59 +00:00
|
|
|
}
|