diff options
author | Mark Wright <gienah@gentoo.org> | 2014-05-20 13:29:01 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2014-05-20 13:29:01 +0000 |
commit | eab474c4e096dc2746cfc288380b10f574731a06 (patch) | |
tree | 5d57f74c34bf3b1f6b61de431f72768d88f70651 /dev-haskell/cairo | |
parent | Bump gtk2hs-buildtools to 0.12.5.2-r1 (diff) | |
download | gentoo-2-eab474c4e096dc2746cfc288380b10f574731a06.tar.gz gentoo-2-eab474c4e096dc2746cfc288380b10f574731a06.tar.bz2 gentoo-2-eab474c4e096dc2746cfc288380b10f574731a06.zip |
Bump cairo to 0.12.5.3
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/cairo')
-rw-r--r-- | dev-haskell/cairo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.5.3.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-haskell/cairo/ChangeLog b/dev-haskell/cairo/ChangeLog index 6cba84cc9861..a3c7014e2c2e 100644 --- a/dev-haskell/cairo/ChangeLog +++ b/dev-haskell/cairo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/cairo # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cairo/ChangeLog,v 1.23 2014/02/02 11:13:48 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cairo/ChangeLog,v 1.24 2014/05/20 13:29:01 gienah Exp $ + +*cairo-0.12.5.3 (20 May 2014) + + 20 May 2014; Mark Wright <gienah@gentoo.org> +cairo-0.12.5.3.ebuild: + Bump cairo to 0.12.5.3 02 Feb 2014; Agostino Sarubbo <ago@gentoo.org> cairo-0.12.4-r1.ebuild: Stable for sparc, wrt bug #488808 diff --git a/dev-haskell/cairo/cairo-0.12.5.3.ebuild b/dev-haskell/cairo/cairo-0.12.5.3.ebuild new file mode 100644 index 000000000000..6b8fe66952e6 --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.5.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cairo/cairo-0.12.5.3.ebuild,v 1.1 2014/05/20 13:29:01 gienah Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.3.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Binding to the Cairo library." +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+pdf +postscript +svg" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?] + >=dev-lang/ghc-6.10.4:= + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + >=dev-haskell/gtk2hs-buildtools-0.12.5.1-r1:0= + virtual/pkgconfig +" + +src_prepare() { + sed -e "s@#include<cairo-features.h>@#define $(usex amd64 __x86_64__ __i386__)\n#include<cairo-features.h>@" \ + -i "${S}"/Graphics/Rendering/Cairo.hs \ + || die "Could not define ABI in Graphics/Rendering/Cairo.hs" +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag pdf cairo_pdf) \ + $(cabal_flag postscript cairo_ps) \ + $(cabal_flag svg cairo_svg) +} |