aece2f338c
Major changes between the 1.4 and 1.6 branch: - Now uses external "pixman" library instead of a bundled one. - Improvements to PDF, SVG and PostScript output - New support for arbitrary X server visuals (the 8-bit display support patch (patch-ae in pkgsrc) is integrated) - rendering backend improvements - various new API additions, while maintaining ABI compatibility - New Quartz backend - bug fixes
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.61 2008/04/21 11:29:33 tnn Exp $
|
|
|
|
DISTNAME= cairo-1.6.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
HOMEPAGE= http://cairographics.org/
|
|
COMMENT= Vector graphics library with cross-device output support
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES+= c99
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= pkg-config
|
|
PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-backend.pc.in
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-xcb
|
|
CONFIGURE_ARGS+= --enable-glitz
|
|
CONFIGURE_ARGS+= --enable-pdf
|
|
CONFIGURE_ARGS+= --enable-ps
|
|
|
|
PLIST_VARS+= carbon
|
|
.if exists(/System/Library/Frameworks/Carbon.framework)
|
|
CONFIGURE_ARGS+= --enable-quartz
|
|
CONFIGURE_ARGS+= --enable-atsui
|
|
PLIST.carbon= yes
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.glitz+= glitz>=0.5.1
|
|
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.10.0
|
|
|
|
# For snprintf()
|
|
CPPFLAGS.SunOS+= -D__EXTENSIONS__
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/glitz/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../x11/pixman/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|