pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gegl PLIST fix; svg now is an option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca8bfe02faf9
branches:  trunk
changeset: 553908:ca8bfe02faf9
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Feb 03 06:21:40 2009 +0000

description:
PLIST fix; svg now is an option

diffstat:

 graphics/gegl/Makefile      |   9 ++++++---
 graphics/gegl/PLIST         |  18 ++----------------
 graphics/gegl/buildlink3.mk |  10 ++++++++--
 graphics/gegl/options.mk    |  14 ++++++++++++++
 4 files changed, 30 insertions(+), 21 deletions(-)

diffs (116 lines):

diff -r ca2f00522957 -r ca8bfe02faf9 graphics/gegl/Makefile
--- a/graphics/gegl/Makefile    Tue Feb 03 06:17:53 2009 +0000
+++ b/graphics/gegl/Makefile    Tue Feb 03 06:21:40 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/02/02 23:12:52 abs Exp $
+# $NetBSD: Makefile,v 1.5 2009/02/03 06:21:40 adam Exp $
 
 DISTNAME=      gegl-0.0.22
 PKGREVISION=   2
@@ -16,16 +16,19 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config gmake
 GNU_CONFIGURE=         yes
+CONFIGURE_ENV+=                ac_cv_path_ASCIIDOC=no
+CONFIGURE_ENV+=                ac_cv_path_ENSCRIPT=no
 CONFIGURE_ENV+=                ac_cv_path_SDL_CONFIG=no
+CONFIGURE_ENV+=                ac_cv_prog_RUBY=no
 
 PKGCONFIG_OVERRIDE+=   gegl.pc.in
 
+.include "options.mk"
+
 .include "../../graphics/babl/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/librsvg/buildlink3.mk"
 .include "../../graphics/openexr/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
-#.include "../../multimedia/ffmpeg/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 
 .include "../../mk/dlopen.buildlink3.mk"
diff -r ca2f00522957 -r ca8bfe02faf9 graphics/gegl/PLIST
--- a/graphics/gegl/PLIST       Tue Feb 03 06:17:53 2009 +0000
+++ b/graphics/gegl/PLIST       Tue Feb 03 06:21:40 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/02/02 23:12:53 abs Exp $
+@comment $NetBSD: PLIST,v 1.5 2009/02/03 06:21:40 adam Exp $
 bin/gegl
 include/gegl-0.0/gegl-buffer.h
 include/gegl-0.0/gegl-chant.h
@@ -99,7 +99,7 @@
 lib/gegl-0.0/stretch-contrast.la
 lib/gegl-0.0/subtract.la
 lib/gegl-0.0/svg-huerotate.la
-lib/gegl-0.0/svg-load.la
+${PLIST.svg}lib/gegl-0.0/svg-load.la
 lib/gegl-0.0/svg-luminancetoalpha.la
 lib/gegl-0.0/svg-matrix.la
 lib/gegl-0.0/svg-multiply.la
@@ -114,22 +114,8 @@
 lib/gegl-0.0/xor.la
 lib/libgegl-0.0.la
 lib/pkgconfig/gegl.pc
-share/gtk-doc/html/gegl/brightness-contrast.c.html
-share/gtk-doc/html/gegl/gegl-operation-area-filter.h.html
-share/gtk-doc/html/gegl/gegl-operation-composer.h.html
-share/gtk-doc/html/gegl/gegl-operation-filter.h.html
-share/gtk-doc/html/gegl/gegl-operation-meta.h.html
-share/gtk-doc/html/gegl/gegl-operation-point-composer.h.html
-share/gtk-doc/html/gegl/gegl-operation-point-filter.h.html
-share/gtk-doc/html/gegl/gegl-operation-point-render.h.html
-share/gtk-doc/html/gegl/gegl-operation-sink.h.html
-share/gtk-doc/html/gegl/gegl-operation-source.h.html
-share/gtk-doc/html/gegl/gegl-operation-temporal.h.html
-share/gtk-doc/html/gegl/gegl-operation.h.html
-share/gtk-doc/html/gegl/gegl-plugin.h.html
 share/gtk-doc/html/gegl/gegl.css
 share/gtk-doc/html/gegl/gegl.devhelp
-share/gtk-doc/html/gegl/gegl.h.html
 share/gtk-doc/html/gegl/operations.html
 @dirrm share/gtk-doc/html/gegl
 @dirrm lib/gegl-0.0
diff -r ca2f00522957 -r ca8bfe02faf9 graphics/gegl/buildlink3.mk
--- a/graphics/gegl/buildlink3.mk       Tue Feb 03 06:17:53 2009 +0000
+++ b/graphics/gegl/buildlink3.mk       Tue Feb 03 06:21:40 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/10/16 21:53:57 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/02/03 06:21:40 adam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 GEGL_BUILDLINK3_MK:=   ${GEGL_BUILDLINK3_MK}+
@@ -16,9 +16,15 @@
 BUILDLINK_PKGSRCDIR.gegl?=     ../../graphics/gegl
 .endif # GEGL_BUILDLINK3_MK
 
+pkgbase := gegl
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gegl:Msvg)
+.include "../../graphics/librsvg/buildlink3.mk"
+.endif
+
 .include "../../graphics/babl/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/librsvg/buildlink3.mk"
 .include "../../graphics/openexr/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
diff -r ca2f00522957 -r ca8bfe02faf9 graphics/gegl/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gegl/options.mk  Tue Feb 03 06:21:40 2009 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2009/02/03 06:21:40 adam Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gegl
+PKG_SUPPORTED_OPTIONS= svg
+PKG_SUGGESTED_OPTIONS= svg
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   svg
+
+.if !empty(PKG_OPTIONS:Msvg)
+.include "../../graphics/librsvg/buildlink3.mk"
+PLIST.svg=     yes
+.endif



Home | Main Index | Thread Index | Old Index