summaryrefslogtreecommitdiffstats
path: root/extra/chromium/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/chromium/Pkgfile')
-rw-r--r--extra/chromium/Pkgfile21
1 files changed, 14 insertions, 7 deletions
diff --git a/extra/chromium/Pkgfile b/extra/chromium/Pkgfile
index c2473c57a..166c694f5 100644
--- a/extra/chromium/Pkgfile
+++ b/extra/chromium/Pkgfile
@@ -5,7 +5,8 @@
# Depends on: pythion, perl, gperf, yasm, mesa3d, libgnome-keyring, nss, gconf, alsa-lib, xdg-utils, hicolor-icon-theme, bzip2, libevent, xorg-libxscrnsaver, libjpeg, libpng, cups, zlib
name=chromium
-version=6.0.472.63
+version=8.0.552.224
+#6.0.472.63
release=1
source=(http://build.chromium.org/buildbot/official/$name-$version.tar.bz2 \
@@ -22,11 +23,18 @@ build() {
# see http://code.google.com/p/chromium/issues/detail?id=41887
export CFLAGS="${CFLAGS} -fno-ipa-cp"
- patch -p0 -i $SRC/gyp-make.patch
+ find . -type f -exec \
+ sed -E 's#(/usr/bin/python)$#\12#g;s#(/usr/bin/python2)\.4$#\1#g' -i {} \;
+ # There are still a lot of relative calls which need a workaround
+ mkdir $SRC/python2-path
+ ln -s /usr/bin/python2 $SRC/python2-path/python
+ export PATH=$SRC/python2-path/:${PATH}
+
+# patch -p0 -i $SRC/gyp-make.patch
### Configure
build/gyp_chromium -f make build/all.gyp --depth=. \
- -Dgcc_version=45 \
+ -Dgcc_version=44 \
-Dno_strict_aliasing=1 \
-Dwerror= \
-Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
@@ -34,8 +42,6 @@ build() {
-Drelease_extra_cflags="${CFLAGS}" \
-Dffmpeg_branding=Chrome \
-Dproprietary_codecs=1 \
- -Duse_cups=1 \
- -Dlinux_link_gnome_keyring=1 \
-Duse_system_libjpeg=1 \
-Duse_system_libxslt=0 \
-Duse_system_libxml=0 \
@@ -46,12 +52,13 @@ build() {
-Duse_system_yasm=1 \
-Duse_system_libevent=1 \
-Duse_system_ssl=0 \
- -Dtarget_arch=ia32 \
- -Denable_gpu=0 \
+ -Denable_multilib=0 \
-Dlinux_use_tcmalloc=0 \
-Dv8_use_snapshot=0 \
$([ "${CARCH}" == 'i686' ] && echo '-Ddisable_sse2=1')
+# -Dtarget_arch=ia32 \
+
make chrome chrome_sandbox BUILDTYPE=Release