[arch-commits] Commit in chromium/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu May 3 06:24:05 UTC 2012


    Date: Thursday, May 3, 2012 @ 02:24:04
  Author: foutrelis
Revision: 158122

Add fix for upstream issue 109527 (glib/gutils.h -> glib.h) and do some minor cleanup of the PKGBUILD.

Modified:
  chromium/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-03 02:49:53 UTC (rev 158121)
+++ PKGBUILD	2012-05-03 06:24:04 UTC (rev 158122)
@@ -55,6 +55,9 @@
   #  #include "build/build_config.h"' \
   #  chrome/browser/diagnostics/diagnostics_main.cc
 
+  # http://code.google.com/p/chromium/issues/detail?id=109527
+  sed -i 's|glib/gutils.h|glib.h|' ui/base/l10n/l10n_util.cc
+
   # Remove unconditional use of SSE3 (patch from Gentoo)
   patch -Np0 -i "$srcdir/chromium-media-no-sse-r0.patch"
 
@@ -81,7 +84,7 @@
   # CFLAGS are passed through release_extra_cflags below
   export -n CFLAGS CXXFLAGS
 
-  build/gyp_chromium -f make build/all.gyp --depth=. \
+  build/gyp_chromium \
     -Dwerror= \
     -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
     -Dlinux_strip_binary=1 \
@@ -98,7 +101,7 @@
     -Duse_system_yasm=1 \
     -Duse_system_zlib=1 \
     -Duse_gconf=0 \
-    $([[ $CARCH == i686 ]] && echo '-Ddisable_sse2=1')
+    -Ddisable_sse2=1
 
   make chrome chrome_sandbox BUILDTYPE=Release
 }




More information about the arch-commits mailing list