pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/libchamplain012



Module Name:    pkgsrc
Committed By:   cirnatdan
Date:           Mon Apr 19 15:56:31 UTC 2021

Modified Files:
        pkgsrc/geography/libchamplain012: Makefile PLIST
Added Files:
        pkgsrc/geography/libchamplain012: options.mk

Log Message:
libchamplain012: Add introspection option (needed by GNOME Maps)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/geography/libchamplain012/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/geography/libchamplain012/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/libchamplain012/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/libchamplain012/Makefile
diff -u pkgsrc/geography/libchamplain012/Makefile:1.34 pkgsrc/geography/libchamplain012/Makefile:1.35
--- pkgsrc/geography/libchamplain012/Makefile:1.34      Mon Apr 12 13:10:09 2021
+++ pkgsrc/geography/libchamplain012/Makefile   Mon Apr 19 15:56:31 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2021/04/12 13:10:09 nia Exp $
+# $NetBSD: Makefile,v 1.35 2021/04/19 15:56:31 cirnatdan Exp $
 
 DISTNAME=      libchamplain-0.12.20
 PKGNAME=       ${DISTNAME:S/ain/ain012/}
@@ -23,7 +23,7 @@ PYTHON_FOR_BUILD_ONLY=        tool
 
 # TODO:
 # add vala option?
-# add introspection option?
+.include "options.mk"
 
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"

Index: pkgsrc/geography/libchamplain012/PLIST
diff -u pkgsrc/geography/libchamplain012/PLIST:1.2 pkgsrc/geography/libchamplain012/PLIST:1.3
--- pkgsrc/geography/libchamplain012/PLIST:1.2  Wed Mar 11 10:48:51 2020
+++ pkgsrc/geography/libchamplain012/PLIST      Mon Apr 19 15:56:31 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/03/11 10:48:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/04/19 15:56:31 cirnatdan Exp $
 include/champlain-0.12/champlain-gtk/champlain-gtk.h
 include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h
 include/champlain-0.12/champlain/champlain-adjustment.h
@@ -40,11 +40,13 @@ include/champlain-0.12/champlain/champla
 include/champlain-0.12/champlain/champlain-view.h
 include/champlain-0.12/champlain/champlain-viewport.h
 include/champlain-0.12/champlain/champlain.h
-lib/libchamplain-0.12.so
-lib/libchamplain-0.12.so.0
-lib/libchamplain-0.12.so.0.11.10
-lib/libchamplain-gtk-0.12.so
-lib/libchamplain-gtk-0.12.so.0
-lib/libchamplain-gtk-0.12.so.0.11.10
+${PLIST.introspection}lib/girepository-1.0/Champlain-0.12.typelib
+${PLIST.introspection}lib/girepository-1.0/GtkChamplain-0.12.typelib
+lib/libchamplain-0.12.0.dylib
+lib/libchamplain-0.12.dylib
+lib/libchamplain-gtk-0.12.0.dylib
+lib/libchamplain-gtk-0.12.dylib
 lib/pkgconfig/champlain-0.12.pc
 lib/pkgconfig/champlain-gtk-0.12.pc
+${PLIST.introspection}share/gir-1.0/Champlain-0.12.gir
+${PLIST.introspection}share/gir-1.0/GtkChamplain-0.12.gir

Added files:

Index: pkgsrc/geography/libchamplain012/options.mk
diff -u /dev/null pkgsrc/geography/libchamplain012/options.mk:1.1
--- /dev/null   Mon Apr 19 15:56:31 2021
+++ pkgsrc/geography/libchamplain012/options.mk Mon Apr 19 15:56:31 2021
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2021/04/19 15:56:31 cirnatdan Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libchamplain012
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   introspection
+
+.if !empty(PKG_OPTIONS:Mintrospection)
+BUILDLINK_DEPMETHOD.gobject-introspection+=    build
+.include "../../devel/gobject-introspection/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-introspection
+PLIST.introspection=   yes
+.else
+CONFIGURE_ARGS+=       --disable-introspection
+.endif



Home | Main Index | Thread Index | Old Index