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

(-)file_not_specified_in_diff (-5 / +22 lines)
Line  Link Here
0
-- /usr/portage/www-client/chromium/chromium-10.0.648.133.ebuild
0
++ /usr/portage/www-client/chromium/chromium-10.0.648.133.ebuild
Lines 6-13 Link Here
6
PYTHON_DEPEND="2:2.6"
6
PYTHON_DEPEND="2:2.6"
7
V8_DEPEND="3.0.12.30"
7
V8_DEPEND="3.0.12.30"
8
8
9
inherit eutils flag-o-matic multilib pax-utils portability python \
9
inherit eutils flag-o-matic gnome2-utils multilib pax-utils portability \
10
	toolchain-funcs versionator virtualx
10
	python toolchain-funcs versionator virtualx
11
11
12
DESCRIPTION="Open-source version of Google Chrome web browser"
12
DESCRIPTION="Open-source version of Google Chrome web browser"
13
HOMEPAGE="http://chromium.org/"
13
HOMEPAGE="http://chromium.org/"
Lines 301-308 Link Here
301
	dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
301
	dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
302
	dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
302
	dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
303
303
304
	# Install icon and desktop entry.
304
	# Install icons and desktop entry.
305
	newicon chrome/app/theme/chromium/product_logo_48.png ${PN}-browser.png || die
305
	for SIZE in 16 22 24 32 48 64 128 256 ; do
306
		insinto /usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
307
		newins chrome/app/theme/chromium/product_logo_${SIZE}.png ${PN}-browser.png || die "Installing icons failed."
308
	done
309
306
	dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium || die
310
	dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium || die
307
	make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser" \
311
	make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser" \
308
		"MimeType=text/html;text/xml;application/xhtml+xml;"
312
		"MimeType=text/html;text/xml;application/xhtml+xml;"
Lines 316-322 Link Here
316
	fi
320
	fi
317
}
321
}
318
322
323
pkg_preinst() {
324
	gnome2_icon_savelist
325
}
326
327
319
pkg_postinst() {
328
pkg_postinst() {
329
330
	gnome2_icon_cache_update
331
	
320
	# For more info see bugs #292201 and bug #352263.
332
	# For more info see bugs #292201 and bug #352263.
321
	elog "Depending on your desktop environment, you may need"
333
	elog "Depending on your desktop environment, you may need"
322
	elog "to install additional packages to get icons on the Downloads page."
334
	elog "to install additional packages to get icons on the Downloads page."
Lines 327-329 Link Here
327
	elog " - x11-themes/gnome-icon-theme"
339
	elog " - x11-themes/gnome-icon-theme"
328
	elog " - x11-themes/xfce4-icon-theme"
340
	elog " - x11-themes/xfce4-icon-theme"
329
}
341
}
342
343
pkg_postrm() {
344
	gnome2_icon_cache_update
345
}
346

Return to bug 358763