summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2012-09-01 08:40:23 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2012-09-01 08:40:23 +0000
commitdc6d0949b626ed9e84289e08d145ddcb85a24164 (patch)
tree6e2c8f346eca6cea22eb3a8157e4efdc1fad32bb /www-client/chromium
parentReplace -O0 with -O1 on x86, wrt bug 432322. (diff)
downloadgentoo-2-dc6d0949b626ed9e84289e08d145ddcb85a24164.tar.gz
gentoo-2-dc6d0949b626ed9e84289e08d145ddcb85a24164.tar.bz2
gentoo-2-dc6d0949b626ed9e84289e08d145ddcb85a24164.zip
Version bump for dev channel release. Incomplete fixes for arm. Remove old.
(Portage version: 2.1.11.9/cvs/Linux i686)
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/ChangeLog9
-rw-r--r--www-client/chromium/chromium-23.0.1251.2.ebuild (renamed from www-client/chromium/chromium-23.0.1243.2.ebuild)26
-rw-r--r--www-client/chromium/chromium-9999-r1.ebuild25
3 files changed, 43 insertions, 17 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index 09460821df17..04e9ece67d7b 100644
--- a/www-client/chromium/ChangeLog
+++ b/www-client/chromium/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/chromium
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.703 2012/08/31 20:01:47 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.704 2012/09/01 08:40:23 phajdan.jr Exp $
+
+*chromium-23.0.1251.2 (01 Sep 2012)
+
+ 01 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ -chromium-23.0.1243.2.ebuild, +chromium-23.0.1251.2.ebuild,
+ chromium-9999-r1.ebuild:
+ Version bump for dev channel release. Incomplete fixes for arm. Remove old.
*chromium-21.0.1180.89 (31 Aug 2012)
diff --git a/www-client/chromium/chromium-23.0.1243.2.ebuild b/www-client/chromium/chromium-23.0.1251.2.ebuild
index c86293fe5940..6cebdd0d000b 100644
--- a/www-client/chromium/chromium-23.0.1243.2.ebuild
+++ b/www-client/chromium/chromium-23.0.1251.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-23.0.1243.2.ebuild,v 1.2 2012/08/26 17:20:30 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-23.0.1251.2.ebuild,v 1.1 2012/09/01 08:40:23 phajdan.jr Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
@@ -54,7 +54,7 @@ RDEPEND="app-arch/bzip2
kerberos? ( virtual/krb5 )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
- >=dev-lang/nacl-toolchain-newlib-0_p9093
+ !arm? ( >=dev-lang/nacl-toolchain-newlib-0_p9093 )
dev-lang/perl
dev-lang/yasm
dev-python/ply
@@ -103,8 +103,10 @@ pkg_setup() {
}
src_prepare() {
- ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
- native_client/toolchain/linux_x86_newlib || die
+ if ! use arm; then
+ ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
+ native_client/toolchain/linux_x86_newlib || die
+ fi
# zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
sed -i '1i#define OF(x) x' \
@@ -164,6 +166,7 @@ src_prepare() {
\! -path 'third_party/mesa/*' \
\! -path 'third_party/modp_b64/*' \
\! -path 'third_party/mongoose/*' \
+ \! -path 'third_party/mt19937ar/*' \
\! -path 'third_party/npapi/*' \
\! -path 'third_party/openmax/*' \
\! -path 'third_party/ots/*' \
@@ -285,6 +288,11 @@ src_configure() {
myconf+=" -Dtarget_arch=x64"
elif [[ $myarch = x86 ]] ; then
myconf+=" -Dtarget_arch=ia32"
+ elif [[ $myarch = arm ]] ; then
+ # TODO: re-enable NaCl (NativeClient).
+ myconf+=" -Dtarget_arch=arm
+ -Darm_neon=0
+ -Ddisable_nacl=1"
else
die "Failed to determine target arch, got '$myarch'."
fi
@@ -393,10 +401,12 @@ src_install() {
doexe out/Release/chromedriver || die
- doexe out/Release/nacl_helper{,_bootstrap} || die
- insinto "${CHROMIUM_HOME}"
- doins out/Release/nacl_irt_*.nexe || die
- doins out/Release/libppGoogleNaClPluginChrome.so || die
+ if ! use arm; then
+ doexe out/Release/nacl_helper{,_bootstrap} || die
+ insinto "${CHROMIUM_HOME}"
+ doins out/Release/nacl_irt_*.nexe || die
+ doins out/Release/libppGoogleNaClPluginChrome.so || die
+ fi
newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
diff --git a/www-client/chromium/chromium-9999-r1.ebuild b/www-client/chromium/chromium-9999-r1.ebuild
index 2cda8d1bbec2..75b839d5b42a 100644
--- a/www-client/chromium/chromium-9999-r1.ebuild
+++ b/www-client/chromium/chromium-9999-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.132 2012/08/28 20:49:34 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.133 2012/09/01 08:40:23 phajdan.jr Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
@@ -54,7 +54,7 @@ RDEPEND="app-arch/bzip2
kerberos? ( virtual/krb5 )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
- >=dev-lang/nacl-toolchain-newlib-0_p9093
+ !arm? ( >=dev-lang/nacl-toolchain-newlib-0_p9093 )
dev-lang/perl
dev-lang/yasm
dev-python/ply
@@ -161,8 +161,10 @@ pkg_setup() {
}
src_prepare() {
- ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
- native_client/toolchain/linux_x86_newlib || die
+ if ! use arm; then
+ ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
+ native_client/toolchain/linux_x86_newlib || die
+ fi
# zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
sed -i '1i#define OF(x) x' \
@@ -323,6 +325,11 @@ src_configure() {
myconf+=" -Dtarget_arch=x64"
elif [[ $myarch = x86 ]] ; then
myconf+=" -Dtarget_arch=ia32"
+ elif [[ $myarch = arm ]] ; then
+ # TODO: re-enable NaCl (NativeClient).
+ myconf+=" -Dtarget_arch=arm
+ -Darm_neon=0
+ -Ddisable_nacl=1"
else
die "Failed to determine target arch, got '$myarch'."
fi
@@ -431,10 +438,12 @@ src_install() {
doexe out/Release/chromedriver || die
- doexe out/Release/nacl_helper{,_bootstrap} || die
- insinto "${CHROMIUM_HOME}"
- doins out/Release/nacl_irt_*.nexe || die
- doins out/Release/libppGoogleNaClPluginChrome.so || die
+ if ! use arm; then
+ doexe out/Release/nacl_helper{,_bootstrap} || die
+ insinto "${CHROMIUM_HOME}"
+ doins out/Release/nacl_irt_*.nexe || die
+ doins out/Release/libppGoogleNaClPluginChrome.so || die
+ fi
newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then