Install a desktop file so that notifyd can autostart on non-systemd systems.
This commit is contained in:
parent
4da243639d
commit
b587f894f8
2 changed files with 19 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2018/05/15 22:11:39 youri Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2018/05/29 14:21:58 youri Exp $
|
||||
#
|
||||
|
||||
.include "../../meta-pkgs/xfce4/Makefile.common"
|
||||
|
@ -15,6 +15,17 @@ TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
|
|||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
|
||||
DESKTOP_FILE= xfce4-notifyd.desktop
|
||||
|
||||
CONF_FILES+= ${FILESDIR}/${DESKTOP_FILE} \
|
||||
${PKG_SYSCONFDIR}/xdg/autostart/${DESKTOP_FILE}
|
||||
|
||||
SUBST_CLASSES= prefix
|
||||
SUBST_MESSAGE.prefix= Fixing path
|
||||
SUBST_STAGE.prefix= post-install
|
||||
SUBST_FILES.prefix= ${FILESDIR}/${DESKTOP_FILE}
|
||||
SUBST_SED.prefix= -e 's,@PREFIX@,${PREFIX},'
|
||||
|
||||
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
||||
.include "../../x11/libxfce4ui/buildlink3.mk"
|
||||
.include "../../x11/xfce4-panel/buildlink3.mk"
|
||||
|
|
7
x11/xfce4-notifyd/files/xfce4-notifyd.desktop
Normal file
7
x11/xfce4-notifyd/files/xfce4-notifyd.desktop
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Notification Daemon
|
||||
Comment=Launch notification daemon
|
||||
Icon=preferences-system-notifications
|
||||
Exec=/usr/pkg/lib/xfce4/notifyd/xfce4-notifyd
|
||||
OnlyShowIn=XFCE;
|
Loading…
Reference in a new issue