pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/lxqt-session
Module Name: pkgsrc
Committed By: nia
Date: Sat Jul 22 08:46:23 UTC 2023
Modified Files:
pkgsrc/x11/lxqt-session: Makefile
Added Files:
pkgsrc/x11/lxqt-session: options.mk
Log Message:
lxqt-session: Option-ize udev support.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/x11/lxqt-session/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/lxqt-session/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/lxqt-session/Makefile
diff -u pkgsrc/x11/lxqt-session/Makefile:1.28 pkgsrc/x11/lxqt-session/Makefile:1.29
--- pkgsrc/x11/lxqt-session/Makefile:1.28 Mon Jun 5 20:35:45 2023
+++ pkgsrc/x11/lxqt-session/Makefile Sat Jul 22 08:46:23 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2023/06/05 20:35:45 abs Exp $
+# $NetBSD: Makefile,v 1.29 2023/07/22 08:46:23 nia Exp $
DISTNAME= lxqt-session-1.3.0
PKGREVISION= 3
@@ -19,11 +19,6 @@ USE_LANGUAGES= c c++
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} != "Linux"
-CMAKE_ARGS+= -DWITH_LIBUDEV=OFF
-.endif
-
AUTOSTART_CONF= share/examples/autostart
PKG_SYSCONFSUBDIR= xdg
MAKE_DIRS= ${PKG_SYSCONFDIR}/autostart
@@ -47,6 +42,7 @@ TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../
DEPENDS+= qtxdg-tools>=3.9.1:../../x11/qtxdg-tools
DEPENDS+= xdg-user-dirs-[0-9]*:../../x11/xdg-user-dirs
+.include "options.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/kwindowsystem/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
Added files:
Index: pkgsrc/x11/lxqt-session/options.mk
diff -u /dev/null pkgsrc/x11/lxqt-session/options.mk:1.1
--- /dev/null Sat Jul 22 08:46:23 2023
+++ pkgsrc/x11/lxqt-session/options.mk Sat Jul 22 08:46:23 2023
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2023/07/22 08:46:23 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.lxqt-session
+PKG_SUPPORTED_OPTIONS= udev
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mudev)
+. include "../../sysutils/libudev/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWITH_LIBUDEV=OFF
+.endif
Home |
Main Index |
Thread Index |
Old Index