pkgsrc/x11/lxsession/Makefile
gutteridge 5c8ca1f4cb lxsession: update to 0.5.5
Remove libunique dependency, and use glib >= 2.28.0 to handle unique apps both for GTK+ 2 and 3.
Fix possible memory issue: use memmove instead of memcpy for overlapping area copy.
Fix memory issue: never free buffer returned by gtk_entry_get_text().
Fix spelling error: assiociate -> associate.
Pass desktop_environnement as a parameter for lxsession-xdg-autostart to fix wrong autostart processing.
Replace “images_display” with “image_display” for consistency.
Translations updates.
2021-03-09 01:51:32 +00:00

47 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2021/03/09 01:51:32 gutteridge Exp $
DISTNAME= lxsession-0.5.5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lxde/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= youri@NetBSD.org
HOMEPAGE= https://lxde.org/
COMMENT= Session manager for LXDE
LICENSE= gnu-gpl-v2
LXDE_CONF= share/examples/lxsession
GNU_CONFIGURE= yes
INSTALLATION_DIRS= share/doc/lxsession
USE_TOOLS+= intltool msgfmt pkg-config
PKG_SYSCONFSUBDIR= xdg
MAKE_DIRS+= ${PKG_SYSCONFDIR}/autostart
CONF_FILES+= ${LXDE_CONF}/lxpolkit.desktop \
${PKG_SYSCONFDIR}/autostart/lxpolkit.desktop
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fixing paths.
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= lxsession/environement.c
SUBST_FILES.prefix+= lxsession/app.c
SUBST_FILES.prefix+= lxsession/settings.c
SUBST_FILES.prefix+= lxsession-db/desktop-files-backend.c
SUBST_FILES.prefix+= data/desktop.conf.example
SUBST_SED.prefix= -e 's,/etc/xdg,${PKG_SYSCONFDIR},g'
SUBST_SED.prefix+= -e 's,/usr/share,${PREFIX}/share,g'
SUBST_SED.prefix+= -e 's,/usr/lib,${PREFIX}/lib,g'
SUBST_SED.prefix+= -e 's,/usr/bin/pkexec,${PREFIX}/bin/pkexec,g'
post-install:
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/lxsession/
.include "../../devel/glib2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../security/polkit/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"