summaryrefslogtreecommitdiff
path: root/x11/lightdm-kde-greeter
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lightdm-kde-greeter')
-rw-r--r--x11/lightdm-kde-greeter/Makefile28
-rw-r--r--x11/lightdm-kde-greeter/pkg-message6
-rw-r--r--x11/lightdm-kde-greeter/pkg-plist2
3 files changed, 24 insertions, 12 deletions
diff --git a/x11/lightdm-kde-greeter/Makefile b/x11/lightdm-kde-greeter/Makefile
index ca00120b5196..4814955eb6ae 100644
--- a/x11/lightdm-kde-greeter/Makefile
+++ b/x11/lightdm-kde-greeter/Makefile
@@ -1,25 +1,29 @@
PORTNAME= lightdm-kde-greeter
PORTVERSION= 6.0.3
+PORTREVISION= 1
CATEGORIES= x11 kde
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE login screen using the LightDM framework
WWW= https://invent.kde.org/plasma/lightdm-kde-greeter
-LIB_DEPENDS= liblightdm-gobject-1.so:x11/lightdm
-RUN_DEPENDS= at-spi2-core>0:accessibility/at-spi2-core
-
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.GPL3
-USES= cmake compiler:c++11-lang gettext gnome kde:6 pkgconfig qt:6 \
- tar:xz xorg
-USE_KDE= auth config configwidgets i18n iconthemes kcmutils networkmanagerqt \
- package plasma-workspace \
- ecm:build
+LIB_DEPENDS= libnm.so:net-mgmt/networkmanager-shim \
+ liblightdm-gobject-1.so:x11/lightdm
+RUN_DEPENDS= at-spi2-core>0:accessibility/at-spi2-core
+
+USES= cmake compiler:c++17-lang gettext gl gnome kde:6 pkgconfig \
+ qt:6 tar:xz xorg
+USE_GL= opengl
USE_GNOME= gtk20
-USE_QT= base
-USE_XORG= x11
+USE_KDE= auth colorscheme config configwidgets coreaddons i18n \
+ iconthemes kcmutils libplasma networkmanagerqt package \
+ widgetsaddons \
+ ecm:build
+USE_QT= 5compat base declarative
+USE_XORG= x11 xcb xext xrandr xrender
KDE_INVENT= 31d29530ad834c1bfb70ed43f9395a549fbace56 plasma
@@ -27,7 +31,9 @@ CMAKE_ARGS= -DGREETER_IMAGES_DIR="${PREFIX}/var/db/${PORTNAME}/images" \
-DLIGHTDM_CONFIG_DIR=${PREFIX}/etc/lightdm \
-DDATA_INSTALL_DIR=${PREFIX}/share
-post-stage:
+post-install:
${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
+ (cd ${STAGEDIR}${PREFIX}/etc/lightdm && ${MV} lightdm-kde-greeter.conf \
+ lightdm-kde-greeter.conf.sample)
.include <bsd.port.mk>
diff --git a/x11/lightdm-kde-greeter/pkg-message b/x11/lightdm-kde-greeter/pkg-message
index ddc6c404298e..bd08570da8b5 100644
--- a/x11/lightdm-kde-greeter/pkg-message
+++ b/x11/lightdm-kde-greeter/pkg-message
@@ -1,6 +1,12 @@
+[
+{ type: install
+ message: <<EOM
To enable lightdm-kde-greeter as the current lightdm greeter, you can
create a file at /usr/local/etc/lightdm/lightdm.conf.d/50-myconfig.conf
with the following:
[Seat:*]
greeter-session=lightdm-kde-greeter
+EOM
+}
+]
diff --git a/x11/lightdm-kde-greeter/pkg-plist b/x11/lightdm-kde-greeter/pkg-plist
index 6a04b8e00fab..d4ec905f5fdf 100644
--- a/x11/lightdm-kde-greeter/pkg-plist
+++ b/x11/lightdm-kde-greeter/pkg-plist
@@ -1,6 +1,6 @@
bin/lightdm-kde-greeter-rootimage
bin/lightdm-kde-greeter-wifikeeper
-etc/lightdm/lightdm-kde-greeter.conf
+@sample etc/lightdm/lightdm-kde-greeter.conf.sample
lib/libexec/kf6/kauth/kcmlightdmhelper
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_lightdm.so
sbin/lightdm-kde-greeter