thunderbird: add mozilla api key
This commit is contained in:
parent
a1ee29653d
commit
67bd7fb5b4
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'thunderbird'.
|
||||
pkgname=thunderbird
|
||||
version=52.1.1
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="Standalone Mail/News reader"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
homepage="http://www.mozilla.org/thunderbird/"
|
||||
|
@ -46,7 +46,11 @@ post_extract() {
|
|||
|
||||
# Google API key (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||
# Note: This is for Void Linux use ONLY.
|
||||
echo -n "AIzaSyCIFdBA7eQP43R6kXRwTq7j6Mvj1ITze90" >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
|
||||
}
|
||||
do_build() {
|
||||
cp "${FILESDIR}/mozconfig" "${wrksrc}/.mozconfig"
|
||||
|
@ -88,6 +92,7 @@ do_build() {
|
|||
|
||||
cat <<! >>.mozconfig
|
||||
ac_add_options --with-google-api-keyfile="${wrksrc}/google-api-key"
|
||||
ac_add_options --with-mozilla-api-keyfile="${wrksrc}/mozilla-api-key"
|
||||
ac_add_options --enable-default-toolkit=cairo-gtk$(vopt_if gtk3 '3' '2')
|
||||
ac_add_options $(vopt_enable alsa)
|
||||
ac_add_options $(vopt_enable dbus)
|
||||
|
|
Loading…
Reference in New Issue