pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtksourceview4 gtksourceview4: remove introspectio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/836aefa13241
branches:  trunk
changeset: 380515:836aefa13241
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 07 18:17:28 2022 +0000

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

 x11/gtksourceview4/Makefile   |   9 +++++----
 x11/gtksourceview4/PLIST      |   6 +++---
 x11/gtksourceview4/options.mk |  16 ----------------
 3 files changed, 8 insertions(+), 23 deletions(-)

diffs (72 lines):

diff -r f54f4cfdd577 -r 836aefa13241 x11/gtksourceview4/Makefile
--- a/x11/gtksourceview4/Makefile       Tue Jun 07 18:12:21 2022 +0000
+++ b/x11/gtksourceview4/Makefile       Tue Jun 07 18:17:28 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2022/04/18 19:10:13 adam Exp $
+# $NetBSD: Makefile,v 1.24 2022/06/07 18:17:28 wiz Exp $
 
 DISTNAME=      gtksourceview-4.8.0
 PKGNAME=       ${DISTNAME:S/gtksourceview/gtksourceview4/}
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    x11 gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gtksourceview/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
@@ -23,10 +23,11 @@
 
 PYTHON_FOR_BUILD_ONLY= tool
 
-.include "options.mk"
-
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.48
 .include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gobject-introspection+=  gobject-introspection>=1.42.0
+BUILDLINK_DEPMETHOD.gobject-introspection=     build
+.include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gtk3+=   gtk3+>=3.24
 .include "../../x11/gtk3/buildlink3.mk"
diff -r f54f4cfdd577 -r 836aefa13241 x11/gtksourceview4/PLIST
--- a/x11/gtksourceview4/PLIST  Tue Jun 07 18:12:21 2022 +0000
+++ b/x11/gtksourceview4/PLIST  Tue Jun 07 18:17:28 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2020/10/01 13:40:33 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.8 2022/06/07 18:17:28 wiz Exp $
 include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
 include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h
 include/gtksourceview-4/gtksourceview/gtksource.h
@@ -41,12 +41,12 @@
 include/gtksourceview-4/gtksourceview/gtksourceutils.h
 include/gtksourceview-4/gtksourceview/gtksourceversion.h
 include/gtksourceview-4/gtksourceview/gtksourceview.h
-${PLIST.introspection}lib/girepository-1.0/GtkSource-4.typelib
+lib/girepository-1.0/GtkSource-4.typelib
 lib/libgtksourceview-4.so
 lib/libgtksourceview-4.so.0
 lib/libgtksourceview-4.so.0.0.0
 lib/pkgconfig/gtksourceview-4.pc
-${PLIST.introspection}share/gir-1.0/GtkSource-4.gir
+share/gir-1.0/GtkSource-4.gir
 share/gtksourceview-4/language-specs/R.lang
 share/gtksourceview-4/language-specs/abnf.lang
 share/gtksourceview-4/language-specs/actionscript.lang
diff -r f54f4cfdd577 -r 836aefa13241 x11/gtksourceview4/options.mk
--- a/x11/gtksourceview4/options.mk     Tue Jun 07 18:12:21 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2020/10/01 13:40:33 prlw1 Exp $
-
-PKG_OPTIONS_VAR=       PKG_OPTIONS.gtksourceview4
-PKG_SUPPORTED_OPTIONS= introspection
-PKG_SUGGESTED_OPTIONS= introspection
-PLIST_VARS+=           introspection
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mintrospection)
-PLIST.introspection=   yes
-BUILDLINK_API_DEPENDS.gobject-introspection+=  gobject-introspection>=1.42.0
-.include "../../devel/gobject-introspection/buildlink3.mk"
-.else
-MESON_ARGS+=   -Dgir=false
-.endif



Home | Main Index | Thread Index | Old Index