[packages/chromium-browser] enable official pld linux api keys
glen
glen at pld-linux.org
Wed Jun 19 10:30:50 CEST 2013
commit 319f81f79128446be071c78078e1b5b42c5308b0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jun 10 23:30:09 2013 +0300
enable official pld linux api keys
chromium-browser.spec | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index bb33493..235a453 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -207,6 +207,13 @@ Obsoletes: chromium-browser-inspector < 15.0.863.0
ExclusiveArch: %{ix86} %{x8664} arm
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
+# Note: these are for PLD Linux use ONLY.
+# For your own distribution, please get your own set of keys.
+%define google_api_key AIzaSyD1tTgDbP-N6BGXKZ7VqSos_IU1QflGbyg
+%define google_default_client_id 724288223830.apps.googleusercontent.com
+%define google_default_client_secret rHmKOPygcI6G-clFHb-RfuHb
+
%define find_lang sh find-lang.sh %{buildroot}
# Usage: gyp_with BCOND_NAME [OPTION_NAME]
@@ -392,6 +399,9 @@ test -e Makefile || \
%{?with_gps:-Dlinux_use_libgps=1 -Dlinux_link_libgps=1} \
-Dlinux_use_gold_binary=0 \
-Dlinux_use_gold_flags=0 \
+ -Dgoogle_api_key=%{google_api_key} \
+ -Dgoogle_default_client_id=%{google_default_client_id} \
+ -Dgoogle_default_client_secret=%{google_default_client_secret} \
%{gyp_with cups} \
%{gyp_with gconf} -Dlinux_link_gsettings=0 \
%{gyp_with kerberos} -Dlinux_link_kerberos=1 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/319f81f79128446be071c78078e1b5b42c5308b0
More information about the pld-cvs-commit
mailing list