Skip to content
Snippets Groups Projects
Verified Commit ca02e019 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/thunderbird: bump to 52.9.0, the death of sanity

parent ae6eb5f6
No related branches found
No related tags found
No related merge requests found
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=thunderbird
pkgver=52.6.0
pkgver=52.9.0
pkgrel=0
pkgdesc="Email client from Mozilla"
url="https://www.mozilla.org/thunderbird/"
......@@ -13,7 +13,7 @@ depends=""
# system-libs
# actual deps
makedepends="
autoconf2.13 debianutils-which perl python2
autoconf2.13 ncurses-dev perl cmd:which
alsa-lib-dev bzip2-dev icu-dev libevent-dev libffi-dev libpng-dev
libjpeg-turbo-dev libvpx-dev nspr-dev nss-dev pulseaudio-dev zlib-dev
......@@ -41,6 +41,28 @@ somask="liblgpllibs.so
libxul.so"
_tbirddir=/usr/lib/${pkgname}-${pkgver}
unpack() {
default_unpack
# just ripped from Firefox's APKBUILD...
[ -z $SKIP_PYTHON ] || return 0
msg "Killing all remaining hope for humanity and building Python 2..."
cd "$srcdir"
[ -d python ] && rm -r python
mkdir python
cd python
# 19:39 <+solar> just make the firefox build process build its own py2 copy
curl -O https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz
tar xJf Python-2.7.15.tar.xz
cd Python-2.7.15
# 20:03 <calvin> TheWilfox: there's always violence
./configure --prefix="$srcdir/python"
make -j $JOBS
# 6 tests failed:
# test__locale test_os test_posix test_re test_strptime test_time
# make test
make -j $JOBS install
}
prepare() {
default_prepare
cp "$srcdir"/stab.h "$builddir"/mozilla/toolkit/crashreporter/google-breakpad/src/
......@@ -48,6 +70,10 @@ prepare() {
echo "ac_add_options --enable-optimize=\"$CFLAGS\"" >> "$builddir"/mozconfig
echo "ac_add_options --host=\"$CHOST\"" >> "$builddir"/mozconfig
echo "ac_add_options --target=\"$CTARGET\"" >> "$builddir"/mozconfig
# too much memory
if [ -z "$JOBS" -o $JOBS -gt 32 ]; then
echo "mk_add_options MOZ_MAKE_FLAGS=\"-j32\"" >> "$builddir"/mozconfig
fi
}
build() {
......@@ -59,11 +85,13 @@ build() {
export LDFLAGS="$LDFLAGS -Wl,-rpath,${_tbirddir}"
export USE_SHORT_LIBNAME=1
export PATH="$srcdir/python/bin:$PATH"
./mozilla/mach build
}
package() {
cd "$builddir"
export PATH="$srcdir/python/bin:$PATH"
DESTDIR="$pkgdir" ./mozilla/mach install
install -D -m644 "$srcdir"/thunderbird.desktop \
"$pkgdir"/usr/share/applications/thunderbird.desktop
......@@ -80,7 +108,7 @@ dev() {
mv "$pkgdir"/usr/share/idl "$subpkgdir"/usr/share
}
sha512sums="80742c95ed61d1cb2e72b71bb23bdd211a40240ab4393e9f028a38f902547372084a8f56445e2394484be088a7b9801405f3d6618fb2742601cc968bf34427f0 thunderbird-52.6.0.source.tar.xz
sha512sums="2142ba7cc04f48a9ffa17ad8f3a0d761f90416c9e6a7066be662a09b19846f13f0fb9669356ccbbf576744a83143cd659c28ce034679c4d6377004f428932dc1 thunderbird-52.9.0.source.tar.xz
000b4403bfac4a6192ebe36a734ef3e464f3bdd3bc797e87bc487b4d9d93cd4b41137d82726617205e39f7aedf8bf2dfb11645db24a8b0b0137a141c9133f151 mozconfig
9b11ba43f1f3fe9cda69b6b92e2073ea5165a47e30084537f396ceb8fb63573c4eb057251644837504aa4546183dc8f77fbb24f1450b6a15a1386f29180deefc bad-google-code.patch
2f52fcd7c42f8e12c955e05aa12449aa486c5347d2a7406ff0dada66f64079152b18c3f65c43410df372e871488f17889bc337ced37d0b76305afdbcb55cb580 fix-seccomp-bpf.patch
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment