libsecret: remove introspection option, enabling it by default

It was default-on, but this commit also makes gobject-introspection
a build dependency, so bump PKGREVISION.
This commit is contained in:
wiz 2022-06-07 18:00:18 +00:00
parent be551892bb
commit 90009786b8
3 changed files with 7 additions and 22 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.28 2022/03/30 10:02:26 wiz Exp $
# $NetBSD: Makefile,v 1.29 2022/06/07 18:00:18 wiz Exp $
DISTNAME= libsecret-0.20.4
PKGREVISION= 4
PKGREVISION= 5
CATEGORIES= security gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsecret/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
@ -25,8 +25,8 @@ PKGCONFIG_OVERRIDE+= libsecret/libsecret.pc.in
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.44.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_DEPMETHOD.vala?= build
BUILDLINK_DEPMETHOD.gobject-introspection= build
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../lang/vala/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "options.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.9 2020/11/22 11:34:32 nia Exp $
@comment $NetBSD: PLIST,v 1.10 2022/06/07 18:00:18 wiz Exp $
bin/secret-tool
include/libsecret-1/libsecret/secret-attributes.h
include/libsecret-1/libsecret/secret-backend.h
@ -16,12 +16,12 @@ include/libsecret-1/libsecret/secret-types.h
include/libsecret-1/libsecret/secret-value.h
include/libsecret-1/libsecret/secret-version.h
include/libsecret-1/libsecret/secret.h
${PLIST.introspection}lib/girepository-1.0/Secret-1.typelib
lib/girepository-1.0/Secret-1.typelib
lib/libsecret-1.la
lib/pkgconfig/libsecret-1.pc
lib/pkgconfig/libsecret-unstable.pc
man/man1/secret-tool.1
${PLIST.introspection}share/gir-1.0/Secret-1.gir
share/gir-1.0/Secret-1.gir
share/gtk-doc/html/libsecret-1/SecretCollection.html
share/gtk-doc/html/libsecret-1/SecretItem.html
share/gtk-doc/html/libsecret-1/SecretPrompt.html

View file

@ -1,15 +0,0 @@
# $NetBSD: options.mk,v 1.1 2016/12/01 12:51:12 martin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libsecret
PKG_SUPPORTED_OPTIONS= introspection
PKG_SUGGESTED_OPTIONS= introspection
.include "../../mk/bsd.options.mk"
PLIST_VARS+= introspection
.if !empty(PKG_OPTIONS:Mintrospection)
.include "../../devel/gobject-introspection/buildlink3.mk"
PLIST.introspection=yes
.else
CONFIGURE_ARGS+=--disable-introspection
.endif