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

Jan Steffens heftig at archlinux.org
Sun Jun 7 20:01:57 UTC 2015


    Date: Sunday, June 7, 2015 @ 22:01:56
  Author: heftig
Revision: 240420

Add more API keys!

Modified:
  firefox/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-07 17:52:25 UTC (rev 240419)
+++ PKGBUILD	2015-06-07 20:01:56 UTC (rev 240420)
@@ -37,7 +37,16 @@
 # get your own set of keys. Feel free to contact foutrelis at archlinux.org for
 # more information.
 _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+_google_default_client_id=413772536636.apps.googleusercontent.com
+_google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
 
+# Mozilla API keys (see https://location.services.mozilla.com/api)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact heftig at archlinux.org for
+# more information.
+_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
+
+
 prepare() {
   cd mozilla-release
 
@@ -47,6 +56,12 @@
   echo -n "$_google_api_key" >google-api-key
   echo "ac_add_options --with-google-api-keyfile=\"$PWD/google-api-key\"" >>.mozconfig
 
+  echo -n "$_google_default_client_id $_google_default_client_secret" >google-oauth-api-key
+  echo "ac_add_options --with-google-oauth-api-keyfile=\"$PWD/google-oauth-api-key\"" >>.mozconfig
+
+  echo -n "$_mozilla_api_key" >mozilla-api-key
+  echo "ac_add_options --with-mozilla-api-keyfile=\"$PWD/mozilla-api-key\"" >>.mozconfig
+
   mkdir "$srcdir/path"
 
   # WebRTC build tries to execute "python" and expects Python 2



More information about the arch-commits mailing list