From a51b307b103b460dfcb9668bfa088e555cbf2b5d Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 18 May 2017 16:46:06 +0200 Subject: [PATCH] firefox-esr: add mozilla api key --- srcpkgs/firefox-esr/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template index 8dc5ae3ac79..92f655dbab2 100644 --- a/srcpkgs/firefox-esr/template +++ b/srcpkgs/firefox-esr/template @@ -1,7 +1,7 @@ # Template build file for 'firefox-esr'. pkgname=firefox-esr version=45.9.0 -revision=2 +revision=3 wrksrc="firefox-${version}esr" short_desc="Lightweight gecko-based web browser" maintainer="Eivind Uggedal " @@ -50,8 +50,12 @@ pre_configure() { # Google API key (see http://www.chromium.org/developers/how-tos/api-keys) # Note: This is for Void Linux use ONLY. - _google_api_key="AIzaSyCIFdBA7eQP43R6kXRwTq7j6Mvj1ITze90" - echo -n "$_google_api_key" > google-api-key + echo -n "AIzaSyCIFdBA7eQP43R6kXRwTq7j6Mvj1ITze90" > google-api-key + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: This is for Void Linux use ONLY. + echo -n "cd894504-7a2a-4263-abff-ff73ee89ffca" > mozilla-api-key + [ ! -d xbps-build ] && mkdir -p xbps-build } do_configure() { @@ -116,6 +120,7 @@ do_configure() { --with-nspr-prefix=${XBPS_CROSS_BASE}/usr \ --with-nss-prefix=${XBPS_CROSS_BASE}/usr \ --with-google-api-keyfile="${wrksrc}/google-api-key" \ + --with-mozilla-api-keyfile="${wrksrc}/mozilla-api-key" \ --enable-optimize="$CFLAGS" --disable-strip --disable-install-strip \ --disable-static --enable-pie --disable-profiling \ --disable-profilelocking ${_args}