mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 03:00:05 +02:00
164 lines
4.8 KiB
Bash
164 lines
4.8 KiB
Bash
SUMMARY="An e-mail client"
|
|
DESCRIPTION="Balsa is an e-mail client for GNOME, highly configurable and incorporating all the \
|
|
features you would expect in a robust mail client.
|
|
|
|
Features
|
|
|
|
Support for local mailbox formats: mbox, maildir, mh
|
|
* Allows nested mailboxes (see this screenshot)
|
|
* Support for POP3 and IMAP mail access protocols
|
|
* Printing
|
|
* Spell Checking
|
|
* Multi-threaded mail retrevial (optional)
|
|
* MIME support (view images inline, save parts)
|
|
* Supports SMTP and/or use of local MTA, ie. Sendmail
|
|
* Address Book that integrates with GnomeCard
|
|
* Highly configurable
|
|
* Active, open development (see the mailing list page)
|
|
* Multiple character sets for composing and reading messages
|
|
* Allows file attachments to outgoing messages
|
|
* GPG/OpenPGP mail signing and encryption."
|
|
HOMEPAGE="https://pawsa.fedorapeople.org/balsa/"
|
|
COPYRIGHT="1997-2018 The Balsa Developers"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://pawsa.fedorapeople.org/balsa/balsa-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="befa5984511db33d41f2b1ecbfc99e22a15d45d08efe5d737b5174a1a6ac8fc1"
|
|
PATCHES="balsa-$portVersion.patchset"
|
|
ADDITIONAL_FILES="balsa.rdef.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
GLOBAL_WRITABLE_FILES="settings/sound/events/balsa.soundlist keep-old"
|
|
|
|
PROVIDES="
|
|
balsa$secondaryArchSuffix = $portVersion
|
|
cmd:balsa$secondaryArchSuffix = $portVersion
|
|
cmd:balsa_ab$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libatk_1.0$secondaryArchSuffix
|
|
lib:libcairo$secondaryArchSuffix
|
|
lib:libcairo_gobject$secondaryArchSuffix
|
|
lib:libcom_err$secondaryArchSuffix
|
|
lib:libenchant_2$secondaryArchSuffix
|
|
lib:libfribidi$secondaryArchSuffix
|
|
lib:libgdk_3$secondaryArchSuffix
|
|
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgmime_3.0$secondaryArchSuffix
|
|
lib:libgnutls$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
lib:libgpgme$secondaryArchSuffix
|
|
lib:libgthread_2.0$secondaryArchSuffix
|
|
lib:libgssapi_krb5$secondaryArchSuffix
|
|
lib:libgtk_3$secondaryArchSuffix
|
|
lib:libgtksourceview_4$secondaryArchSuffix
|
|
lib:libharfbuzz$secondaryArchSuffix
|
|
lib:libical$secondaryArchSuffix
|
|
lib:libicalss$secondaryArchSuffix
|
|
lib:libicalvcal$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libjavascriptcoregtk_4.1$secondaryArchSuffix
|
|
lib:libk5crypto$secondaryArchSuffix
|
|
lib:libkrb5$secondaryArchSuffix
|
|
lib:liblber$secondaryArchSuffix
|
|
lib:libldap$secondaryArchSuffix
|
|
lib:libpango_1.0$secondaryArchSuffix
|
|
lib:libpangocairo_1.0$secondaryArchSuffix
|
|
lib:libsecret_1$secondaryArchSuffix
|
|
lib:libsoup_3.0$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libwebkit2gtk_4.1$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbrotlidec$secondaryArchSuffix
|
|
devel:libenchant_2$secondaryArchSuffix
|
|
devel:libfribidi$secondaryArchSuffix
|
|
devel:libgdk_3$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgmime_3.0$secondaryArchSuffix
|
|
devel:libgnutls$secondaryArchSuffix
|
|
devel:libgpgme$secondaryArchSuffix
|
|
devel:libgtk_3$secondaryArchSuffix
|
|
devel:libgtksourceview_4$secondaryArchSuffix
|
|
devel:libical$secondaryArchSuffix
|
|
devel:libkrb5$secondaryArchSuffix
|
|
devel:libldap$secondaryArchSuffix
|
|
devel:libnghttp2$secondaryArchSuffix
|
|
devel:libpsl$secondaryArchSuffix
|
|
devel:libsecret_1$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libwebkit2gtk_4.1$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:intltoolize
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export LDFLAGS="-lnetwork"
|
|
autoreconf -fi
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$appsDir \
|
|
--disable-static \
|
|
--with-gss \
|
|
--with-ldap \
|
|
--with-gtksourceview \
|
|
--with-rubrica \
|
|
--with-sqlite \
|
|
--with-html-widget=webkit2 #\
|
|
# --with-html-widget=no
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# rename binaries
|
|
mv $appsDir/balsa $appsDir/Balsa
|
|
mv $appsDir/balsa-ab $appsDir/"Balsa Address Book"
|
|
|
|
# remove libtool file
|
|
rm -f $libDir/balsa/libhtml.la
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
local APP_NAME="Mednaffe"
|
|
local LONG_INFO="$SUMMARY"
|
|
local APP_SIGNATURE="application/x-vnd.balsa"
|
|
sed \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
|
-e "s|@APP_NAME@|$APP_NAME|" \
|
|
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
|
$portDir/additional-files/balsa.rdef.in > balsa.rdef
|
|
|
|
addResourcesToBinaries balsa.rdef $appsDir/Balsa
|
|
addResourcesToBinaries balsa.rdef $appsDir/"Balsa Address Book"
|
|
|
|
addAppDeskbarSymlink $appsDir/Balsa
|
|
addAppDeskbarSymlink $appsDir/"Balsa Address Book"
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|