summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-05-19 18:27:33 +0000
committerLuca Barbato <lu_zero@gentoo.org>2012-05-19 18:27:33 +0000
commit64a0dbec354b4100b14d8c3bc06fc83e97550bf0 (patch)
tree38a8040fd37de85b56c0bde74388d9bea0d85079 /media-video/mplayer2
parentversion bump to 4.9.5_p01 (diff)
downloadgentoo-2-64a0dbec354b4100b14d8c3bc06fc83e97550bf0.tar.gz
gentoo-2-64a0dbec354b4100b14d8c3bc06fc83e97550bf0.tar.bz2
gentoo-2-64a0dbec354b4100b14d8c3bc06fc83e97550bf0.zip
Make libpostproc optional. Again thanks to Nikoli.
(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mplayer2')
-rw-r--r--media-video/mplayer2/ChangeLog6
-rw-r--r--media-video/mplayer2/metadata.xml1
-rw-r--r--media-video/mplayer2/mplayer2-9999.ebuild8
3 files changed, 11 insertions, 4 deletions
diff --git a/media-video/mplayer2/ChangeLog b/media-video/mplayer2/ChangeLog
index 6ebb76991aa5..d254cc4e596e 100644
--- a/media-video/mplayer2/ChangeLog
+++ b/media-video/mplayer2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/mplayer2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/ChangeLog,v 1.50 2012/05/19 06:37:34 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/ChangeLog,v 1.51 2012/05/19 18:27:33 lu_zero Exp $
+
+ 19 May 2012; Luca Barbato <lu_zero@gentoo.org> mplayer2-9999.ebuild,
+ metadata.xml:
+ Make libpostproc optional. Again thanks to Nikoli.
19 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> mplayer2-9999.ebuild:
Add portaudio support. Thanks to Nikoli for noticing.
diff --git a/media-video/mplayer2/metadata.xml b/media-video/mplayer2/metadata.xml
index 9a1805b4adf7..0a1329b9c80b 100644
--- a/media-video/mplayer2/metadata.xml
+++ b/media-video/mplayer2/metadata.xml
@@ -39,6 +39,7 @@
<flag name="network">Enables network streaming support</flag>
<flag name="nut">Enables support for the NUT container format</flag>
<flag name="pnm">Add PNM video output option, to create PPM/PGM/PGMYUV images</flag>
+ <flag name="postproc">Enable image post-processing via libpostproc</flag>
<flag name="pvr">Enable Video4Linux2 MPEG PVR</flag>
<flag name="radio">Enable V4L2 radio interface and support</flag>
<flag name="rar">Enable Unique RAR File Library</flag>
diff --git a/media-video/mplayer2/mplayer2-9999.ebuild b/media-video/mplayer2/mplayer2-9999.ebuild
index 5f384e830de5..640f7b5eaf0b 100644
--- a/media-video/mplayer2/mplayer2-9999.ebuild
+++ b/media-video/mplayer2/mplayer2-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-9999.ebuild,v 1.34 2012/05/19 06:37:34 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-9999.ebuild,v 1.35 2012/05/19 18:27:33 lu_zero Exp $
EAPI=4
@@ -36,8 +36,8 @@ IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
bs2b cddb +cdio cpudetection custom-cpuopts debug directfb doc +dts +dv dvb
+dvd +dvdnav dxr3 +enca +faad fbcon ftp gif ggi +iconv ipv6 jack joystick
jpeg kernel_linux ladspa libcaca lirc mad md5sum +mmx mmxext mng +mp3 nas
- +network nut +opengl oss png pnm portaudio pulseaudio pvr +quicktime radio
- +rar +real +rtc samba +shm sdl +speex sse sse2 ssse3 tga +theora +truetype
+ +network nut +opengl oss png pnm portaudio postproc pulseaudio pvr +quicktime
+ radio +rar +real +rtc samba +shm sdl +speex sse sse2 ssse3 tga +theora +truetype
+unicode v4l vdpau +vorbis win32codecs +X xanim xinerama +xscreensaver +xv
xvid"
IUSE+=" symlink"
@@ -124,6 +124,7 @@ RDEPEND+="
png? ( media-libs/libpng )
pnm? ( media-libs/netpbm )
portaudio? ( >=media-libs/portaudio-19_pre20111121 )
+ postproc? ( || ( media-libs/libpostproc media-video/ffmpeg ) )
pulseaudio? ( media-sound/pulseaudio )
rar? (
|| (
@@ -397,6 +398,7 @@ src_configure() {
use fbcon || myconf+=" --disable-fbdev"
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
use libcaca || myconf+=" --disable-caca"
+ use postproc || myconf+=" --disable-libpostproc"
if ! use kernel_linux || ! use video_cards_mga; then
myconf+=" --disable-mga --disable-xmga"