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

(-)/usr/portage/www-client/chromium/chromium-9999.ebuild (-6 / +3 lines)
Lines 25-31 Link Here
25
	>=media-libs/alsa-lib-1.0.19
25
	>=media-libs/alsa-lib-1.0.19
26
	media-libs/jpeg:0
26
	media-libs/jpeg:0
27
	media-libs/libpng
27
	media-libs/libpng
28
	>=media-video/ffmpeg-0.6[threads,vpx]
29
	cups? ( >=net-print/cups-1.4.4 )
28
	cups? ( >=net-print/cups-1.4.4 )
30
	sys-libs/zlib
29
	sys-libs/zlib
31
	>=x11-libs/gtk+-2.14.7
30
	>=x11-libs/gtk+-2.14.7
Lines 132-145 Link Here
132
	# TODO: use_system_ssl when we have a recent enough system NSS.
131
	# TODO: use_system_ssl when we have a recent enough system NSS.
133
	myconf="${myconf}
132
	myconf="${myconf}
134
		-Duse_system_bzip2=1
133
		-Duse_system_bzip2=1
135
		-Duse_system_ffmpeg=1
134
		-Duse_system_ffmpeg=0
136
		-Duse_system_libevent=1
135
		-Duse_system_libevent=1
137
		-Duse_system_libjpeg=1
136
		-Duse_system_libjpeg=1
138
		-Duse_system_libpng=1
137
		-Duse_system_libpng=1
139
		-Duse_system_zlib=1"
138
		-Duse_system_zlib=1"
140
139
141
	# The system-provided ffmpeg supports more codecs. Enable them in chromium.
140
	# The system-provided ffmpeg supports more codecs. Enable them in chromium.
142
	myconf="${myconf} -Dproprietary_codecs=1"
141
	myconf="${myconf} -Dproprietary_codecs=1 -Dffmpeg_branding=Chrome"
143
142
144
	# The dependency on cups is optional, see bug #324105.
143
	# The dependency on cups is optional, see bug #324105.
145
	if use cups; then
144
	if use cups; then
Lines 229-237 Link Here
229
228
230
	# Chromium looks for these in its folder
229
	# Chromium looks for these in its folder
231
	# See media_posix.cc and base_paths_linux.cc
230
	# See media_posix.cc and base_paths_linux.cc
232
	dosym /usr/$(get_libdir)/libavcodec.so.52 "$(get_chromium_home)"
231
	doexe out/Release/libffmpegsumo.so
233
	dosym /usr/$(get_libdir)/libavformat.so.52 "$(get_chromium_home)"
234
	dosym /usr/$(get_libdir)/libavutil.so.50 "$(get_chromium_home)"
235
232
236
	# Use system plugins by default.
233
	# Use system plugins by default.
237
	dosym /usr/$(get_libdir)/nsbrowser/plugins "$(get_chromium_home)/plugins"
234
	dosym /usr/$(get_libdir)/nsbrowser/plugins "$(get_chromium_home)/plugins"

Return to bug 329655