Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 300364
Collapse All | Expand All

(-)ffmpeg-0.5_p20373.ebuild (-8 / +8 lines)
Lines 100-105 Link Here
100
	# enabled by default
100
	# enabled by default
101
	if use encode
101
	if use encode
102
	then
102
	then
103
		if use bindist
104
		then
105
			use faac && ewarn "faac is nonfree and cannot be distributed; disabling
106
			faac support."
107
		else
108
			use faac && myconf="${myconf} --enable-libfaac"
109
			{ use faac ; } && myconf="${myconf} --enable-nonfree"
110
		fi
103
		use mp3 && myconf="${myconf} --enable-libmp3lame"
111
		use mp3 && myconf="${myconf} --enable-libmp3lame"
104
		use vorbis && myconf="${myconf} --enable-libvorbis"
112
		use vorbis && myconf="${myconf} --enable-libvorbis"
105
		use theora && myconf="${myconf} --enable-libtheora"
113
		use theora && myconf="${myconf} --enable-libtheora"
Lines 136-149 Link Here
136
		# Crappy detection or our installation is weird, pick one (FIXME)
144
		# Crappy detection or our installation is weird, pick one (FIXME)
137
		append-flags -I/usr/include/gsm
145
		append-flags -I/usr/include/gsm
138
	fi
146
	fi
139
	if use bindist
140
	then
141
		use faac && ewarn "faac is nonfree and cannot be distributed; disabling
142
		faac support."
143
	else
144
		use faac && myconf="${myconf} --enable-libfaac"
145
		{ use faac ; } && myconf="${myconf} --enable-nonfree"
146
	fi
147
147
148
	#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
148
	#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
149
	#	use video_cards_nvidia || myconf="${myconf} --disable-decoder=$i"
149
	#	use video_cards_nvidia || myconf="${myconf} --disable-decoder=$i"

Return to bug 300364