diff options
author | cirnatdan <cirnatdan@pkgsrc.org> | 2021-04-19 15:56:31 +0000 |
---|---|---|
committer | cirnatdan <cirnatdan@pkgsrc.org> | 2021-04-19 15:56:31 +0000 |
commit | 0cbae33f60f25828dedd1ce428862140762f0e7e (patch) | |
tree | 3f0d3a8d8f78b5e84bddc4f6138d6b5c0611c3c3 | |
parent | ef43fa6e855194a1f109c5d1f9131c0e9e60d131 (diff) | |
download | pkgsrc-0cbae33f60f25828dedd1ce428862140762f0e7e.tar.gz |
libchamplain012: Add introspection option (needed by GNOME Maps)
-rw-r--r-- | geography/libchamplain012/Makefile | 4 | ||||
-rw-r--r-- | geography/libchamplain012/PLIST | 16 | ||||
-rw-r--r-- | geography/libchamplain012/options.mk | 18 |
3 files changed, 29 insertions, 9 deletions
diff --git a/geography/libchamplain012/Makefile b/geography/libchamplain012/Makefile index b6c42310ad9..28d1695590c 100644 --- a/geography/libchamplain012/Makefile +++ b/geography/libchamplain012/Makefile @@ -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" diff --git a/geography/libchamplain012/PLIST b/geography/libchamplain012/PLIST index e07cb7b333e..0aa0931ca03 100644 --- a/geography/libchamplain012/PLIST +++ b/geography/libchamplain012/PLIST @@ -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-version.h 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 --git a/geography/libchamplain012/options.mk b/geography/libchamplain012/options.mk new file mode 100644 index 00000000000..aabe53186a2 --- /dev/null +++ b/geography/libchamplain012/options.mk @@ -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 |