mate-power-manager: Disable gnome-keyring integration

This commit is contained in:
nia 2020-11-22 12:58:37 +00:00
parent b4e9c57e40
commit 57c7aab196
2 changed files with 4 additions and 18 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.26 2020/08/24 04:41:41 gutteridge Exp $
# $NetBSD: Makefile,v 1.27 2020/11/22 12:58:37 nia Exp $
PKGREVISION= 2
PKGREVISION= 3
.include "../../meta-pkgs/mate/Makefile.common"
DISTNAME= mate-power-manager-${VERSION:R}.1
@ -15,14 +15,14 @@ TOOL_DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2 # for xmllint
TOOL_DEPENDS+= polkit-[0-9]*:../../security/polkit
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --without-keyring
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/${PKGBASE}
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/autostart
CONF_FILES+= ${PREFIX}/share/examples/mate-power-manager/xdg/autostart/mate-power-manager.desktop \
${PKG_SYSCONFDIR}/xdg/autostart/mate-power-manager.desktop
.include "options.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/upower/buildlink3.mk"

View file

@ -1,14 +0,0 @@
# $NetBSD: options.mk,v 1.2 2020/05/31 23:44:49 gutteridge Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mate-power-manager
PKG_SUPPORTED_OPTIONS= keyring
PKG_SUGGESTED_OPTIONS= keyring
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mkeyring)
.include "../../security/libgnome-keyring/buildlink3.mk"
CONFIGURE_ARGS+= --with-keyring
.else
CONFIGURE_ARGS+= --without-keyring
.endif