pkgsrc/graphics/cairo-gobject/Makefile
wiz 308fbe0b75 Update cairo* to 1.12.14:
Release 1.12.14 (2013-02-10 Chris Wilson <chris@chris-wilson.co.uk>)
====================================================================
In the last week we had a few more bugs reported and promptly resolved.
As these are a combination of regressions and stability issues, it is
time for a prompt update and release. Many thanks to everyone for
testing and reporting issues, and helping to make Cairo better.

Bug fixes
---------

  Prevent user callbacks accessing user-data during destroy to prevent
  use-after-free bugs.
  https://bugzilla.mozilla.org/show_bug.cgi?id=722975

  Use standard names for glyphs in subset fonts (PDF).
  https://bugs.freedesktop.org/show_bug.cgi?id=60248

  Fix detection of Win98. The logic for detecting Win98 (and its broken
  AlphaBlend()) was inverted, disabling AlphaBlend() for everyone.

  Prevent numeric overflow from extrapolating polygon edges to the clip
  boundary and causing severe render artifacts.
  https://bugs.freedesktop.org/show_bug.cgi?id=60489

  Fix computation of glyph string coordinates when breaking up runs
  for xlib.

  Fix an assertion in the win32 backend for failing to clear its
  similar-images.
  https://bugs.freedesktop.org/show_bug.cgi?id=60519
2013-02-12 20:08:29 +00:00

66 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2013/02/12 20:08:29 wiz Exp $
DISTNAME= cairo-1.12.14
PKGNAME= ${DISTNAME:S/-/-gobject-/}
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cairographics.org/
COMMENT= Vector graphics library with cross-device output support
LICENSE= gnu-lgpl-v2.1 AND mpl-1.1
PATCHDIR= ${.CURDIR}/../../graphics/cairo/patches
DISTINFO_FILE= ${.CURDIR}/../../graphics/cairo/distinfo
BUILD_DIRS= util/cairo-gobject
INSTALL_DIRS= util/cairo-gobject
USE_LANGUAGES+= c99
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-features.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-pdf
CONFIGURE_ARGS+= --enable-ps
INSTALLATION_DIRS+= lib/pkgconfig
.if exists(/System/Library/Frameworks/Carbon.framework)
CONFIGURE_ARGS+= --enable-quartz
CONFIGURE_ARGS+= --enable-quartz-font
CONFIGURE_ARGS+= --enable-quartz-image
CONFIGURE_ARGS+= --disable-gl
CONFIGURE_ARGS+= --disable-xlib
CONFIGURE_ARGS+= --disable-xlib-xrender
.else
CONFIGURE_ARGS+= --enable-gl
.endif
# For snprintf() and ctime_r()
CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
# PR#43928
.include "../../mk/compiler.mk"
.if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*}
CONFIGURE_ENV+= ac_cv_type___uint128_t=no
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/src/cairo-gobject.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../graphics/cairo/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
# include?
#.include "../../print/libspectre/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"