# Maintainer (Arch): Levente Polyak # Contributor (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Ionut Biru # Contributor (Arch): Alexander Baldeck # Contributor (Arch): Dale Blount # Contributor (Arch): Anders Bostrom # Maintainer: Andreas Grapentin # Contributor: André Silva # Contributor: Márcio Silva # Contributor: Luke R. # Contributor: Isaac David # parabola changes and rationale: # - rebranded to icedove # - removed nonfree search engines # - added makedepends: quilt mozilla-searchplugins python2-blessings # - added replaces, conflicts: thunderbird # - disabled tests, they break in an environment without network access. _pkgname=thunderbird pkgname=icedove replaces=("$_pkgname") epoch=1 pkgver=68.2.2 pkgrel=2 pkgrel+=.parabola1.nonprism1 _brandingver=68.2 _brandingrel=1 pkgdesc='Standalone mail and news reader based on Mozilla Thunderbird' pkgdesc+=', without support for unsafe and dangerous for privacy protocols' url="https://wiki.parabola.nu/$pkgname" arch=(x86_64) arch+=(i686 armv7h) license=(MPL GPL LGPL) depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib nss hunspell sqlite ttf-font icu) # libvpx makedepends=(unzip zip diffutils python python2 yasm nasm mesa imake libpulse inetutils xorg-server-xvfb autoconf2.13 rust clang llvm gtk2 cbindgen nodejs) makedepends+=(quilt mozilla-searchplugins python2-blessings imagemagick) optdepends=('libcanberra: sound support') options=(!emptydirs !makeflags) source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz{,.asc} $pkgname.desktop thunderbird-rust-1.39.patch) source+=( https://repo.parabola.nu/other/icedove/${pkgname}_$_brandingver-$_brandingrel.branding.tar.xz{,.sig} libre-searchengines.patch) sha256sums=('c17edbcde0e9e7599cda16b69b130039f69113b498ea394057cedfae153f0dd3' 'SKIP' 'af8199a12ebe09189d143458bd1e2d0071aff3410ed121dc2329a448a56632f0' '08834ef1c2dd685edd40dea20dfa9d4b889f5c387385ac329a162eeff6cf90be' 'b36792a6fcbe68841bc842723222c88ecf1f54f7f75bd634b216b61f3ae422f2' 'SKIP' '072bba9d9ef4cfcb03b3776a15e52020e05c685add38329bd041f680026f5898') validpgpkeys=(14F26682D0916CDD81E37B6D61B7B526D98F0353) # Mozilla Software Releases validpgpkeys+=(BFA8008A8265677063B11BF47171986E4B745536) # Andreas Grapentin prepare() { cd $_pkgname-$pkgver patch -p1 -i ../thunderbird-rust-1.39.patch # Fix build with rust 1.39 (Gentoo) cat >.mozconfig <> .mozconfig <=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") cd $_pkgname-$pkgver DESTDIR="$pkgdir" ./mach install _vendorjs="$pkgdir/usr/lib/$pkgname/defaults/preferences/vendor.js" install -Dm644 /dev/stdin "$_vendorjs" < What's new" menu entry to mozilla.debian.net //pref("mailnews.start_page.override_url", "http://wiki.debian.org/Icedove/WhatsNew45"); END _distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini" install -Dm644 /dev/stdin "$_distini" <