firefox-esr: add mozilla api key
This commit is contained in:
parent
d8e3bb5164
commit
a51b307b10
1 changed files with 8 additions and 3 deletions
|
@ -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 <eivind@uggedal.com>"
|
||||
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue