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-portage/www-client/chromium/chromium-11.0.686.3.ebuild (-4 / +37 lines)
Lines 12-21 Link Here
12
DESCRIPTION="Open-source version of Google Chrome web browser"
12
DESCRIPTION="Open-source version of Google Chrome web browser"
13
HOMEPAGE="http://chromium.org/"
13
HOMEPAGE="http://chromium.org/"
14
SRC_URI="http://build.chromium.org/official/${P}.tar.bz2"
14
SRC_URI="http://build.chromium.org/official/${P}.tar.bz2
15
	bindist? ( 
16
		x86? ( http://dl.google.com/linux/direct/google-chrome-unstable_current_i386.deb )
17
		amd64? ( http://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb )
18
		)"
19
20
LICENSE="!bindist ( BSD )
21
	bindist? ( Google BSD )"
15
22
16
LICENSE="BSD"
17
SLOT="0"
23
SLOT="0"
18
KEYWORDS="~amd64 ~x86"
24
KEYWORDS="~amd64 ~x86"
19
IUSE="cups gnome gnome-keyring"
25
IUSE="cups bindist gnome gnome-keyring"
20
26
21
RDEPEND="app-arch/bzip2
27
RDEPEND="app-arch/bzip2
Lines 41-45 Link Here
41
	x11-libs/gtk+:2
47
	x11-libs/gtk+:2
42
	x11-libs/libXScrnSaver
48
	x11-libs/libXScrnSaver
43
	x11-libs/libXtst"
49
	x11-libs/libXtst
50
	bindist? ( || (
51
			app-arch/xz-utils
52
			app-arch/lzma-utils
53
		)
54
		!~app-arch/deb2targz-1
55
		)
56
"
44
DEPEND="${RDEPEND}
57
DEPEND="${RDEPEND}
45
	dev-lang/perl
58
	dev-lang/perl
Lines 53-56 Link Here
53
		x11-themes/gnome-icon-theme
66
		x11-themes/gnome-icon-theme
54
		x11-themes/xfce4-icon-theme
67
		x11-themes/xfce4-icon-theme
68
		x11-themes/oxygen-molecule
55
	)
69
	)
56
	x11-misc/xdg-utils
70
	x11-misc/xdg-utils
Lines 96-99 Link Here
96
}
110
}
97
111
112
src_unpack() {
113
	unpack ${P}.tar.bz2
114
	
115
	if use bindist; then
116
                mkdir ${WORKDIR}/deb && cd ${WORKDIR}/deb
117
                if use x86; then unpack google-chrome-unstable_current_i386.deb
118
                        unpack ./data.tar.lzma
119
                fi
120
                if use amd64; then unpack google-chrome-unstable_current_amd64.deb
121
                        unpack ./data.tar.lzma
122
                fi
123
        fi
124
}
125
98
src_prepare() {
126
src_prepare() {
99
	# Make sure we don't use bundled libvpx headers.
127
	# Make sure we don't use bundled libvpx headers.
Lines 302-305 Link Here
302
	dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
330
	dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
303
331
332
	# Support Google PDF library
333
	chown root:root ${WORKDIR}/deb/opt/google/chrome/libpdf.so
334
	chmod 644 ${WORKDIR}/deb/opt/google/chrome/libpdf.so
335
	cp ${WORKDIR}/deb/opt/google/chrome/libpdf.so ${D}${CHROMIUM_HOME}/libpdf.so
336
304
	# Install icon and desktop entry.
337
	# Install icon and desktop entry.
305
	newicon chrome/app/theme/chromium/product_logo_48.png \
338
	newicon chrome/app/theme/chromium/product_logo_48.png \

Return to bug 341937