thunderbird: cleanup template
This commit is contained in:
parent
f18ad0f20a
commit
0c3bf935a8
|
@ -36,58 +36,6 @@ pre_configure() {
|
||||||
[ ! -d xbps-build ] && mkdir -p xbps-build
|
[ ! -d xbps-build ] && mkdir -p xbps-build
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
export HOST_CFLAGS="${XBPS_CFLAGS}"
|
|
||||||
export HOST_CXXFLAGS="${XBPS_CXXFLAGS}"
|
|
||||||
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nspr -I${XBPS_CROSS_BASE}/usr/include/nss"
|
|
||||||
export CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nspr -I${XBPS_CROSS_BASE}/usr/include/nss"
|
|
||||||
|
|
||||||
cross_args+=" --target=$XBPS_CROSS_TRIPLET"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export ac_cv_sqlite_secure_delete=yes
|
|
||||||
export ac_cv_sqlite_threadsafe=yes
|
|
||||||
export ac_cv_sqlite_enable_fts3=yes
|
|
||||||
export ac_cv_sqlite_enable_unlock_notify=yes
|
|
||||||
export ac_cv_prog_hostcxx_works=1
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) # XXX gold linking with --hash-style=sysv results in unhidden symbols
|
|
||||||
# XXX see https://sourceware.org/ml/binutils/2014-09/msg00230.html
|
|
||||||
cross_args+=" --enable-gold=no"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
mkdir -p /usr/lib/thunderbird
|
|
||||||
export LDFLAGS+=" -Wl,-rpath=/usr/lib/thunderbird"
|
|
||||||
|
|
||||||
cd xbps-build
|
|
||||||
# disable --with-system-libvpx for now
|
|
||||||
# disable --enable-gstreamer for now
|
|
||||||
SHELL=/bin/bash ../configure --prefix=/usr --libdir=/usr/lib \
|
|
||||||
--with-system-nspr --with-system-nss --with-system-bz2 \
|
|
||||||
--with-system-jpeg --with-system-zlib --without-system-png \
|
|
||||||
--with-system-libevent --enable-system-cairo \
|
|
||||||
--enable-system-pixman --enable-system-hunspell --enable-system-sqlite \
|
|
||||||
--enable-system-ffi --enable-startup-notification --disable-gio \
|
|
||||||
--with-pthreads --enable-official-branding --enable-safe-browsing \
|
|
||||||
--disable-skia --disable-debug --disable-gnomevfs --disable-gconf \
|
|
||||||
--disable-crashreporter --disable-updater --disable-xprint --disable-tests \
|
|
||||||
--disable-mochitest --disable-installer --disable-elf-hack \
|
|
||||||
--with-system-icu --enable-pulseaudio --disable-gstreamer \
|
|
||||||
--disable-crashreporter --disable-cpp-exceptions --disable-javaxpcom \
|
|
||||||
--with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
|
|
||||||
--with-nss-prefix=${XBPS_CROSS_BASE}/usr ${cross_args} \
|
|
||||||
--enable-optimize="$CFLAGS" --disable-strip --disable-install-strip \
|
|
||||||
--disable-static --disable-jemalloc --enable-pie \
|
|
||||||
--disable-profiling --disable-profilelocking \
|
|
||||||
--enable-application=mail
|
|
||||||
}
|
|
||||||
do_build() {
|
|
||||||
cd xbps-build
|
|
||||||
SHELL=/bin/bash make ${makejobs}
|
|
||||||
}
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local cross_args
|
local cross_args
|
||||||
|
|
||||||
|
@ -100,7 +48,6 @@ do_configure() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# FIXME really needed ?
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
cross_args+=" --target=$XBPS_CROSS_TRIPLET --disable-jemalloc"
|
cross_args+=" --target=$XBPS_CROSS_TRIPLET --disable-jemalloc"
|
||||||
|
|
||||||
|
@ -133,8 +80,7 @@ do_configure() {
|
||||||
--enable-application=mail \
|
--enable-application=mail \
|
||||||
--with-system-nspr --with-system-nss --with-system-bz2 \
|
--with-system-nspr --with-system-nss --with-system-bz2 \
|
||||||
--with-system-jpeg --with-system-zlib --without-system-png \
|
--with-system-jpeg --with-system-zlib --without-system-png \
|
||||||
--with-system-libevent --with-system-libvpx \
|
--with-system-libevent --with-system-libvpx --enable-system-cairo \
|
||||||
--enable-system-cairo \
|
|
||||||
--enable-system-pixman --enable-system-hunspell --enable-system-sqlite \
|
--enable-system-pixman --enable-system-hunspell --enable-system-sqlite \
|
||||||
--enable-system-ffi --enable-startup-notification --enable-gio \
|
--enable-system-ffi --enable-startup-notification --enable-gio \
|
||||||
--with-pthreads --enable-official-branding --enable-safe-browsing \
|
--with-pthreads --enable-official-branding --enable-safe-browsing \
|
||||||
|
|
Loading…
Reference in New Issue