sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

80 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2021/02/23 19:39:32 sthen Exp $
COMMENT = KDE app that allows your devices to communicate
V = 1.4.1
DISTNAME = kdeconnect-kde-${V}
SHARED_LIBS += kdeconnectcore 1.0 # 1.4
SHARED_LIBS += kdeconnectinterfaces 1.0 # 1.4
SHARED_LIBS += kdeconnectsmshelper 0.0 # 1.4
SHARED_LIBS += kdeconnectpluginkcm 0.0 # 1.4
CATEGORIES = net
HOMEPAGE = https://invent.kde.org/network/kdeconnect-kde
MAINTAINER = Ingo Feinerer <feinerer@logic.at>
# GPLv2+
PERMIT_PACKAGE =Yes
WANTLIB += ${COMPILER_LIBCXX} ICE KF5Auth KF5AuthCore KF5Bookmarks
WANTLIB += KF5Codecs KF5Completion KF5ConfigCore KF5ConfigGui
WANTLIB += KF5ConfigWidgets KF5CoreAddons KF5DBusAddons KF5I18n
WANTLIB += KF5IconThemes KF5ItemViews KF5JobWidgets KF5KCMUtils
WANTLIB += KF5KIOCore KF5KIOFileWidgets KF5KIOWidgets KF5Notifications KF5People
WANTLIB += KF5Service KF5Solid KF5WidgetsAddons KF5XmlGui Qt5Concurrent
WANTLIB += Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Quick Qt5Qml Qt5Widgets
WANTLIB += Qt5X11Extras Qt5Xml SM X11 Xext Xtst c fakekey m qca-qt5
MASTER_SITES = ${MASTER_SITE_KDE:=stable/kdeconnect/${V}/}
MODULES = devel/kf5 \
lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
BUILD_DEPENDS = devel/gettext,-tools \
devel/kf5/kirigami2
RUN_DEPENDS = devel/desktop-file-utils \
devel/kf5/breeze-icons \
devel/kf5/kirigami2 \
sysutils/sshfs-fuse \
sysutils/sshpass \
x11/gtk+3,-guic
LIB_DEPENDS = devel/kf5/kauth \
devel/kf5/kbookmarks \
devel/kf5/kcmutils \
devel/kf5/kcodecs \
devel/kf5/kcompletion \
devel/kf5/kconfig \
devel/kf5/kconfigwidgets \
devel/kf5/kcoreaddons \
devel/kf5/kdbusaddons \
devel/kf5/ki18n \
devel/kf5/kiconthemes \
devel/kf5/kio \
devel/kf5/kitemviews \
devel/kf5/kjobwidgets \
devel/kf5/knotifications \
devel/kf5/kpeople \
devel/kf5/kservice \
devel/kf5/kwidgetsaddons \
devel/kf5/kxmlgui \
devel/kf5/solid \
security/qca-qt5 \
x11/libfakekey \
x11/qt5/qtdeclarative,-main \
x11/qt5/qtx11extras
MODPY_ADJ_FILES = nautilus-extension/kdeconnect-share.py
pre-configure:
${SUBST_CMD} ${WRKSRC}/plugins/sftp/mounter.cpp
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/share/nautilus-python/extensions
.include <bsd.port.mk>