summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-04-08 20:31:55 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-04-08 20:31:55 +0000
commit0a8754debc632907d779280bb33332e6c3737763 (patch)
tree04d443348ee7e50836f68da4d6fd9ce2c8ef3c39 /media-video
parentversion bump; added freetype2 support (use truetype); added debug eclass supp... (diff)
downloadgentoo-2-0a8754debc632907d779280bb33332e6c3737763.tar.gz
gentoo-2-0a8754debc632907d779280bb33332e6c3737763.tar.bz2
gentoo-2-0a8754debc632907d779280bb33332e6c3737763.zip
v4l and v4l2 support on mplayer
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer/ChangeLog5
-rw-r--r--media-video/mplayer/mplayer-1.0_pre3-r5.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog
index 017882c1c213..5b21b0046740 100644
--- a/media-video/mplayer/ChangeLog
+++ b/media-video/mplayer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/mplayer
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.119 2004/04/06 04:48:27 tseng Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.120 2004/04/08 20:31:55 lu_zero Exp $
+
+ 08 Apr 2004; Luca Barbato <lu_zero@gentoo.org> mplayer-1.0_pre3-r5.ebuild:
+ Added useflags for v4l and v4l2
06 Apr 2004; Brandon Hale <tseng@gentoo.org> mplayer-1.0_pre3-r5.ebuild:
Update -fPIC filtering magic for post hardened-gcc.
diff --git a/media-video/mplayer/mplayer-1.0_pre3-r5.ebuild b/media-video/mplayer/mplayer-1.0_pre3-r5.ebuild
index 03c589cc0682..bee7a7fd8499 100644
--- a/media-video/mplayer/mplayer-1.0_pre3-r5.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre3-r5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre3-r5.ebuild,v 1.4 2004/04/06 04:48:27 tseng Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre3-r5.ebuild,v 1.5 2004/04/08 20:31:55 lu_zero Exp $
-IUSE="dga oss xmms jpeg 3dfx sse matrox sdl X svga ggi oggvorbis 3dnow aalib gnome xv opengl truetype dvd gtk gif esd fbcon encode alsa directfb arts dvb gtk2 samba lirc matroska debug joystick theora ipv6"
+IUSE="dga oss xmms jpeg 3dfx sse matrox sdl X svga ggi oggvorbis 3dnow aalib gnome xv opengl truetype dvd gtk gif esd fbcon encode alsa directfb arts dvb gtk2 samba lirc matroska debug joystick theora ipv6 v4l v4l2"
inherit eutils flag-o-matic
@@ -180,6 +180,14 @@ src_compile() {
&& myconf="${myconf} --enable-mencoder --enable-tv" \
|| myconf="${myconf} --disable-mencoder"
+ use v4l \
+ && myconf="${myconf} --enable-tv-v4l" \
+ || myconf="${myconf} --disable-tv-v4l"
+
+ use v4l2 \
+ && myconf="${myconf} --enable-tv-v4l2" \
+ || myconf="${myconf} --disable-tv-v4l2"
+
use dvd \
&& myconf="${myconf} --enable-mpdvdkit" \
|| myconf="${myconf} --disable-mpdvdkit --disable-dvdread"