summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-05-17 17:55:53 +0000
committerjperkin <jperkin@pkgsrc.org>2022-05-17 17:55:53 +0000
commit73f3f277460f9d700ad3a0b04394f4eb56657fd3 (patch)
tree8a721ca93430f3696f88f5450e259bb6ecabd8cb /meta-pkgs
parent74821a112438ecc9f5d861d9f1df978acbdca907 (diff)
downloadpkgsrc-73f3f277460f9d700ad3a0b04394f4eb56657fd3.tar.gz
kf5: Only pull in kwayland if supported.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/kf5/DESCR2
-rw-r--r--meta-pkgs/kf5/Makefile6
2 files changed, 6 insertions, 2 deletions
diff --git a/meta-pkgs/kf5/DESCR b/meta-pkgs/kf5/DESCR
index 7df51bb369e..53d5077ba73 100644
--- a/meta-pkgs/kf5/DESCR
+++ b/meta-pkgs/kf5/DESCR
@@ -6,4 +6,4 @@ and well tested libraries with friendly licensing terms. There are over
including hardware integration, file format support, additional widgets,
plotting functions, spell checking and more. Many of the Frameworks are
cross platform and have minimal or no extra dependencies making them easy
-to build and add to any Qt application. \ No newline at end of file
+to build and add to any Qt application.
diff --git a/meta-pkgs/kf5/Makefile b/meta-pkgs/kf5/Makefile
index 3e2e43a4bd3..2502145be80 100644
--- a/meta-pkgs/kf5/Makefile
+++ b/meta-pkgs/kf5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2022/04/25 09:38:16 markd Exp $
+# $NetBSD: Makefile,v 1.23 2022/05/17 17:55:53 jperkin Exp $
DISTNAME= kf5-${KF5VER}
CATEGORIES= meta-pkgs x11 kde
@@ -11,6 +11,8 @@ COMMENT= "meta-package" for the KDE Frameworks 5
KF5VER= 5.93.0
+.include "../../devel/wayland/platform.mk"
+
DEPENDS+= attica-qt5>=${KF5VER}:../../misc/attica-qt5
DEPENDS+= baloo5>=${KF5VER}:../../sysutils/baloo5
# bluez-qt
@@ -71,7 +73,9 @@ DEPENDS+= ktexteditor>=${KF5VER}:../../devel/ktexteditor
DEPENDS+= ktextwidgets>=${KF5VER}:../../x11/ktextwidgets
DEPENDS+= kunitconversion>=${KF5VER}:../../misc/kunitconversion
DEPENDS+= kwallet>=${KF5VER}:../../security/kwallet
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
DEPENDS+= kwayland>=${KF5VER}:../../devel/kwayland
+.endif
DEPENDS+= kwidgetsaddons>=${KF5VER}:../../x11/kwidgetsaddons
DEPENDS+= kwindowsystem>=${KF5VER}:../../x11/kwindowsystem
DEPENDS+= kxmlgui>=${KF5VER}:../../x11/kxmlgui