###############################################################################
# vlc.ebuild: A Gentoo ebuild for vlc
###############################################################################
-# Copyright (C) 2003 VideoLAN
-# $Id: vlc.ebuild,v 1.21 2004/01/08 21:19:03 hartman Exp $
+# Copyright (C) 2003-2004 VideoLAN
+# $Id: vlc.ebuild,v 1.25 2004/01/09 22:11:04 hartman Exp $
#
-# Authors: Derk-Jan Hartman <thedj at users.sf.net>
+# Authors: Derk-Jan Hartman <hartman at videolan dot org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
inherit gcc
IUSE="arts ncurses dvd gtk nls 3dfx svga fbcon esd X alsa ggi speex
- oggvorbis gnome xv oss sdl aalib slp truetype v4l lirc
+ oggvorbis gnome xv oss sdl aalib slp bidi truetype v4l lirc
wxwindows imlib matroska dvb mozilla debug faad xosd altivec png"
# Change these to correspond with the
DEPEND="X? ( virtual/x11 )
aalib? ( >=media-libs/aalib-1.4_rc4-r2
- >=media-libs/libcaca-0.6 )
+ >=media-libs/libcaca-0.2 )
alsa? ( >=media-libs/alsa-lib-0.9_rc2 )
dvb? ( media-libs/libdvb
media-tv/linuxtv-dvb )
unpack ${A}
- # Mozilla plugin related fix
- epatch ${FILESDIR}/${PV}-mozilla-fix.patch
-
# Change the location of the glide headers
cd ${S}
sed -i \
./configure \
--enable-mp3lame \
--enable-pp \
- --disable-vorbis
- `use_enable mmx` || die "ffmpeg failed to configure"
+ --disable-vorbis || die "ffmpeg failed to configure"
cd libavcodec
make || die "ffmpeg->libavcodec failed to compile"
`use_enable v4l` \
`use_enable dvd` \
`use_enable dvd vcd` `use_enable dvdread` `use_enable dvd dvdplay` \
- `use_enable dvb satellite` `use_enable dvb pvr`
+ `use_enable dvb satellite` `use_enable dvb pvr` \
`use_enable joystick` `use_enable lirc` \
`use_enable arts` \
`use_enable gtk` `use_enable gnome` \