pkgsrc-WIP-changes archive

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

lxqt-notificationd, clean-up



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Thu Jan 9 12:50:04 2020 +0100
Changeset:	8294574dbf0350c4f7655705a9ca81890369daec

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

Log Message:
lxqt-notificationd, clean-up

Make lxqt-build-tools a build dependency only.
Clear PLIST errors.

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

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

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

diffs:
diff --git a/lxqt-notificationd/Makefile b/lxqt-notificationd/Makefile
index 451635492c..b6eca9a64b 100644
--- a/lxqt-notificationd/Makefile
+++ b/lxqt-notificationd/Makefile
@@ -19,12 +19,23 @@ CMAKE_ARG_PATH=	..
 
 CFLAGS.NetBSD+=	-D_NETBSD_SOURCE
 
+EGDIR=			share/examples/lxqt-notifications
+PKG_SYSCONFSUBDIR=	xdg
+MAKE_DIRS+=		${PKG_SYSCONFDIR}/autostart
+CONF_FILES=		${EGDIR}/xdg/autostart/lxqt-notifications.desktop \
+			${PKG_SYSCONFDIR}/autostart/lxqt-notifications.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 "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qttools/buildlink3.mk"
diff --git a/lxqt-notificationd/PLIST b/lxqt-notificationd/PLIST
index 800842cb3c..aef6127b4c 100644
--- a/lxqt-notificationd/PLIST
+++ b/lxqt-notificationd/PLIST
@@ -1,8 +1,8 @@
 @comment $NetBSD$
 bin/lxqt-config-notificationd
 bin/lxqt-notificationd
-etc/xdg/autostart/lxqt-notifications.desktop
 share/applications/lxqt-config-notificationd.desktop
+share/examples/lxqt-notifications/xdg/autostart/lxqt-notifications.desktop
 share/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_ar.qm
 share/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_ca.qm
 share/lxqt/translations/lxqt-config-notificationd/lxqt-config-notificationd_cs.qm


Home | Main Index | Thread Index | Old Index