summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-08-17 04:15:30 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-08-17 04:15:30 +0000
commitce2a30bd19c85796bb7a5b57c82aa75a71c2d084 (patch)
treefbec348df198d1453196da860efc54c3fc7f292d /www-client/chromium-bin
parentAutomatically rehash ssl certs for people #333069. (diff)
downloadgentoo-2-ce2a30bd19c85796bb7a5b57c82aa75a71c2d084.tar.gz
gentoo-2-ce2a30bd19c85796bb7a5b57c82aa75a71c2d084.tar.bz2
gentoo-2-ce2a30bd19c85796bb7a5b57c82aa75a71c2d084.zip
Add an experimental binary package built on Gentoo for stable channel release.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r--www-client/chromium-bin/ChangeLog9
-rw-r--r--www-client/chromium-bin/chromium-bin-5.0.375.125.ebuild69
2 files changed, 77 insertions, 1 deletions
diff --git a/www-client/chromium-bin/ChangeLog b/www-client/chromium-bin/ChangeLog
index 73b744e67317..6bed2d9c5c68 100644
--- a/www-client/chromium-bin/ChangeLog
+++ b/www-client/chromium-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/chromium-bin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.71 2010/07/19 08:21:57 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.72 2010/08/17 04:15:30 phajdan.jr Exp $
+
+*chromium-bin-5.0.375.125 (17 Aug 2010)
+
+ 17 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ +chromium-bin-5.0.375.125.ebuild:
+ Add an experimental binary package built on Gentoo for stable channel
+ release.
*chromium-bin-6.0.470.0_p52843 (19 Jul 2010)
diff --git a/www-client/chromium-bin/chromium-bin-5.0.375.125.ebuild b/www-client/chromium-bin/chromium-bin-5.0.375.125.ebuild
new file mode 100644
index 000000000000..e20282fec6b3
--- /dev/null
+++ b/www-client/chromium-bin/chromium-bin-5.0.375.125.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.375.125.ebuild,v 1.1 2010/08/17 04:15:30 phajdan.jr Exp $
+
+EAPI="2"
+inherit eutils multilib
+
+DESCRIPTION="Open-source version of Google Chrome web browser (binary version)"
+HOMEPAGE="http://code.google.com/chromium/"
+SRC_URI="x86? ( mirror://gentoo/${PN}-x86-${PV}.tar.bz2 )
+ amd64? ( mirror://gentoo/${PN}-amd64-${PV}.tar.bz2 )"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="+plugins-symlink"
+
+DEPEND=""
+RDEPEND="app-arch/bzip2
+ dev-libs/dbus-glib
+ dev-libs/expat
+ dev-libs/glib
+ >=dev-libs/libevent-1.4.13
+ dev-libs/libxml2
+ dev-libs/libxslt
+ >=dev-libs/nspr-4.7
+ >=dev-libs/nss-3.12.3
+ >=gnome-base/gconf-2.24.0
+ >=media-libs/alsa-lib-1.0.19
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/jpeg:0
+ =media-libs/libpng-1.2*
+ media-video/ffmpeg[threads]
+ sys-apps/dbus
+ sys-libs/zlib
+ x11-apps/xmessage
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.14.7
+ x11-libs/libXScrnSaver
+ x11-libs/pango
+ x11-misc/xdg-utils
+ virtual/ttf-fonts
+ || (
+ x11-themes/gnome-icon-theme
+ x11-themes/oxygen-molecule
+ x11-themes/tango-icon-theme
+ x11-themes/xfce4-icon-theme
+ )"
+
+get_chromium_home() {
+ echo "/opt/chromium.org"
+}
+
+src_install() {
+ dodir "$(get_chromium_home)" || die
+ insinto "$(get_chromium_home)"
+ cp -R usr/$(get_libdir)/chromium-browser/* "${D}/$(get_chromium_home)" || die
+
+ # Plugins symlink, optional wrt bug #301911
+ if use plugins-symlink; then
+ dosym /usr/$(get_libdir)/nsbrowser/plugins "$(get_chromium_home)/plugins"
+ fi
+
+ make_wrapper chromium-bin ./chrome "$(get_chromium_home)"
+ newicon "${FILESDIR}"/chromium.png ${PN}.png
+ make_desktop_entry chromium-bin "Chromium (bin)" ${PN} "Network;WebBrowser"
+ sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
+ || die "desktop file sed failed"
+}