pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libsecret libsecret: remove introspection opt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c339a91733a
branches:  trunk
changeset: 380503:1c339a91733a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 07 18:00:18 2022 +0000

description:
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.

diffstat:

 security/libsecret/Makefile   |   8 ++++----
 security/libsecret/PLIST      |   6 +++---
 security/libsecret/options.mk |  15 ---------------
 3 files changed, 7 insertions(+), 22 deletions(-)

diffs (67 lines):

diff -r 7cb60771a76f -r 1c339a91733a security/libsecret/Makefile
--- a/security/libsecret/Makefile       Tue Jun 07 17:57:22 2022 +0000
+++ b/security/libsecret/Makefile       Tue Jun 07 18:00:18 2022 +0000
@@ -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 @@
 
 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"
diff -r 7cb60771a76f -r 1c339a91733a security/libsecret/PLIST
--- a/security/libsecret/PLIST  Tue Jun 07 17:57:22 2022 +0000
+++ b/security/libsecret/PLIST  Tue Jun 07 18:00:18 2022 +0000
@@ -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-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
diff -r 7cb60771a76f -r 1c339a91733a security/libsecret/options.mk
--- a/security/libsecret/options.mk     Tue Jun 07 17:57:22 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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



Home | Main Index | Thread Index | Old Index