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

Collapse All | Expand All

(-)a/www-client/chromium/chromium-6.0.472.33-r1.ebuild (+16 lines)
Lines 14-19 LICENSE="BSD" Link Here
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~arm ~x86"
15
KEYWORDS="~amd64 ~arm ~x86"
16
IUSE="cups gnome sse2"
16
IUSE="cups gnome sse2"
17
LANGS="am ar bg bn ca cs da de el en_GB es es_419 et fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW"
18
for x in ${LANGS}; do
19
	IUSE+=" linguas_${x}"
20
done
17
21
18
RDEPEND="app-arch/bzip2
22
RDEPEND="app-arch/bzip2
19
	>=dev-libs/libevent-1.4.13
23
	>=dev-libs/libevent-1.4.13
Lines 88-93 src_prepare() { Link Here
88
	# http://crbug.com/29333 is fixed.
92
	# http://crbug.com/29333 is fixed.
89
	# TODO: also remove third_party/zlib. For now the compilation fails if we
93
	# TODO: also remove third_party/zlib. For now the compilation fails if we
90
	# remove it (minizip-related).
94
	# remove it (minizip-related).
95
96
	# linguas
97
	for x in ${LANGS}; do
98
		if use !linguas_${x}; then
99
			# list of spellcheck dicts
100
			sed -i -e "/^ *{\"${x/_/-}\",/d" \
101
				chrome/common/spellcheck_common.cc || die "sed failed"
102
			# build only selected .pak
103
			sed -i -e "s/'${x/_/-}',//" \
104
				build/common.gypi || die "sed failed"
105
		fi
106
	done
91
}
107
}
92
108
93
src_configure() {
109
src_configure() {

Return to bug 332751