mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
145 lines
4.6 KiB
Bash
145 lines
4.6 KiB
Bash
SUMMARY="Mail Transport Service"
|
|
DESCRIPTION="The mailtransport module provides the following functionality:
|
|
- Shared mail transport settings
|
|
- GUI elements to configure mail transport settings
|
|
- Job classes for mail sending
|
|
|
|
The mailtransport module consists of the following components:
|
|
- a shared library containing the above listed functionality
|
|
- a KCModule which can be embedded into your application to provide mail transport configuration
|
|
- a KDED module which provides a D-Bus interface to mail transport settings and mail sending (not yet \
|
|
implemented)."
|
|
HOMEPAGE="https://kontact.kde.org/"
|
|
COPYRIGHT="2010-2024 KDE Organisation"
|
|
LICENSE="BSD (3-clause)
|
|
CC0 v1.0
|
|
GNU LGPL v2
|
|
GNU LGPL v2.1"
|
|
REVISION="3"
|
|
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kmailtransport-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="c3b42bcfd8aeb5cbbadf9a93948aa8ea47b628fd5891ad049a942c9ec99dc415"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="5.24.5"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
kmailtransport$secondaryArchSuffix = $portVersion
|
|
lib:libKPim5MailTransport$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libKF5Auth$secondaryArchSuffix
|
|
lib:libKF5Codecs$secondaryArchSuffix
|
|
lib:libKF5ConfigCore$secondaryArchSuffix
|
|
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
|
lib:libKF5CoreAddons$secondaryArchSuffix
|
|
lib:libKF5I18n$secondaryArchSuffix
|
|
lib:libKF5ItemModels$secondaryArchSuffix
|
|
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
|
lib:libKF5Wallet$secondaryArchSuffix
|
|
lib:libKPim5AkonadiCore$secondaryArchSuffix
|
|
lib:libKPim5AkonadiMime$secondaryArchSuffix
|
|
lib:libKPim5GAPICore$secondaryArchSuffix
|
|
lib:libKPim5Mime$secondaryArchSuffix
|
|
lib:libKPim5SMTP$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5DBus$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQT5Keychain$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libQt5Xml$secondaryArchSuffix
|
|
"
|
|
|
|
|
|
PROVIDES_devel="
|
|
kmailtransport${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKPim5MailTransport$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
kmailtransport$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= 5.115
|
|
devel:libKF5Auth$secondaryArchSuffix
|
|
devel:libKF5Bookmarks$secondaryArchSuffix
|
|
devel:libKF5CalendarCore$secondaryArchSuffix
|
|
devel:libKF5Codecs$secondaryArchSuffix
|
|
devel:libKF5Completion$secondaryArchSuffix
|
|
devel:libKF5ConfigCore$secondaryArchSuffix
|
|
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
|
devel:libKF5Contacts$secondaryArchSuffix
|
|
devel:libKF5CoreAddons$secondaryArchSuffix
|
|
devel:libKF5DBusAddons$secondaryArchSuffix
|
|
devel:libKF5I18n$secondaryArchSuffix
|
|
devel:libKF5IconThemes$secondaryArchSuffix
|
|
devel:libKF5ItemModels$secondaryArchSuffix
|
|
devel:libKF5ItemViews$secondaryArchSuffix
|
|
devel:libKF5JobWidgets$secondaryArchSuffix
|
|
devel:libKF5KCMUtils$secondaryArchSuffix
|
|
devel:libKF5KIOCore$secondaryArchSuffix
|
|
devel:libKF5Service$secondaryArchSuffix
|
|
devel:libKF5Solid$secondaryArchSuffix
|
|
devel:libKF5SonnetCore$secondaryArchSuffix
|
|
devel:libKF5TextWidgets$secondaryArchSuffix
|
|
devel:libKF5Wallet$secondaryArchSuffix
|
|
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
|
devel:libKF5WindowSystem$secondaryArchSuffix
|
|
devel:libKF5XmlGui$secondaryArchSuffix
|
|
devel:libKPim5AkonadiCore$secondaryArchSuffix
|
|
devel:libKPim5AkonadiMime$secondaryArchSuffix
|
|
devel:libKPim5GAPICore$secondaryArchSuffix
|
|
devel:libKPim5Mime$secondaryArchSuffix
|
|
devel:libKPim5SMTP$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5DBus$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQT5Keychain$secondaryArchSuffix
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
devel:libQt5Xml$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:msgmerge
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:qdbuscpp2xml$secondaryArchSuffix >= 5
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. $cmakeDirArgs \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
|
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
|
|
prepareInstalledDevelLib \
|
|
libKPim5MailTransport
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|