Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System, Quartz, Win32,
image buffers, PostScript, PDF, and SVG file output. Experimental backends
include OpenGL (through glitz), XCB, BeOS, OS/2, and DirectFB.
Cairo is designed to produce consistent output on all output media while taking
advantage of display hardware acceleration when available (eg. through the X
Render Extension).
The cairo API provides operations similar to the drawing operators of
PostScript and PDF. Operations in cairo including stroking and filling cubic
Bézier splines, transforming and compositing translucent images, and
antialiased text rendering. All drawing operations can be transformed by any
affine transformation (scale, rotation, shear, etc.)
Cairo is implemented as a library written in the C programming language, but
bindings are available for several different programming languages.
+58
View File
@@ -0,0 +1,58 @@
# $NetBSD: Makefile,v 1.26 2013/06/04 22:16:14 tron Exp $
DISTNAME= cairo-1.12.14
PKGNAME= ${DISTNAME:S/-/-gobject-/}
PKGREVISION= 4
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
.include "options.mk"
# 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"
+4
View File
@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2011/02/12 13:40:53 drochner Exp $
include/cairo/cairo-gobject.h
lib/libcairo-gobject.la
lib/pkgconfig/cairo-gobject.pc
+21
View File
@@ -0,0 +1,21 @@
# $NetBSD: buildlink3.mk,v 1.12 2013/06/04 22:16:14 tron Exp $
BUILDLINK_TREE+= cairo-gobject
.if !defined(CAIRO_GOBJECT_BUILDLINK3_MK)
CAIRO_GOBJECT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.cairo-gobject+= cairo-gobject>=1.10.2
BUILDLINK_ABI_DEPENDS.cairo-gobject+= cairo-gobject>=1.12.14nb4
BUILDLINK_PKGSRCDIR.cairo-gobject?= ../../graphics/cairo-gobject
.include "../../graphics/cairo/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.endif # CAIRO_GOBJECT_BUILDLINK3_MK
BUILDLINK_TREE+= -cairo-gobject
+26
View File
@@ -0,0 +1,26 @@
# $NetBSD: options.mk,v 1.1 2013/05/05 13:44:23 spz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cairo-gobject
PKG_SUPPORTED_OPTIONS= x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11
###
### decide between Quartz, GL or nothing
###
.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
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --enable-gl
.endif
.endif