pkgsrc-WIP-changes archive

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

picom: finish package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Thu Jun 15 14:18:30 2023 +0200
Changeset:	b0941d5b1528b8e7392ba60503dd236b2929223c

Modified Files:
	picom/Makefile
	picom/PLIST

Log Message:
picom: finish package

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

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

diffstat:
 picom/Makefile | 6 +++++-
 picom/PLIST    | 3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/picom/Makefile b/picom/Makefile
index 99422b916c..5f1c7c5780 100644
--- a/picom/Makefile
+++ b/picom/Makefile
@@ -20,10 +20,14 @@ USE_LANGUAGES=		c c++
 MESON_ARGS+=		-Dwith_docs=true
 REPLACE_SH+=		bin/picom-trans
 PYTHON_FOR_BUILD_ONLY=	tool
-INSTALLATION_DIRS+=	share/examples/picom
+INSTALLATION_DIRS+=	share/examples/picom share/examples/picom/xdg/autostart
+
+CONF_FILES+=	share/examples/picom/xdg/autostart/picom.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/picom.desktop
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/picom.sample.conf ${DESTDIR}${PREFIX}/share/examples/picom/picom.sample.conf
+	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/autostart/picom.desktop ${DESTDIR}${PREFIX}/share/examples/picom/xdg/autostart
 
 .include "options.mk"
 .include "../../devel/meson/build.mk"
diff --git a/picom/PLIST b/picom/PLIST
index efb3a8d110..8a75d4fb5c 100644
--- a/picom/PLIST
+++ b/picom/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2022/07/29 21:16:32 tnn Exp $
+@comment $NetBSD$
 bin/compton
 bin/compton-trans
 bin/picom
@@ -8,5 +8,6 @@ man/man1/picom.1
 share/applications/compton.desktop
 share/applications/picom.desktop
 share/examples/picom/picom.sample.conf
+share/examples/picom/xdg/autostart/picom.desktop
 share/icons/hicolor/48x48/apps/compton.png
 share/icons/hicolor/scalable/apps/compton.svg


Home | Main Index | Thread Index | Old Index