summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2006-06-03 16:30:38 +0000
committerDoug Goldstein <cardoe@gentoo.org>2006-06-03 16:30:38 +0000
commit5ee29d52533fe752af9676ce6da0cc228a5f7147 (patch)
tree4f79fa1cf2aba7dd275b2a3c3cbd05643f2ab0ae
parentVersion bump. Fixes a small memory leak. (diff)
downloadgentoo-2-5ee29d52533fe752af9676ce6da0cc228a5f7147.tar.gz
gentoo-2-5ee29d52533fe752af9676ce6da0cc228a5f7147.tar.bz2
gentoo-2-5ee29d52533fe752af9676ce6da0cc228a5f7147.zip
Adding support for new stable backends
(Portage version: 2.1_rc4)
-rw-r--r--x11-libs/cairo/ChangeLog7
-rw-r--r--x11-libs/cairo/cairo-1.1.6-r1.ebuild65
-rw-r--r--x11-libs/cairo/files/digest-cairo-1.1.6-r13
-rw-r--r--x11-libs/cairo/metadata.xml4
4 files changed, 77 insertions, 2 deletions
diff --git a/x11-libs/cairo/ChangeLog b/x11-libs/cairo/ChangeLog
index b9424bae5f86..0c26cb1b1d5e 100644
--- a/x11-libs/cairo/ChangeLog
+++ b/x11-libs/cairo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/cairo
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.69 2006/05/20 20:08:16 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.70 2006/06/03 16:30:38 cardoe Exp $
+
+*cairo-1.1.6-r1 (03 Jun 2006)
+
+ 03 Jun 2006; Doug Goldstein <cardoe@gentoo.org> +cairo-1.1.6-r1.ebuild:
+ Add support for the new stable backends
20 May 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+files/cairo-1.1.6-poppler-revert.patch, cairo-1.1.6.ebuild:
diff --git a/x11-libs/cairo/cairo-1.1.6-r1.ebuild b/x11-libs/cairo/cairo-1.1.6-r1.ebuild
new file mode 100644
index 000000000000..1e302c4a09c0
--- /dev/null
+++ b/x11-libs/cairo/cairo-1.1.6-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.1.6-r1.ebuild,v 1.1 2006/06/03 16:30:38 cardoe Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="A vector graphics library with cross-device output support"
+HOMEPAGE="http://cairographics.org/"
+SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc glitz pdf png svg X"
+
+RDEPEND="media-libs/fontconfig
+ >=media-libs/freetype-2.1.4
+ X? ( || (
+ ( x11-libs/libXrender
+ x11-libs/libXext
+ x11-libs/libX11 )
+ virtual/x11
+ )
+ virtual/xft
+ )
+ glitz? ( >=media-libs/glitz-0.5.1 )
+ png? ( media-libs/libpng )
+ pdf? ( >=app-text/poppler-bindings-0.4.1
+ x11-libs/pango
+ >=x11-libs/gtk+-2 )
+ svg? ( dev-libs/libxml2 )
+ !<x11-libs/cairo-0.2"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ X? ( || ( x11-proto/renderproto virtual/x11 ) )
+ doc? ( >=dev-util/gtk-doc-1.3
+ ~app-text/docbook-xml-dtd-4.2 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # No non-cvs version of poppler has poppler_page_render
+ epatch "${FILESDIR}"/${P}-poppler-revert.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_enable X xlib) \
+ $(use_enable png) \
+ $(use_enable svg) \
+ $(use_enable pdf) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable glitz) \
+ --enable-freetype
+ --enable-ps || die "./configure failed"
+
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "Installation failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/x11-libs/cairo/files/digest-cairo-1.1.6-r1 b/x11-libs/cairo/files/digest-cairo-1.1.6-r1
new file mode 100644
index 000000000000..8756b164fc9e
--- /dev/null
+++ b/x11-libs/cairo/files/digest-cairo-1.1.6-r1
@@ -0,0 +1,3 @@
+MD5 82820b5a7d0135d0393b20caaea5687e cairo-1.1.6.tar.gz 1771669
+RMD160 e5144fb7af5f46f43b8fd077017a7dfe274d6d27 cairo-1.1.6.tar.gz 1771669
+SHA256 a9bea56356583d16c10991d6837f77f57810fb01d2345a98e0a40de38f8a106b cairo-1.1.6.tar.gz 1771669
diff --git a/x11-libs/cairo/metadata.xml b/x11-libs/cairo/metadata.xml
index c42eb384d799..aed9dfd3fe5a 100644
--- a/x11-libs/cairo/metadata.xml
+++ b/x11-libs/cairo/metadata.xml
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>gnome</herd>
<maintainer>
<email>cardoe@gentoo.org</email>
<name>Doug Goldstein</name>
</maintainer>
+<maintainer>
+ <email>compnerd@gentoo.org</email>
+</maintainer>
</pkgmetadata>