pkgsrc-WIP-changes archive

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

lxqt-policykit, clean-up



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Jan 10 08:44:10 2020 +0100
Changeset:	805e5cf78682e6277910ac2195ca072c25a851ad

Modified Files:
	lxqt-policykit/Makefile
	lxqt-policykit/PLIST

Log Message:
lxqt-policykit, clean-up

Fx PLIST errors.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=805e5cf78682e6277910ac2195ca072c25a851ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lxqt-policykit/Makefile | 13 ++++++++++++-
 lxqt-policykit/PLIST    |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs:
diff --git a/lxqt-policykit/Makefile b/lxqt-policykit/Makefile
index 3862b84175..4374889c58 100644
--- a/lxqt-policykit/Makefile
+++ b/lxqt-policykit/Makefile
@@ -19,12 +19,23 @@ CMAKE_ARG_PATH=	..
 
 CFLAGS.NetBSD+=	-D_NETBSD_SOURCE
 
+EGDIR=			share/lxqt/lxqt-policykit-agent
+PKG_SYSCONFSUBDIR=	xdg
+MAKE_DIRS+=		${PKG_SYSCONFDIR}/lxqt
+CONF_FILES=		${EGDIR}/xdg/autostart/lxqt-policykit-agent.desktop \
+			${PKG_SYSCONFDIR}/autostart/lxqt-policykit-agent.desktop
+
+SUBST_CLASSES+=		conf
+SUBST_FILES.conf=	autostart/CMakeLists.txt
+SUBST_SED.conf=		-e 's,$${LXQT_ETC_XDG_DIR}/,${EGDIR}/xdg/,'
+SUBST_STAGE.conf=	pre-configure
+
 INSTALLATION_DIRS+=	bin
 
 pre-configure:
 	${MKDIR} -p ${WRKSRC}/build
 
-DEPENDS+=	lxqt-build-tools-[0-9]*:../../wip/lxqt-build-tools
+TOOL_DEPENDS+=	lxqt-build-tools-[0-9]*:../../wip/lxqt-build-tools
 
 .include "../../wip/liblxqt/buildlink3.mk"
 .include "../../security/polkit-qt5/buildlink3.mk"
diff --git a/lxqt-policykit/PLIST b/lxqt-policykit/PLIST
index 31e7f9a479..25ca396e5e 100644
--- a/lxqt-policykit/PLIST
+++ b/lxqt-policykit/PLIST
@@ -1,7 +1,7 @@
 @comment $NetBSD$
 bin/lxqt-policykit-agent
-etc/xdg/autostart/lxqt-policykit-agent.desktop
 man/man1/lxqt-policykit-agent.1
+share/lxqt/lxqt-policykit-agent/xdg/autostart/lxqt-policykit-agent.desktop
 share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ar.qm
 share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ca.qm
 share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_cs.qm


Home | Main Index | Thread Index | Old Index