Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 341937 | Differences between
and this patch

Collapse All | Expand All

(-)/mnt/gentoo/gentoo-tree/www-client/chromium/chromium-12.0.712.0.ebuild (-4 / +37 lines)
Lines 11-20 Link Here
11
DESCRIPTION="Open-source version of Google Chrome web browser"
11
DESCRIPTION="Open-source version of Google Chrome web browser"
12
HOMEPAGE="http://chromium.org/"
12
HOMEPAGE="http://chromium.org/"
13
SRC_URI="http://build.chromium.org/official/${P}.tar.bz2"
13
X86_PACKAGE="google-chrome-unstable_9.0.576.0-r65344_i386"
14
AMD64_PACKAGE="google-chrome-unstable_9.0.576.0-r65344_amd64"
15
16
SRC_URI="http://build.chromium.org/official/${P}.tar.bz2
17
	bindist? ( 
18
		x86? ( http://dl.google.com/linux/deb/pool/main/g/google-chrome-unstable/${X86_PACKAGE}.deb )
19
		amd64? ( http://dl.google.com/linux/deb/pool/main/g/google-chrome-unstable/${AMD64_PACKAGE}.deb )
20
		)"
21
22
LICENSE="!bindist ( BSD )
23
	bindist? (
24
		x86? ( GoogleChrome BSD )
25
		amd64? ( GoogleChrome BSD )
26
		)"
14
27
15
LICENSE="BSD"
16
SLOT="0"
28
SLOT="0"
17
KEYWORDS="~amd64 ~arm ~x86"
29
KEYWORDS="~amd64 ~arm ~x86"
18
IUSE="cups gnome gnome-keyring"
30
IUSE="bindist cups gnome gnome-keyring"
19
31
20
RDEPEND="app-arch/bzip2
32
RDEPEND="app-arch/bzip2
Lines 39-43 Link Here
39
	x11-libs/gtk+:2
51
	x11-libs/gtk+:2
40
	x11-libs/libXScrnSaver
52
	x11-libs/libXScrnSaver
41
	x11-libs/libXtst"
53
	x11-libs/libXtst
54
	bindist? ( !~app-arch/deb2targz-1 )
55
"
42
DEPEND="${RDEPEND}
56
DEPEND="${RDEPEND}
43
	dev-lang/perl
57
	dev-lang/perl
Lines 97-100 Link Here
97
}
111
}
98
112
113
src_unpack() {
114
	unpack ${A}
115
	
116
	if use bindist; then
117
		if ! use x86 && ! use amd64; then
118
			ewarn "For your architecture does not exist libpdf by Google"
119
		else
120
			unpack ./data.tar.lzma
121
		fi
122
	fi
123
}
124
99
src_prepare() {
125
src_prepare() {
100
	# Make sure we don't use bundled libvpx headers.
126
	# Make sure we don't use bundled libvpx headers.
Lines 299-302 Link Here
299
		doins "${FILESDIR}"/chromium-browser.xml || die
325
		doins "${FILESDIR}"/chromium-browser.xml || die
300
	fi
326
	fi
327
328
	# Support Google PDF library
329
	if use bindist && (use x86 || use amd64); then
330
		exeopts -m0644
331
		exeinto ${CHROMIUM_HOME}
332
		doexe ${WORKDIR}/opt/google/chrome/libpdf.so
333
	fi
301
}
334
}
302
335

Return to bug 341937