# 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.6.0 pkgrel=1 pkgrel+=.parabola2.nonprism1 _brandingver=68.6 _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) source+=( https://repo.parabola.nu/other/icedove/${pkgname}_$_brandingver-$_brandingrel.branding.tar.xz{,.sig} libre-searchengines.patch mozilla-1338795-regression.patch) source_armv7h=(arm-wasm-vfp.patch) sha256sums=('4e3b8fdcfae12e7d49232a9c324e82d47ed94b371031f31baf69b2f7c2fb5b51' 'SKIP' 'af8199a12ebe09189d143458bd1e2d0071aff3410ed121dc2329a448a56632f0' '23693c60df02067981dbcad7c58c29e6e38a73b54fd00cfabd94f38e45062dfd' 'SKIP' '072bba9d9ef4cfcb03b3776a15e52020e05c685add38329bd041f680026f5898' 'dbec24e57a445b1076a11fde00d0f5b8cd53ce314c2b9d3cd2a83bd84fc25375') sha256sums_armv7h=(bc00516032330760444939c516a60c78f868631e1b37f075f0fe71a53737b966) validpgpkeys=(14F26682D0916CDD81E37B6D61B7B526D98F0353) # Mozilla Software Releases validpgpkeys+=(BFA8008A8265677063B11BF47171986E4B745536) # Andreas Grapentin prepare() { cd $_pkgname-$pkgver # see https://labs.parabola.nu/issues/2267 patch -Np1 -i "$srcdir"/mozilla-1338795-regression.patch 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" <