pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/librsvg



Module Name:    pkgsrc
Committed By:   martin
Date:           Tue Jan 31 17:06:38 UTC 2017

Modified Files:
        pkgsrc/graphics/librsvg: Makefile PLIST

Log Message:
Make it support the "introspection" option


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/graphics/librsvg/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/graphics/librsvg/PLIST

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

Modified files:

Index: pkgsrc/graphics/librsvg/Makefile
diff -u pkgsrc/graphics/librsvg/Makefile:1.87 pkgsrc/graphics/librsvg/Makefile:1.88
--- pkgsrc/graphics/librsvg/Makefile:1.87       Wed Aug  3 10:22:15 2016
+++ pkgsrc/graphics/librsvg/Makefile    Tue Jan 31 17:06:38 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2016/08/03 10:22:15 adam Exp $
+# $NetBSD: Makefile,v 1.88 2017/01/31 17:06:38 martin Exp $
 
 DISTNAME=      librsvg-2.40.15
 PKGREVISION=   1
@@ -19,7 +19,6 @@ USE_TOOLS+=           pkg-config gmake
 USE_LANGUAGES+=                c c++
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-tools
-CONFIGURE_ARGS+=       --enable-introspection
 CONFIGURE_ARGS+=       --enable-Bsymbolic=auto
 
 PKGCONFIG_OVERRIDE=    librsvg.pc.in
@@ -31,8 +30,22 @@ BUILDLINK_API_DEPENDS.glib2+=        glib2>=2.2
 
 CONFIGURE_ARGS.Darwin+=        --disable-Bsymbolic
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.librsvg
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   introspection
+
+.if !empty(PKG_OPTIONS:Mintrospection)
+PLIST.introspection=   yes
+CONFIGURE_ARGS+=       --enable-introspection
 BUILDLINK_DEPMETHOD.gobject-introspection+=    build
 .include "../../devel/gobject-introspection/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-introspection
+.endif
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"

Index: pkgsrc/graphics/librsvg/PLIST
diff -u pkgsrc/graphics/librsvg/PLIST:1.13 pkgsrc/graphics/librsvg/PLIST:1.14
--- pkgsrc/graphics/librsvg/PLIST:1.13  Sat May 21 13:43:42 2016
+++ pkgsrc/graphics/librsvg/PLIST       Tue Jan 31 17:06:38 2017
@@ -1,15 +1,15 @@
-@comment $NetBSD: PLIST,v 1.13 2016/05/21 13:43:42 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.14 2017/01/31 17:06:38 martin Exp $
 bin/rsvg-convert
 include/librsvg-2.0/librsvg/librsvg-enum-types.h
 include/librsvg-2.0/librsvg/librsvg-features.h
 include/librsvg-2.0/librsvg/rsvg-cairo.h
 include/librsvg-2.0/librsvg/rsvg.h
 lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la
-lib/girepository-1.0/Rsvg-2.0.typelib
+${PLIST.introspection}lib/girepository-1.0/Rsvg-2.0.typelib
 lib/librsvg-2.la
 lib/pkgconfig/librsvg-2.0.pc
 man/man1/rsvg-convert.1
-share/gir-1.0/Rsvg-2.0.gir
+${PLIST.introspection}share/gir-1.0/Rsvg-2.0.gir
 share/gtk-doc/html/rsvg-2.0/RsvgHandle.html
 share/gtk-doc/html/rsvg-2.0/annotation-glossary.html
 share/gtk-doc/html/rsvg-2.0/api-index-2-14.html



Home | Main Index | Thread Index | Old Index