pkgsrc/graphics/librsvg/Makefile
wiz a1798c3a27 librsvg: update to 2.40.20.
Version 2.40.20
- Except for emergencies, this will be the LAST RELEASE of the
  librsvg-2.40.x series.  We are moving to 2.41, which is vastly
  improved over the 2.40 series.  The API/ABI there remain unchaged,
  so we strongly encourage you to upgrade your sources and binaries to
  librsvg-2.41.x.
- bgo#761175 - Allow masks and clips to reuse a node being drawn.
- Don't access the file system when deciding whether to load a remote
  file with a UNC path for a paint server (i.e. don't try to load it at all).
- Vistual Studio: fixed and integrated introspection builds, so
  introspection data is built directly from the Visual Studio project
  (Chun-wei Fan).
- Visual Studio: We now use HIGHENTROPYVA linker option on x64 builds,
  to enhance the security of built binaries (Chun-wei Fan).
- Fix generation of Vala bindings when compiling in read-only source
  directories (Emmanuele Bassi).
2018-01-10 10:47:43 +00:00

61 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.98 2018/01/10 10:47:43 wiz Exp $
DISTNAME= librsvg-2.40.20
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/LibRsvg
COMMENT= SVG library for GNOME
LICENSE= gnu-lgpl-v2
CONFLICTS+= librsvg2-gtk-[0-9]* librsvg2-[0-9]*
MAKE_JOBS_SAFE= NO
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES+= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-tools
CONFIGURE_ARGS+= --enable-Bsymbolic=auto
PKGCONFIG_OVERRIDE= librsvg.pc.in
TEST_TARGET= check
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
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.24.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.pango+= pango>=1.38
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
.include "../../graphics/cairo/buildlink3.mk"
BUILDLINK_DEPMETHOD.cairo-gobject+= build
.include "../../graphics/cairo-gobject/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/loaders.mk"
BUILDLINK_API_DEPENDS.libcroco+= libcroco>=0.6.1
.include "../../textproc/libcroco/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"