pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/kf5 kf5: Only pull in kwayland if supported.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae4c15864575
branches:  trunk
changeset: 379473:ae4c15864575
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 17 17:55:53 2022 +0000

description:
kf5: Only pull in kwayland if supported.

diffstat:

 meta-pkgs/kf5/DESCR    |  2 +-
 meta-pkgs/kf5/Makefile |  6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 0c5be600bbe2 -r ae4c15864575 meta-pkgs/kf5/DESCR
--- a/meta-pkgs/kf5/DESCR       Tue May 17 17:44:50 2022 +0000
+++ b/meta-pkgs/kf5/DESCR       Tue May 17 17:55:53 2022 +0000
@@ -6,4 +6,4 @@
 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 -r 0c5be600bbe2 -r ae4c15864575 meta-pkgs/kf5/Makefile
--- a/meta-pkgs/kf5/Makefile    Tue May 17 17:44:50 2022 +0000
+++ b/meta-pkgs/kf5/Makefile    Tue May 17 17:55:53 2022 +0000
@@ -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 @@
 
 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+=      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



Home | Main Index | Thread Index | Old Index