pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xscreensaver-demo Provide a desktop file for xscre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97c5e253eb45
branches:  trunk
changeset: 385222:97c5e253eb45
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sat Sep 15 16:46:32 2018 +0000

description:
Provide a desktop file for xscreensaver-demo(1)

diffstat:

 x11/xscreensaver-demo/Makefile                        |  7 +++++--
 x11/xscreensaver-demo/PLIST                           |  3 ++-
 x11/xscreensaver-demo/files/xscreensaver-demo.desktop |  7 +++++++
 3 files changed, 14 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 6ff6a5594572 -r 97c5e253eb45 x11/xscreensaver-demo/Makefile
--- a/x11/xscreensaver-demo/Makefile    Sat Sep 15 16:25:22 2018 +0000
+++ b/x11/xscreensaver-demo/Makefile    Sat Sep 15 16:46:32 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2018/09/02 20:12:59 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2018/09/15 16:46:32 khorben Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-demo-/}
+PKGREVISION=   1
 COMMENT=       Demo viewer and configuration tool for xscreensaver
 
 CONFLICTS+=    xscreensaver<4.14 xscreensaver-gnome-[0-9]*
@@ -16,13 +17,15 @@
 INSTALL_DIRS=          driver
 INSTALL_TARGET=                install-gnome
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/applications
 
 post-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/driver/xscreensaver-demo \
            ${DESTDIR}${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/driver/xscreensaver-demo.man \
            ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xscreensaver-demo.1
+       ${INSTALL_DATA} ${FILESDIR}/xscreensaver-demo.desktop \
+           ${DESTDIR}${PREFIX}/share/applications/xscreensaver-demo.desktop
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libglade/buildlink3.mk"
diff -r 6ff6a5594572 -r 97c5e253eb45 x11/xscreensaver-demo/PLIST
--- a/x11/xscreensaver-demo/PLIST       Sat Sep 15 16:25:22 2018 +0000
+++ b/x11/xscreensaver-demo/PLIST       Sat Sep 15 16:46:32 2018 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:25:18 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/09/15 16:46:33 khorben Exp $
 bin/xscreensaver-demo
 man/man1/xscreensaver-demo.1
+share/applications/xscreensaver-demo.desktop
 share/pixmaps/xscreensaver.xpm
 share/xscreensaver/glade/screensaver-cmndln.png
 share/xscreensaver/glade/screensaver-colorselector.png
diff -r 6ff6a5594572 -r 97c5e253eb45 x11/xscreensaver-demo/files/xscreensaver-demo.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xscreensaver-demo/files/xscreensaver-demo.desktop     Sat Sep 15 16:46:32 2018 +0000
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Screensaver
+Exec=xscreensaver-demo
+Icon=xscreensaver
+Terminal=false
+Categories=Settings;



Home | Main Index | Thread Index | Old Index