Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 93862 | Differences between
and this patch

Collapse All | Expand All

(-)a/mplayer-1.0_rc2_p20090322.ebuild (-4 / +15 lines)
Lines 17-23 Link Here
17
pulseaudio pvr +quicktime radio +rar +real +rtc -samba
17
pulseaudio pvr +quicktime radio +rar +real +rtc -samba
18
+schroedinger sdl +speex sse sse2 ssse3 svga teletext tga +theora +tremor
18
+schroedinger sdl +speex sse sse2 ssse3 svga teletext tga +theora +tremor
19
+truetype +unicode v4l v4l2 vdpau vidix +vorbis -win32codecs +X +x264 xanim
19
+truetype +unicode v4l v4l2 vdpau vidix +vorbis -win32codecs +X +x264 xanim
20
xinerama +xscreensaver +xv +xvid xvmc zoran"
20
xinerama +xscreensaver +xv +xvid xvmc zoran hardened"
21
21
22
VIDEO_CARDS="s3virge mga tdfx nvidia vesa"
22
VIDEO_CARDS="s3virge mga tdfx nvidia vesa"
23
23
Lines 214-219 Link Here
214
214
215
	cd "${S}"
215
	cd "${S}"
216
216
217
	use hardened && epatch ${FILESDIR}/mplayer-hardened-1.0_rc2_p20090322.patch
218
219
217
	# Set version #
220
	# Set version #
218
	sed -i s/UNKNOWN/${MPLAYER_REVISION}/ "${S}/version.sh"
221
	sed -i s/UNKNOWN/${MPLAYER_REVISION}/ "${S}/version.sh"
219
222
Lines 484-492 Link Here
484
	# However, this use flag, if enabled, will allow users to completely
487
	# However, this use flag, if enabled, will allow users to completely
485
	# specify which ones to use.  If disabled, mplayer will automatically
488
	# specify which ones to use.  If disabled, mplayer will automatically
486
	# enable all CPU optimizations that the host build supports.
489
	# enable all CPU optimizations that the host build supports.
487
	if use custom-cpuopts; then
490
488
		for x in 3dnow 3dnowext mmx mmxext sse sse2 ssse3; do
491
	mycpuopts="3dnow 3dnowext mmx mmxext sse sse2 ssse3"
489
			myconf="${myconf} $(use_enable $x)"
492
	if use hardened; then
493
	    ewarn "on hardened, in order to let the linker succeed, all these cpu
494
		features will be turned off now: ${mycpuopts}"
495
		for x in ${mycpuopts}; do
496
			myconf="${myconf} --disable-$(echo $x)"
497
		done
498
	elif use custom-cpuopts; then 
499
		for x in ${mycpuopts}; do
500
				myconf="${myconf} $(use_enable $x)"
490
		done
501
		done
491
	fi
502
	fi
492
503

Return to bug 93862