diff options
author | Mike Gilbert <floppym@gentoo.org> | 2011-10-28 02:23:53 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2011-10-28 02:23:53 +0000 |
commit | 4300daf0d178712b9baec663ee88e2afaa998789 (patch) | |
tree | 4c290c2ee05a414612d12bbbb8e962eeb76cccc5 /www-client | |
parent | Version bump for dev channel release. (diff) | |
download | gentoo-2-4300daf0d178712b9baec663ee88e2afaa998789.tar.gz gentoo-2-4300daf0d178712b9baec663ee88e2afaa998789.tar.bz2 gentoo-2-4300daf0d178712b9baec663ee88e2afaa998789.zip |
Version bump for dev channel release.
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/chromium/chromium-16.0.912.15.ebuild (renamed from www-client/chromium/chromium-16.0.912.4.ebuild) | 38 |
2 files changed, 36 insertions, 10 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog index f71f33c4b84d..dc7ed73abee3 100644 --- a/www-client/chromium/ChangeLog +++ b/www-client/chromium/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/chromium # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.478 2011/10/26 23:24:26 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.479 2011/10/28 02:23:53 floppym Exp $ + +*chromium-16.0.912.15 (28 Oct 2011) + + 28 Oct 2011; Mike Gilbert <floppym@gentoo.org> +chromium-16.0.912.15.ebuild, + -chromium-16.0.912.4.ebuild: + Version bump for dev channel release. *chromium-15.0.874.106 (26 Oct 2011) diff --git a/www-client/chromium/chromium-16.0.912.4.ebuild b/www-client/chromium/chromium-16.0.912.15.ebuild index 3da4104b001e..93cc91586aa0 100644 --- a/www-client/chromium/chromium-16.0.912.4.ebuild +++ b/www-client/chromium/chromium-16.0.912.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-16.0.912.4.ebuild,v 1.2 2011/10/24 14:20:54 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-16.0.912.15.ebuild,v 1.1 2011/10/28 02:23:53 floppym Exp $ EAPI="4" PYTHON_DEPEND="2:2.6" @@ -148,7 +148,12 @@ chromium-pkg_die() { } pkg_setup() { - CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + if [[ "${SLOT}" == "0" ]]; then + CHROMIUM_SUFFIX="" + else + CHROMIUM_SUFFIX="-${SLOT}" + fi + CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}" # Make sure the build system will use the right tools, bug #340795. tc-export AR CC CXX RANLIB @@ -382,12 +387,20 @@ src_install() { esac newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die + if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then + sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" \ + -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die + sed "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g" \ + -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die + sed "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:" \ + -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die + fi # It is important that we name the target "chromium-browser", # xdg-utils expect it; bug #355517. - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser || die + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die # keep the old symlink around for consistency - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium || die + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die # Allow users to override command-line options, bug #357629. dodir /etc/chromium || die @@ -439,8 +452,8 @@ src_install() { doins -r out/Release/locales || die doins -r out/Release/resources || die - newman out/Release/chrome.1 chromium.1 || die - newman out/Release/chrome.1 chromium-browser.1 || die + newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die + newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die # Chromium looks for these in its folder # See media_posix.cc and base_paths_linux.cc @@ -453,11 +466,14 @@ src_install() { for SIZE in 16 22 24 32 48 64 128 256 ; do insinto /usr/share/icons/hicolor/${SIZE}x${SIZE}/apps newins chrome/app/theme/chromium/product_logo_${SIZE}.png \ - chromium-browser.png || die + chromium-browser${CHROMIUM_SUFFIX}.png || die done local mime_types="text/html;text/xml;application/xhtml+xml;" mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797 - make_desktop_entry chromium-browser "Chromium" chromium-browser \ + make_desktop_entry \ + chromium-browser${CHROMIUM_SUFFIX} \ + "Chromium${CHROMIUM_SUFFIX}" \ + chromium-browser${CHROMIUM_SUFFIX} \ "Network;WebBrowser" \ "MimeType=${mime_types}\nStartupWMClass=chromium-browser" sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die @@ -466,7 +482,11 @@ src_install() { if use gnome; then dodir /usr/share/gnome-control-center/default-apps || die insinto /usr/share/gnome-control-center/default-apps - doins "${FILESDIR}"/chromium-browser.xml || die + newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die + if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then + sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \ + "${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml + fi fi } |