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

Evangelos Foutras foutrelis at archlinux.org
Wed Jan 9 21:10:22 UTC 2013


    Date: Wednesday, January 9, 2013 @ 16:10:22
  Author: foutrelis
Revision: 174986

upgpkg: chromium 23.0.1271.97-2

Add Google API key for Arch Linux.

Modified:
  chromium/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-09 20:25:17 UTC (rev 174985)
+++ PKGBUILD	2013-01-09 21:10:22 UTC (rev 174986)
@@ -6,7 +6,7 @@
 
 pkgname=chromium
 pkgver=23.0.1271.97
-pkgrel=1
+pkgrel=2
 pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
 arch=('i686' 'x86_64')
 url="http://www.chromium.org/"
@@ -32,6 +32,13 @@
             'c1baf14121502efbc2a31b64029dcafa0e28ca5b71ad0e28a3c6342d18198615'
             '1f4b57670d317959bc2dc60e5d2a44aa8fc6028f7ed540cdb502fa0aa99c81bd')
 
+# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys.
+_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+_google_default_client_id=413772536636.apps.googleusercontent.com
+_google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
+
 build() {
   cd "$srcdir/chromium-$pkgver"
 
@@ -70,6 +77,9 @@
   CFLAGS+=' -Wno-c++0x-compat'
 
   build/gyp_chromium --depth=. \
+    -Dgoogle_api_key=$_google_api_key \
+    -Dgoogle_default_client_id=$_google_default_client_id \
+    -Dgoogle_default_client_secret=$_google_default_client_secret \
     -Dwerror= \
     -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
     -Dlinux_strip_binary=1 \




More information about the arch-commits mailing list