/[gentoo-x86]/www-client/chromium-bin/chromium-bin-0_p17178.ebuild
Gentoo

Contents of /www-client/chromium-bin/chromium-bin-0_p17178.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Jun 2 08:59:01 2009 UTC (10 years, 10 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Add dependency on pango (and cairo), bug #271828
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 voyageur 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 voyageur 1.2 # $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-0_p17178.ebuild,v 1.1 2009/05/29 12:09:00 voyageur Exp $
4 voyageur 1.1
5     EAPI="2"
6     inherit eutils multilib
7    
8     # Latest revision id can be found at
9     # http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST
10     MY_PV="${PV/0\_p}"
11    
12     DESCRIPTION="Open-source version of Google Chrome web browser"
13     HOMEPAGE="http://code.google.com/chromium/"
14     SRC_URI="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${MY_PV}/chrome-linux.zip -> ${PN}-${MY_PV}.zip"
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="-* ~x86"
18     IUSE=""
19    
20     DEPEND="app-arch/unzip"
21     RDEPEND=">=dev-libs/nspr-4.7
22     >=dev-libs/nss-3.12
23     gnome-base/gconf
24     media-fonts/corefonts
25     >=sys-devel/gcc-4.2"
26    
27     S=${WORKDIR}
28    
29     QA_EXECSTACK="opt/chromium.org/chrome-linux/chrome"
30    
31     src_install() {
32     declare CHROMIUM_HOME=/opt/chromium.org
33    
34     dodir ${CHROMIUM_HOME}
35     cp -R chrome-linux/ "${D}"${CHROMIUM_HOME} || die "Unable to install chrome-linux folder"
36    
37     # Create symbol links for necessary libraries
38     dodir ${CHROMIUM_HOME}/lib
39     if use x86; then
40     NSS_DIR=../../../usr/$(get_libdir)/nss
41     NSPR_DIR=../../../usr/$(get_libdir)/nspr
42     fi
43     # amd64: firefox-bin, xulrunner-bin, adobe-flash[32bit] could
44     # provide these, but we miss gconf
45    
46     dosym ${NSPR_DIR}/libnspr4.so ${CHROMIUM_HOME}/lib/libnspr4.so.0d
47     dosym ${NSPR_DIR}/libplc4.so ${CHROMIUM_HOME}/lib/libplc4.so.0d
48     dosym ${NSPR_DIR}/libplds4.so ${CHROMIUM_HOME}/lib/libplds4.so.0d
49     dosym ${NSS_DIR}/libnss3.so ${CHROMIUM_HOME}/lib/libnss3.so.1d
50     dosym ${NSS_DIR}/libnssutil3.so ${CHROMIUM_HOME}/lib/libnssutil3.so.1d
51     dosym ${NSS_DIR}/libsmime3.so ${CHROMIUM_HOME}/lib/libsmime3.so.1d
52     dosym ${NSS_DIR}/libssl3.so ${CHROMIUM_HOME}/lib/libssl3.so.1d
53    
54     # Create chromium-bin wrapper
55     make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/lib
56     newicon "${FILESDIR}"/chromium.png ${PN}.png
57     make_desktop_entry chromium-bin "Chromium" ${PN}.png "Network;WebBrowser"
58     }

  ViewVC Help
Powered by ViewVC 1.1.20