Lukas Linhart avatar Lukas Linhart committed 2a4e6c1

Removed chromium (in portage now)

Comments (0)

Files changed (1)

www-client/chromium/chromium-9999.ebuild

-# Copyright 1999-2009 Gentoo Foundation 
-# Distributed under the terms of the GNU General Public License v2 
-# $Header: $ 
-
-EAPI=2 
-
-EGCLIENT_REPO_URI="http://src.chromium.org/svn/trunk/src/" 
-EGCLIENT_CONFIG="${FILESDIR}/.gclient" 
-
-inherit gclient eutils flag-o-matic 
-
-RESTRICT="mirror" 
-
-DESCRIPTION="Chromium is the open-source project behind Google Chrome." 
-HOMEPAGE="http://code.google.com:80/chromium/" 
-
-LICENSE="GPL-2" 
-SLOT="live" 
-
-IUSE="" 
-
-DEPEND=" 
-   >=dev-lang/python-2.4 
-   >=dev-lang/perl-5.0 
-   >=sys-devel/gcc-4.2 
-   >=sys-devel/bison-2.3 
-   >=sys-devel/flex-2.5.34 
-   >=dev-util/gperf-3.0.3 
-   >=dev-util/pkgconfig-0.20 
-   >=dev-libs/nss-3.12 
-   dev-libs/glib:2 
-   x11-libs/gtk+:2 
-   >=dev-libs/nspr-4.7.1 
-   media-fonts/corefonts 
-   >=dev-util/scons-1.2.0 
-   >=sys-apps/sandbox-1.8 
-" 
-RDEPEND="${DEPEND}" 
-
-S="${S}/src" 
-
-src_prepare() { 
-
-   cd ${S}/src/chrome/browser 
-
-   filter-ldflags -Wl,--as-needed 
-
-   export HOME=${S} 
-   mkdir ~/.gyp 
-   echo "{"               > ~/.gyp/include.gypi 
-   echo " 'variables': {"             >> ~/.gyp/include.gypi 
-   echo "  'branding': 'Chromium-Gentoo',"    >> ~/.gyp/include.gypi 
-   #echo "  'library': 'shared_library',"       >> ~/.gyp/include.gypi 
-   echo " },"                >> ~/.gyp/include.gypi 
-   echo " 'target_defaults': {"          >> ~/.gyp/include.gypi 
-   echo "  'cflags': [ '${CFLAGS// /','}' ],"      >> ~/.gyp/include.gypi 
-   echo "  'ldflags': [ '${LDFLAGS// /','}' ],"    >> ~/.gyp/include.gypi 
-   echo " },"                >> ~/.gyp/include.gypi 
-   echo "}"                >> ~/.gyp/include.gypi 
-
-   cd ${S} 
-      src/tools/gyp/gyp_chromium src/build/all.gyp -Dtarget_arch=x64 -Dno_strict_aliasing=1 -Dgcc_version=44 || die "gpy failed" 
-
-} 
-
-src_compile() { 
-
-   cd ${S}/src/chrome 
-   scons --mode=Release --site-dir=../site_scons ${MAKEOPTS} chrome || die "scons build failed" 
-
-} 
-
-src_install() { 
-
-   cd ${S}/src/sconsbuild/Release 
-
-   dodir /opt/${PN} 
-   dodir /opt/${PN}/locales 
-   dodir /opt/${PN}/themes 
-
-   insinto /opt/${PN} 
-   doins chrome.pak 
-
-   insinto /opt/${PN}/locales 
-   doins -r locales/* 
-
-   insinto /opt/${PN}/themes 
-   doins -r themes/* 
-
-   exeinto /opt/${PN} 
-   doexe chrome || die "no chrome bin?" 
-   dosym /opt/${PN}/chrome /opt/bin/chrome    
-
-   newicon "${S}/src/chrome/app/theme/chromium/product_logo_256.png" 
-   make_desktop_entry "/opt/bin/chrome" "chromium-browser.png" "Network;WebBrowser;" 
-
-}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.