2009-01-12 18:00:27 +01:00
|
|
|
# Description: email client from the Mozilla project
|
2009-06-11 16:53:24 +02:00
|
|
|
# URL: http://www.mozillamessaging.com/en-US/thunderbird/
|
2014-05-18 21:15:27 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2014-07-20 14:03:59 +02:00
|
|
|
# Depends on: python gtk alsa-lib xorg-libxt libnotify libidl nss dbus-glib xorg-libxdamage yasm mesa3d libjpeg-turbo
|
2009-01-11 12:13:13 +01:00
|
|
|
|
|
|
|
name=thunderbird
|
2014-12-03 14:45:38 +01:00
|
|
|
version=31.3.0
|
2014-07-22 22:26:08 +02:00
|
|
|
release=1
|
2014-05-18 22:03:33 +02:00
|
|
|
source=(ftp://ftp.mozilla.org/pub/thunderbird/releases/$version/source/$name-$version.source.tar.bz2
|
|
|
|
$name.desktop ${name}_default48.png thunderbird-install-dir.patch)
|
2010-10-06 22:42:46 +02:00
|
|
|
|
2009-01-11 12:13:13 +01:00
|
|
|
build() {
|
2014-07-22 22:26:08 +02:00
|
|
|
cd $SRC/comm-esr31
|
2014-05-18 22:03:33 +02:00
|
|
|
|
|
|
|
patch -p1 -i $SRC/thunderbird-install-dir.patch
|
|
|
|
|
2010-10-06 22:42:46 +02:00
|
|
|
cat <<- EOF > .mozconfig
|
2014-07-22 22:26:08 +02:00
|
|
|
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-release
|
2012-02-12 16:07:57 +01:00
|
|
|
mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS -s"
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --prefix=/usr
|
|
|
|
ac_add_options --enable-application=mail
|
|
|
|
ac_add_options --with-system-nspr
|
|
|
|
ac_add_options --with-system-nss
|
2014-07-20 14:03:59 +02:00
|
|
|
ac_add_options --with-system-jpeg
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --with-system-bz2
|
|
|
|
ac_add_options --with-pthreads
|
|
|
|
ac_add_options --enable-official-branding
|
|
|
|
ac_add_options --with-distribution-id=CRUX
|
|
|
|
ac_add_options --disable-gnomevfs
|
|
|
|
ac_add_options --disable-installer
|
|
|
|
ac_add_options --disable-updater
|
2013-10-21 18:46:17 +02:00
|
|
|
ac_add_options --enable-optimize="$CFLAGS -mno-avx"
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --disable-xterm-updates
|
2014-05-18 22:03:33 +02:00
|
|
|
ac_add_options --enable-system-cairo
|
|
|
|
ac_add_options --enable-system-sqlite
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --with-default-mozilla-five-home
|
|
|
|
ac_add_options --disable-crashreporter
|
2011-07-01 22:09:35 +02:00
|
|
|
ac_add_options --enable-calendar
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --disable-necko-wifi
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --disable-debug
|
2011-12-01 00:58:09 +01:00
|
|
|
ac_add_options --disable-auto-deps
|
2012-02-12 16:07:57 +01:00
|
|
|
ac_add_options --disable-debug-symbols
|
2013-08-08 21:29:41 +02:00
|
|
|
ac_add_options --with-system-png
|
2013-10-20 10:23:14 +02:00
|
|
|
ac_add_options --disable-gstreamer
|
2014-07-22 22:26:08 +02:00
|
|
|
ac_add_options --disable-pulseaudio
|
2010-10-06 22:42:46 +02:00
|
|
|
EOF
|
2014-05-18 22:03:33 +02:00
|
|
|
make -f client.mk build
|
2010-10-06 22:42:46 +02:00
|
|
|
make -f client.mk DESTDIR=$PKG install
|
2014-05-18 22:03:33 +02:00
|
|
|
|
|
|
|
install -D -m 0644 $SRC/${name}_default48.png $PKG/usr/share/pixmaps/${name}_default48.png
|
|
|
|
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
|
2009-01-12 18:00:27 +01:00
|
|
|
find $PKG -iname '*README*' -delete
|
2009-01-11 12:13:13 +01:00
|
|
|
}
|