diff options
author | obache <obache@pkgsrc.org> | 2013-07-15 01:33:09 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-07-15 01:33:09 +0000 |
commit | ea4fd04f6d0939f272300657d8568e860e23aaf3 (patch) | |
tree | c0f4e43fc71ac5ea11ca5b311537c0a70e07b1dd /graphics/clutter-gtk | |
parent | c6473bbe9d7dcc5210f4a30b2e601eb8f6b58550 (diff) | |
download | pkgsrc-ea4fd04f6d0939f272300657d8568e860e23aaf3.tar.gz |
Added introspection option (disabled by default).
Diffstat (limited to 'graphics/clutter-gtk')
-rw-r--r-- | graphics/clutter-gtk/Makefile | 4 | ||||
-rw-r--r-- | graphics/clutter-gtk/PLIST | 4 | ||||
-rw-r--r-- | graphics/clutter-gtk/options.mk | 21 |
3 files changed, 27 insertions, 2 deletions
diff --git a/graphics/clutter-gtk/Makefile b/graphics/clutter-gtk/Makefile index b74f977162a..463f2a9c95c 100644 --- a/graphics/clutter-gtk/Makefile +++ b/graphics/clutter-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2013/06/06 12:53:50 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2013/07/15 01:33:09 obache Exp $ # DISTNAME= clutter-gtk-0.10.8 @@ -17,6 +17,8 @@ USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= clutter-gtk.pc.in +.include "options.mk" + BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.19.5 .include "../../x11/gtk2/buildlink3.mk" BUILDLINK_API_DEPENDS.clutter+= clutter>=1.2.0 diff --git a/graphics/clutter-gtk/PLIST b/graphics/clutter-gtk/PLIST index dee52d769a9..e31551c5072 100644 --- a/graphics/clutter-gtk/PLIST +++ b/graphics/clutter-gtk/PLIST @@ -1,12 +1,14 @@ -@comment $NetBSD: PLIST,v 1.3 2009/10/26 08:51:01 obache Exp $ +@comment $NetBSD: PLIST,v 1.4 2013/07/15 01:33:09 obache Exp $ include/clutter-1.0/clutter-gtk/clutter-gtk.h include/clutter-1.0/clutter-gtk/gtk-clutter-embed.h include/clutter-1.0/clutter-gtk/gtk-clutter-scrollable.h include/clutter-1.0/clutter-gtk/gtk-clutter-util.h include/clutter-1.0/clutter-gtk/gtk-clutter-viewport.h include/clutter-1.0/clutter-gtk/gtk-clutter-zoomable.h +${PLIST.introspection}lib/girepository-1.0/GtkClutter-0.10.typelib lib/libclutter-gtk-0.10.la lib/pkgconfig/clutter-gtk-0.10.pc +${PLIST.introspection}share/gir-1.0/GtkClutter-0.10.gir share/gtk-doc/html/clutter-gtk/GtkClutterEmbed.html share/gtk-doc/html/clutter-gtk/GtkClutterScrollable.html share/gtk-doc/html/clutter-gtk/GtkClutterViewport.html diff --git a/graphics/clutter-gtk/options.mk b/graphics/clutter-gtk/options.mk new file mode 100644 index 00000000000..50f1339e54d --- /dev/null +++ b/graphics/clutter-gtk/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2013/07/15 01:33:09 obache Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.clutter-gtk +PKG_SUPPORTED_OPTIONS= introspection +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= introspection + +.if !empty(PKG_OPTIONS:Mintrospection) +USE_TOOLS+= gmake +PLIST.introspection= yes +BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.3 +BUILDLINK_DEPMETHOD.gobject-introspection+= build +.include "../../devel/gobject-introspection/buildlink3.mk" +CONFIGURE_ARGS+= --enable-introspection=yes +.else +CONFIGURE_ARGS+= --enable-introspection=no +.endif |