commit: d8a89f61f70c41302115e8f078ca21b19a3fbbf0
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun May 11 01:18:28 2014 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun May 11 01:18:28 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=d8a89f61
Add Googlemas API-key, bug #505570
---
.../firefox/{firefox-29.0.1.ebuild => firefox-29.0.1-r1.ebuild} | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/www-client/firefox/firefox-29.0.1.ebuild
b/www-client/firefox/firefox-29.0.1-r1.ebuild
similarity index 96%
rename from www-client/firefox/firefox-29.0.1.ebuild
rename to www-client/firefox/firefox-29.0.1-r1.ebuild
index 06dbae0..9ac2801 100644
--- a/www-client/firefox/firefox-29.0.1.ebuild
+++ b/www-client/firefox/firefox-29.0.1-r1.ebuild
@@ -191,6 +191,10 @@ src_prepare() {
src_configure() {
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
MEXTENSIONS="default"
+ # Google API keys (see
http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution,
please
+ # get your own set of keys.
+ _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
####################################
#
@@ -210,6 +214,10 @@ src_configure() {
# We must force enable jemalloc 3 threw .mozconfig
echo "export MOZ_JEMALLOC=1" >> ${S}/.mozconfig || die
+ # Setup api key for location services
+ echo -n "$_google_api_key" > ${S}/google-api-key
+ mozconfig_annotate '' --with-google-api-keyfile=${S}/google-api-key
+
mozconfig_annotate '' --enable-jemalloc
mozconfig_annotate '' --enable-replace-malloc
mozconfig_annotate '' --prefix="${EPREFIX}"/usr