openbsd-ports/x11/kde-applications/mailcommon/Makefile
2022-03-11 20:15:18 +00:00

68 lines
2.3 KiB
Makefile

COMMENT = KDE PIM common mail library
DISTNAME = mailcommon-${VERSION}
CATEGORIES = devel mail
SHARED_LIBS += KF5MailCommon 3.0 # 5.13.2
WANTLIB += ${COMPILER_LIBCXX} Grantlee_Templates KF5AkonadiContact
WANTLIB += KF5AkonadiCore KF5AkonadiMime KF5AkonadiWidgets KF5Archive
WANTLIB += KF5Auth KF5AuthCore KF5Codecs KF5Completion KF5ConfigCore
WANTLIB += KF5ConfigGui KF5ConfigWidgets KF5Contacts KF5CoreAddons
WANTLIB += KF5GrantleeTheme KF5GuiAddons KF5I18n KF5IMAP KF5IconThemes
WANTLIB += KF5IdentityManagement KF5ItemModels KF5ItemViews KF5JobWidgets
WANTLIB += KF5KIOCore KF5KIOGui KF5KIOWidgets KF5Libkdepim KF5Libkleo
WANTLIB += KF5MailImporter KF5MailTransport KF5MessageComposer
WANTLIB += KF5MessageCore KF5MessageList KF5MessageViewer KF5Mime
WANTLIB += KF5MimeTreeParser KF5PimCommon KF5PimCommonAkonadi
WANTLIB += KF5PimTextEdit KF5Service KF5Solid KF5SonnetUi KF5SyntaxHighlighting
WANTLIB += KF5TemplateParser KF5TextWidgets KF5Wallet KF5WidgetsAddons
WANTLIB += KF5WindowSystem KF5XmlGui Qt5Concurrent Qt5Core Qt5DBus
WANTLIB += Qt5Gui Qt5Network Qt5Widgets Qt5Xml X11 assuan gpgme
WANTLIB += gpgmepp m phonon4qt5 qgpgme
MODKDE5_TRANSLATIONS = yes
MODKF5_L10N_CONFLICT = yes
BUILD_DEPENDS = textproc/libxslt \
devel/boost \
devel/libinotify
LIB_DEPENDS = devel/kf5/karchive \
devel/kf5/kauth \
devel/kf5/kcodecs \
devel/kf5/kcompletion \
devel/kf5/kconfig \
devel/kf5/kconfigwidgets \
devel/kf5/kcontacts \
devel/kf5/kcoreaddons \
devel/kf5/ki18n \
devel/kf5/kitemmodels \
devel/kf5/kitemviews \
devel/kf5/kjobwidgets \
devel/kf5/kservice \
devel/kf5/ktextwidgets \
devel/kf5/kwidgetsaddons \
devel/kf5/kxmlgui \
devel/kf5/sonnet \
devel/kf5/syntax-highlighting \
security/gpgme,-qt \
x11/kde-applications/akonadi \
x11/kde-applications/akonadi-mime \
x11/kde-applications/kidentitymanagement \
x11/kde-applications/kimap \
x11/kde-applications/kmime \
x11/kde-applications/kpimtextedit \
x11/kde-applications/libkdepim \
x11/kde-applications/mailimporter \
x11/kde-applications/messagelib \
x11/kde-applications/pimcommon \
multimedia/phonon
TEST_IS_INTERACTIVE = X11
pre-configure:
find ${WRKSRC} -type f \( -name \*.cpp -o -name \*.h \) -exec \
sed -i -e 's,#include <phonon,#include <phonon4qt5/phonon,g' {} +
.include <bsd.port.mk>