2012-12-17 12:32:21 +01:00
|
|
|
# Template build file for 'thunderbird'.
|
|
|
|
pkgname=thunderbird
|
2014-07-23 17:54:33 +02:00
|
|
|
version=31.0
|
2014-06-12 02:04:29 +02:00
|
|
|
revision=1
|
2014-04-02 12:58:58 +02:00
|
|
|
lib32disabled=yes
|
2014-07-23 17:54:33 +02:00
|
|
|
wrksrc="comm-esr${version/.*/}"
|
2012-12-17 12:32:21 +01:00
|
|
|
short_desc="Standalone Mail/News reader"
|
2014-07-23 17:54:33 +02:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2012-12-17 12:32:21 +01:00
|
|
|
homepage="http://www.mozilla.org/thunderbird/"
|
|
|
|
license="MPL-1.1, GPL-2, LGPL-2.1"
|
|
|
|
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
2014-07-23 17:54:33 +02:00
|
|
|
checksum=571f8cca980f077ae81999aea69a78153422a75e9e6c07ab74ec6659fe0d6ef4
|
2012-12-17 12:32:21 +01:00
|
|
|
|
2013-04-30 18:38:05 +02:00
|
|
|
hostmakedepends="unzip zip perl python yasm pkg-config"
|
2014-07-23 17:54:33 +02:00
|
|
|
makedepends="python-devel cairo-devel libjpeg-turbo-devel pixman-devel
|
|
|
|
nss-devel>=3.15.4 sqlite-devel libXrender-devel gtk+-devel libevent-devel
|
|
|
|
libvpx-devel hunspell-devel>=1.3.2 startup-notification-devel dbus-glib-devel
|
|
|
|
alsa-lib-devel wireless_tools-devel libXScrnSaver-devel libSM-devel libXt-devel
|
|
|
|
pulseaudio-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2012-12-17 12:32:21 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cp -f ${FILESDIR}/mozconfig .mozconfig
|
|
|
|
export LDFLAGS="-Wl,-R/usr/lib/thunderbird"
|
|
|
|
|
2014-07-23 17:54:33 +02:00
|
|
|
SHELL=/bin/bash make ${makejobs} -f client.mk build MOZ_MAKE_FLAGS="${makejobs}"
|
2012-12-17 12:32:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make -f client.mk DESTDIR=${DESTDIR} install
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/vendor.js 644 usr/lib/thunderbird/defaults/pref
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/thunderbird.desktop 644 usr/share/applications
|
|
|
|
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
|
|
|
vinstall other-licenses/branding/thunderbird/mailicon${i%x*}.png 644 \
|
|
|
|
usr/share/icons/hicolor/${i}/apps thunderbird.png
|
|
|
|
done
|
|
|
|
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/thunderbird/{dictionaries,hyphenation}
|
|
|
|
ln -sf /usr/share/hunspell ${DESTDIR}/usr/lib/thunderbird/dictionaries
|
|
|
|
ln -sf /usr/share/hyphen ${DESTDIR}/usr/lib/thunderbird/hyphenation
|
|
|
|
|
|
|
|
# We don't want the development stuff
|
|
|
|
rm -r ${DESTDIR}/usr/{include,lib/thunderbird-devel,share/idl}
|
|
|
|
}
|