Lines 1-6
Link Here
|
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /home/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre3.ebuild,v 1.8 2004/01/17 05:15:57 darkspecter Exp $ |
|
|
4 |
|
3 |
|
5 |
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" |
4 |
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" |
6 |
|
5 |
|
Lines 70-76
Link Here
|
70 |
|
69 |
|
71 |
SLOT="0" |
70 |
SLOT="0" |
72 |
LICENSE="GPL-2" |
71 |
LICENSE="GPL-2" |
73 |
KEYWORDS="~x86 ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64" |
72 |
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64" |
74 |
|
73 |
|
75 |
|
74 |
|
76 |
pkg_setup() { |
75 |
pkg_setup() { |
Lines 230-238
Link Here
|
230 |
&& myconf="${myconf} --enable-dvb" \ |
229 |
&& myconf="${myconf} --enable-dvb" \ |
231 |
|| myconf="${myconf} --disable-dvb --disable-dvbhead" |
230 |
|| myconf="${myconf} --disable-dvb --disable-dvbhead" |
232 |
|
231 |
|
|
|
232 |
# $MPLAYER_LANG is used to have a localized context-menu hard-coded being on the right mouse-button by default |
233 |
if [ ! -z "$MPLAYER_LANG" ]; then |
234 |
case ${MPLAYER_LANG} in |
235 |
de|en|fr) |
236 |
myconf="${myconf} --language=${MPLAYER_LANG}" |
237 |
;; |
238 |
*) |
239 |
eerror "Unknown language selected." |
240 |
eerror "Please choose one of these languages:" |
241 |
eerror "de | en | fr" |
242 |
die |
243 |
;; |
244 |
esac |
245 |
else |
233 |
use nls \ |
246 |
use nls \ |
234 |
&& myconf="${myconf} --enable-i18n" \ |
247 |
&& myconf="${myconf} --enable-i18n" \ |
235 |
|| myconf="${myconf} --disable-i18n" |
248 |
|| myconf="${myconf} --disable-i18n" |
|
|
249 |
fi |
236 |
|
250 |
|
237 |
use samba \ |
251 |
use samba \ |
238 |
&& myconf="${myconf} --enable-smb" \ |
252 |
&& myconf="${myconf} --enable-smb" \ |