pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/libchamplain012 libchamplain012: Add introsp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/16dcefe92a54
branches: trunk
changeset: 450560:16dcefe92a54
user: cirnatdan <cirnatdan%pkgsrc.org@localhost>
date: Mon Apr 19 15:56:31 2021 +0000
description:
libchamplain012: Add introspection option (needed by GNOME Maps)
diffstat:
geography/libchamplain012/Makefile | 4 ++--
geography/libchamplain012/PLIST | 16 +++++++++-------
geography/libchamplain012/options.mk | 18 ++++++++++++++++++
3 files changed, 29 insertions(+), 9 deletions(-)
diffs (69 lines):
diff -r 308569b6be11 -r 16dcefe92a54 geography/libchamplain012/Makefile
--- a/geography/libchamplain012/Makefile Mon Apr 19 15:55:45 2021 +0000
+++ b/geography/libchamplain012/Makefile Mon Apr 19 15:56:31 2021 +0000
@@ -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 @@
# TODO:
# add vala option?
-# add introspection option?
+.include "options.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
diff -r 308569b6be11 -r 16dcefe92a54 geography/libchamplain012/PLIST
--- a/geography/libchamplain012/PLIST Mon Apr 19 15:55:45 2021 +0000
+++ b/geography/libchamplain012/PLIST Mon Apr 19 15:56:31 2021 +0000
@@ -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/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
diff -r 308569b6be11 -r 16dcefe92a54 geography/libchamplain012/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/libchamplain012/options.mk Mon Apr 19 15:56:31 2021 +0000
@@ -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