summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mpv/mpv-9999.ebuild')
-rw-r--r--media-video/mpv/mpv-9999.ebuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 45e47066b2a5..15bbd41ea0a4 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v 1.66 2015/02/22 06:16:18 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v 1.67 2015/03/19 02:56:40 dlan Exp $
EAPI=5
@@ -14,7 +14,7 @@ inherit eutils python-any-r1 waf-utils pax-utils fdo-mime gnome2-utils
WAF_V="1.8.4"
-DESCRIPTION="Video player based on MPlayer/mplayer2"
+DESCRIPTION="Media player based on MPlayer and mplayer2"
HOMEPAGE="http://mpv.io/"
SRC_URI="http://ftp.waf.io/pub/release/waf-${WAF_V}"
[[ ${PV} == *9999* ]] || \
@@ -23,11 +23,11 @@ SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
[[ ${PV} == *9999* ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
IUSE="+alsa bluray bs2b cdio +cli -doc-pdf dvb +dvd dvdnav egl +enca encode
+iconv jack -joystick jpeg ladspa lcms +libass libav libcaca libguess libmpv
-lirc lua luajit +mpg123 -openal +opengl oss pulseaudio pvr samba -sdl selinux
-v4l vaapi vdpau vf-dlopen wayland +X xinerama +xscreensaver +xv"
+lirc lua luajit +mpg123 -openal +opengl oss pulseaudio pvr rubberband samba
+-sdl selinux v4l vaapi vdpau vf-dlopen wayland +X xinerama +xscreensaver xv"
REQUIRED_USE="
|| ( cli libmpv )
@@ -48,8 +48,8 @@ REQUIRED_USE="
"
RDEPEND="
- libav? ( >=media-video/libav-10:0=[encode?,threads,vaapi?,vdpau?] )
- !libav? ( >=media-video/ffmpeg-2.1.4:0=[encode?,threads,vaapi?,vdpau?] )
+ libav? ( >=media-video/libav-11:0=[encode?,threads,vaapi?,vdpau?] )
+ !libav? ( >=media-video/ffmpeg-2.4.0:0=[encode?,threads,vaapi?,vdpau?] )
sys-libs/zlib
X? (
x11-libs/libX11
@@ -84,7 +84,7 @@ RDEPEND="
jpeg? ( virtual/jpeg:0 )
ladspa? ( media-libs/ladspa-sdk )
libass? (
- >=media-libs/libass-0.9.10:=[enca?,fontconfig]
+ >=media-libs/libass-0.12.1:=[enca?,fontconfig]
virtual/ttf-fonts
)
libcaca? ( >=media-libs/libcaca-0.99_beta18 )
@@ -97,6 +97,7 @@ RDEPEND="
mpg123? ( >=media-sound/mpg123-1.14.0 )
openal? ( >=media-libs/openal-1.13 )
pulseaudio? ( media-sound/pulseaudio )
+ rubberband? ( >=media-libs/rubberband-1.8.0 )
samba? ( net-fs/samba )
sdl? ( media-libs/libsdl2[threads] )
v4l? ( media-libs/libv4l )
@@ -122,6 +123,8 @@ RDEPEND+="
selinux? ( sec-policy/selinux-mplayer )
"
DOCS=( Copyright README.md etc/example.conf etc/input.conf )
+[[ ${PV} == *9999* ]] || \
+DOCS+=( RELEASE_NOTES )
pkg_setup() {
if use !libass; then
@@ -161,6 +164,7 @@ src_configure() {
--disable-build-date # keep build reproducible
--disable-optimize # do not add '-O2' to CFLAGS
--disable-debug-build # do not add '-g' to CFLAGS
+ --disable-test # avoid dev-util/cmocka automagic
$(use_enable doc-pdf pdf-build)
$(use_enable vf-dlopen vf-dlopen-filters)
$(use_enable cli zsh-comp)
@@ -182,6 +186,7 @@ src_configure() {
$(use_enable enca)
$(use_enable mpg123)
$(use_enable ladspa)
+ $(use_enable rubberband)
$(use_enable bs2b libbs2b)
$(use_enable lcms lcms2)
--disable-vapoursynth # vapoursynth is not packaged