first commit
This commit is contained in:
3
src/thunderbird/.gitignore
vendored
Normal file
3
src/thunderbird/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/thunderbird/changes.md
Normal file
2
src/thunderbird/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 115.8.1
|
||||
First version
|
23
src/thunderbird/mozconfig
Normal file
23
src/thunderbird/mozconfig
Normal file
@ -0,0 +1,23 @@
|
||||
ac_add_options --with-system-libevent
|
||||
ac_add_options --with-system-libvpx
|
||||
ac_add_options --with-system-nspr
|
||||
ac_add_options --with-system-nss
|
||||
ac_add_options --disable-elf-hack
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --enable-application=comm/mail
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-debug-symbols
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --enable-optimize=-O2
|
||||
ac_add_options --enable-linker=gold
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --enable-install-strip
|
||||
ac_add_options --enable-official-branding
|
||||
ac_add_options --enable-system-ffi
|
||||
ac_add_options --enable-system-pixman
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --without-wasm-sandboxed-libraries
|
41
src/thunderbird/pkg.sh
Normal file
41
src/thunderbird/pkg.sh
Normal file
@ -0,0 +1,41 @@
|
||||
NAME="thunderbird"
|
||||
DESC="Stand-alone mail/news client based on the Mozilla codebase"
|
||||
VERSION="115.8.1"
|
||||
FILES=(
|
||||
"https://archive.mozilla.org/pub/thunderbird/releases/$VERSION/source/thunderbird-$VERSION.source.tar.xz"
|
||||
"thunderbird.desktop"
|
||||
"mozconfig"
|
||||
)
|
||||
HASHES=(
|
||||
"80d75ae91b7cbd60bcbaf134fc3f11290bd542a8a7ff965eaa4a0d95bb0d4d51"
|
||||
"7daebf05da5f2a9a9d23728b85af87a12c0ea4c22ad920af4f3f4f04275bf196"
|
||||
"75606d4cb36a856bdaea3e30026425dd09b98bd4a0ed5275b5cfdce3fb52203e"
|
||||
)
|
||||
DEPENDS=(
|
||||
"dbus-glib" "gtk3" "startup-notification"
|
||||
"libevent" "libvpx" "nspr" "nss" "pciutils"
|
||||
"wireless-tools"
|
||||
)
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $NAME-$VERSION.source.tar.xz
|
||||
cd $NAME-${VERSION%b*}
|
||||
|
||||
cp "$ROOTDIR/mozconfig" .
|
||||
sed -e '/<exception>/i#include <cstdint>' \
|
||||
-i comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
|
||||
export MOZBUILD_STATE_PATH=./mozbuild
|
||||
./mach configure
|
||||
./mach build
|
||||
|
||||
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none DESTDIR="$ROOTDIR" ./mach install
|
||||
unset MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE MOZBUILD_STATE_PATH
|
||||
|
||||
mkdir -pv "$ROOTDIR/usr/share/"{applications,pixmaps}
|
||||
cp "$ROOTDIR/thunderbird.desktop" "$ROOTDIR/usr/share/applications/thunderbird.desktop"
|
||||
ln -sfv /usr/lib/thunderbird/chrome/icons/default/default256.png \
|
||||
"$ROOTDIR/usr/share/pixmaps/thunderbird.png"
|
||||
|
||||
cd .. && rm -r $NAME-${VERSION%b*}
|
||||
}
|
11
src/thunderbird/thunderbird.desktop
Normal file
11
src/thunderbird/thunderbird.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Thunderbird Mail
|
||||
Comment=Send and receive mail with Thunderbird
|
||||
GenericName=Mail Client
|
||||
Exec=thunderbird %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=thunderbird
|
||||
Categories=Network;Email;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
|
||||
StartupNotify=true
|
Reference in New Issue
Block a user