pkgsrc-WIP-changes archive

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

lxqt-runner, clean-up



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

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

Log Message:
lxqt-runner, clean-up

Remove unnecessary dependencies.
Make lxqt-build-tools a build dependency only.

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

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

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

diffs:
diff --git a/lxqt-runner/Makefile b/lxqt-runner/Makefile
index f73a352086..0fe67e141a 100644
--- a/lxqt-runner/Makefile
+++ b/lxqt-runner/Makefile
@@ -19,17 +19,24 @@ CMAKE_ARG_PATH=	..
 
 CFLAGS.NetBSD+=	-D_NETBSD_SOURCE
 
+EGDIR=			share/examples/lxqt-runner
+PKG_SYSCONFSUBDIR=	xdg
+MAKE_DIRS+=		${PKG_SYSCONFDIR}/autostart
+CONF_FILES=		${EGDIR}/xdg/autostart/lxqt-runner.desktop \
+			${PKG_SYSCONFDIR}/autostart/lxqt-runner.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+=	lib
 
 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"
 .include "../../wip/lxqt-globalkeys/buildlink3.mk"
-.include "../../wip/liblxqt/buildlink3.mk"
 .include "../../math/muparser/buildlink3.mk"
-.include "../../x11/kwindowsystem/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-runner/PLIST b/lxqt-runner/PLIST
index e0833fc1ad..dd4ea32b33 100644
--- a/lxqt-runner/PLIST
+++ b/lxqt-runner/PLIST
@@ -1,7 +1,7 @@
 @comment $NetBSD$
 bin/lxqt-runner
-etc/xdg/autostart/lxqt-runner.desktop
 man/man1/lxqt-runner.1
+share/examples/lxqt-runner/xdg/autostart/lxqt-runner.desktop
 share/lxqt/translations/lxqt-runner/lxqt-runner_ar.qm
 share/lxqt/translations/lxqt-runner/lxqt-runner_ca.qm
 share/lxqt/translations/lxqt-runner/lxqt-runner_cs.qm


Home | Main Index | Thread Index | Old Index