cygport file attached. I bumped the release number and added one new
Fedora patch, but that probably doesn't warrant a new release. But if
anyone disagrees, I'll go ahead with a new release.
Ken
inherit gnome2
NAME="cairo"
VERSION=1.16.0
RELEASE=2
CATEGORY="Libs"
SUMMARY="Cross-device vector graphics library"
DESCRIPTION="Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window System
(via both Xlib and XCB), quartz, win32, and image buffers, as well as PDF,
PostScript, and SVG file output."
HOMEPAGE="http://cairographics.org/"
SRC_URI="http://cairographics.org/releases/cairo-${VERSION}.tar.xz"
PATCH_URI="
https://src.fedoraproject.org/rpms/cairo/raw/master/f/0001-Set-default-LCD-filter-to-FreeType-s-default.patch
https://src.fedoraproject.org/rpms/cairo/raw/master/f/0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch
https://src.fedoraproject.org/rpms/cairo/raw/master/f/cairo-composite_color_glyphs.patch
https://src.fedoraproject.org/rpms/cairo/raw/master/f/0001-cff-Allow-empty-array-of-operands-for-certain-operat.patch
1.12.14-cairo-gobject-lto.patch
"
DISTCLEANFILES="src/cairo-features.h"
BUILD_REQUIRES="gnome-common
libXrender-devel
libX11-devel \
libfontconfig-devel \
libfreetype-devel \
libglib2.0-devel \
libpixman1-devel \
libpng-devel \
librsvg2-devel"
# gl: unmaintained, unused, heavy deps
CYGCONF_ARGS="
--disable-directfb
--enable-fc
--enable-ft
--disable-gl
--enable-gobject
--enable-interpreter
--enable-png
--enable-pdf
--enable-ps
--enable-pthread
--disable-quartz
--enable-script
--enable-svg
--disable-win32
--enable-xcb
--enable-xcb-shm
--enable-xlib
--enable-xlib-xrender
"
DOCS="COPYING-LGPL-2.1 COPYING-MPL-1.1"
PKG_NAMES="lib${NAME}2 lib${NAME}-devel lib${NAME}-doc"
libcairo2_CONTENTS="usr/bin/*-2.dll usr/share/doc/"
libcairo_devel_CONTENTS="usr/include/ usr/lib/"
libcairo_doc_CATEGORY="Doc"
libcairo_doc_CONTENTS="usr/share/gtk-doc/"