pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/gtksourceview3
Module Name: pkgsrc
Committed By: martin
Date: Sun Jun 25 12:05:59 UTC 2017
Modified Files:
pkgsrc/x11/gtksourceview3: Makefile PLIST
Log Message:
Support the introspection pkg option.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/x11/gtksourceview3/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/x11/gtksourceview3/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/gtksourceview3/Makefile
diff -u pkgsrc/x11/gtksourceview3/Makefile:1.32 pkgsrc/x11/gtksourceview3/Makefile:1.33
--- pkgsrc/x11/gtksourceview3/Makefile:1.32 Sun Feb 12 06:24:54 2017
+++ pkgsrc/x11/gtksourceview3/Makefile Sun Jun 25 12:05:59 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2017/02/12 06:24:54 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2017/06/25 12:05:59 martin Exp $
DISTNAME= gtksourceview-3.22.0
PKGNAME= ${DISTNAME:S/gtksourceview/gtksourceview3/}
@@ -22,12 +22,24 @@ CONFIGURE_ARGS+= --disable-vala
PKGCONFIG_OVERRIDE+= gtksourceview-3.0.pc.in
+PKG_OPTIONS_VAR= PKG_OPTIONS.gtksourceview3
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+PLIST_VARS+= introspection
+
+.include "../../mk/bsd.options.mk"
+
BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.48
.include "../../devel/glib2/buildlink3.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
+CONFIGURE_ARGS+= --enable-introspection=no
+.endif
.include "../../textproc/libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.20
.include "../../x11/gtk3/buildlink3.mk"
Index: pkgsrc/x11/gtksourceview3/PLIST
diff -u pkgsrc/x11/gtksourceview3/PLIST:1.9 pkgsrc/x11/gtksourceview3/PLIST:1.10
--- pkgsrc/x11/gtksourceview3/PLIST:1.9 Fri Nov 25 17:52:04 2016
+++ pkgsrc/x11/gtksourceview3/PLIST Sun Jun 25 12:05:59 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2016/11/25 17:52:04 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.10 2017/06/25 12:05:59 martin Exp $
include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
include/gtksourceview-3.0/gtksourceview/gtksource.h
include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h
@@ -40,10 +40,10 @@ include/gtksourceview-3.0/gtksourceview/
include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h
include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h
include/gtksourceview-3.0/gtksourceview/gtksourceview.h
-lib/girepository-1.0/GtkSource-3.0.typelib
+${PLIST.introspection}lib/girepository-1.0/GtkSource-3.0.typelib
lib/libgtksourceview-3.0.la
lib/pkgconfig/gtksourceview-3.0.pc
-share/gir-1.0/GtkSource-3.0.gir
+${PLIST.introspection}share/gir-1.0/GtkSource-3.0.gir
share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html
share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html
share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html
Home |
Main Index |
Thread Index |
Old Index