pkgsrc/graphics/librsvg/Makefile
2016-08-03 10:22:08 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.87 2016/08/03 10:22:15 adam Exp $
DISTNAME= librsvg-2.40.15
PKGREVISION= 1
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-introspection
CONFIGURE_ARGS+= --enable-Bsymbolic=auto
PKGCONFIG_OVERRIDE= librsvg.pc.in
TEST_TARGET= check
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.24.0
CONFIGURE_ARGS.Darwin+= --disable-Bsymbolic
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
BUILDLINK_DEPMETHOD.cairo-gobject+= build
.include "../../graphics/cairo-gobject/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.libcroco+= libcroco>=0.6.1
.include "../../textproc/libcroco/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/loaders.mk"
.include "../../mk/bsd.pkg.mk"