Lines 10-16
Link Here
|
10 |
dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca |
10 |
dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca |
11 |
lirc live livecd lzo mad matroska matrox mmx mmxext mythtv nas nls nvidia |
11 |
lirc live livecd lzo mad matroska matrox mmx mmxext mythtv nas nls nvidia |
12 |
vorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype |
12 |
vorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype |
13 |
v4l v4l2 win32codecs X xanim xinerama xmms xv xvid xvmc" |
13 |
v4l v4l2 vidix win32codecs X xanim xinerama xmms xv xvid xvmc" |
14 |
|
14 |
|
15 |
BLUV=1.4 |
15 |
BLUV=1.4 |
16 |
SVGV=1.9.17 |
16 |
SVGV=1.9.17 |
Lines 74-79
Link Here
|
74 |
samba? ( >=net-fs/samba-2.2.8a ) |
74 |
samba? ( >=net-fs/samba-2.2.8a ) |
75 |
sdl? ( media-libs/libsdl ) |
75 |
sdl? ( media-libs/libsdl ) |
76 |
svga? ( media-libs/svgalib ) |
76 |
svga? ( media-libs/svgalib ) |
|
|
77 |
vidix? ( >=media-libs/vidix-0.9.9.1 ) |
77 |
theora? ( media-libs/libtheora ) |
78 |
theora? ( media-libs/libtheora ) |
78 |
live? ( >=media-plugins/live-2004.07.20 ) |
79 |
live? ( >=media-plugins/live-2004.07.20 ) |
79 |
truetype? ( >=media-libs/freetype-2.1 ) |
80 |
truetype? ( >=media-libs/freetype-2.1 ) |
Lines 131-136
Link Here
|
131 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" |
132 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" |
132 |
|
133 |
|
133 |
pkg_setup() { |
134 |
pkg_setup() { |
|
|
135 |
misused_useflags_warn |
134 |
if use real && use x86; then |
136 |
if use real && use x86; then |
135 |
REALLIBDIR="/opt/RealPlayer/codecs" |
137 |
REALLIBDIR="/opt/RealPlayer/codecs" |
136 |
fi |
138 |
fi |
Lines 179-184
Link Here
|
179 |
epatch ${FILESDIR}/${P}-gcc_detection.patch |
181 |
epatch ${FILESDIR}/${P}-gcc_detection.patch |
180 |
} |
182 |
} |
181 |
|
183 |
|
|
|
184 |
misused_useflags_warn() { |
185 |
( use xvmc && use nvidia && use i8x0 ) \ |
186 |
&& { |
187 |
eerror "Invalid combination of USE flags" |
188 |
eerror "When building support for xvmc, you may only" |
189 |
eerror "include support for one video card:" |
190 |
eerror " nvidia, i8x0" |
191 |
eerror |
192 |
eerror "Emerge again with different USE flags" |
193 |
|
194 |
exit 1 |
195 |
} |
196 |
( use vidix && ! use svga ) \ |
197 |
&& { |
198 |
ewarn |
199 |
ewarn "You will probably need USE=svga as well!" |
200 |
ewarn "RTFM: http://www.mplayerhq.hu/DOCS/HTML/en/video.html#vidix" |
201 |
ewarn |
202 |
ewarn "Consider emerging again with different USE flags!" |
203 |
ewarn |
204 |
sleep 5 |
205 |
} |
206 |
} |
207 |
|
182 |
linguas_warn() { |
208 |
linguas_warn() { |
183 |
ewarn "Language ${LANG[0]} or ${LANG_CC} not avaliable" |
209 |
ewarn "Language ${LANG[0]} or ${LANG_CC} not avaliable" |
184 |
ewarn "Language set to English" |
210 |
ewarn "Language set to English" |
Lines 352-365
Link Here
|
352 |
myconf="${myconf} $(use_enable matrox mga)" |
378 |
myconf="${myconf} $(use_enable matrox mga)" |
353 |
myconf="${myconf} $(use_enable opengl gl)" |
379 |
myconf="${myconf} $(use_enable opengl gl)" |
354 |
myconf="${myconf} $(use_enable sdl)" |
380 |
myconf="${myconf} $(use_enable sdl)" |
355 |
|
381 |
myconf="${myconf} $(use_enable vidix)" |
356 |
if use svga |
382 |
myconf="${myconf} $(use_enable svga)" |
357 |
then |
|
|
358 |
myconf="${myconf} --enable-svga" |
359 |
else |
360 |
myconf="${myconf} --disable-svga --disable-vidix" |
361 |
fi |
362 |
|
363 |
myconf="${myconf} $(use_enable tga)" |
383 |
myconf="${myconf} $(use_enable tga)" |
364 |
|
384 |
|
365 |
( use xvmc && use nvidia ) \ |
385 |
( use xvmc && use nvidia ) \ |
Lines 368-385
Link Here
|
368 |
( use xvmc && use i8x0 ) \ |
388 |
( use xvmc && use i8x0 ) \ |
369 |
&& myconf="${myconf} --enable-xvmc --with-xvmclib=I810XvMC" |
389 |
&& myconf="${myconf} --enable-xvmc --with-xvmclib=I810XvMC" |
370 |
|
390 |
|
371 |
( use xvmc && use nvidia && use i8x0 ) \ |
|
|
372 |
&& { |
373 |
eerror "Invalid combination of USE flags" |
374 |
eerror "When building support for xvmc, you may only" |
375 |
eerror "include support for one video card:" |
376 |
eerror " nvidia, i8x0" |
377 |
eerror |
378 |
eerror "Emerge again with different USE flags" |
379 |
|
380 |
exit 1 |
381 |
} |
382 |
|
383 |
( use xvmc && ! use nvidia && ! use i8x0 ) && { |
391 |
( use xvmc && ! use nvidia && ! use i8x0 ) && { |
384 |
ewarn "You tried to build with xvmc support." |
392 |
ewarn "You tried to build with xvmc support." |
385 |
ewarn "No supported graphics hardware was specified." |
393 |
ewarn "No supported graphics hardware was specified." |