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