Updated cairo to 1.10.0, still broken though. Further patches welcome.

This commit is contained in:
Scott McCreary
2010-10-18 23:06:26 +00:00
parent 30da9eabc2
commit ad8993bf1a
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
DESCRIPTION="Cairo is a 2D graphics library with support for multiple output devices."
HOMEPAGE="http://cairographics.org"
SRC_URI="http://cairographics.org/releases/cairo-1.10.0.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND="freetype >= 2.3.11
fontconfig >= 2.8.0
pixman >= 0.18.4"
CHECKSUM_MD5="70a2ece66cf473d976e2db0f75bf199e"
BUILD {
cd cairo-1.10.0
libtoolize --force --copy --install
aclocal -I build
autoconf
automake
./configure --prefix=/boot/common --enable-beos
make
}
INSTALL {
cd cairo-1.10.0
make install
}
LICENSE="GNU LGPL v2.1
MPL v1.1"
COPYRIGHT="2000, 2002, 2004-2007 Keith Packard
2002-2003 University of Southern California
2004-2010 Red Hat, Inc.
2005-2010 Mozilla Corporation
2006-2009 Adrian Johnson
2007-2009 Chris Wilson
2009-2010 Intel Corporation
2002-2010 many others"

View File

@@ -0,0 +1,15 @@
diff -urN cairo-1.10.0/configure.ac cairo-1.10.0-haiku/configure.ac
--- cairo-1.10.0/configure.ac 2010-02-19 18:38:03.064487424 +0000
+++ cairo-1.10.0-haiku/configure.ac 2010-06-19 08:32:47.591134720 +0000
@@ -148,6 +148,11 @@
AC_CHECK_LIB(be,main,beos_LIBS="$beos_LIBS -lbe")
AC_CHECK_LIB(zeta,main,beos_LIBS="$beos_LIBS -lzeta")
;;
+ *-*-haiku)
+ beos_LIBS=""
+ AC_CHECK_LIB(be,main,beos_LIBS="$beos_LIBS -lbe")
+ AC_CHECK_LIB(network,main,beos_LIBS="$beos_LIBS -lnetwork")
+ ;;
*)
use_beos="no (requires a BeOS platform)"
;;