summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/cairo')
-rw-r--r--dev-haskell/cairo/Manifest5
-rw-r--r--dev-haskell/cairo/cairo-0.12.5.3.ebuild40
-rw-r--r--dev-haskell/cairo/cairo-0.13.1.1.ebuild38
-rw-r--r--dev-haskell/cairo/cairo-0.13.10.0.ebuild39
-rw-r--r--dev-haskell/cairo/cairo-0.13.3.1.ebuild38
-rw-r--r--dev-haskell/cairo/cairo-0.13.6.1.ebuild38
-rw-r--r--dev-haskell/cairo/metadata.xml14
7 files changed, 48 insertions, 164 deletions
diff --git a/dev-haskell/cairo/Manifest b/dev-haskell/cairo/Manifest
index 6e1381383673..14b05702e273 100644
--- a/dev-haskell/cairo/Manifest
+++ b/dev-haskell/cairo/Manifest
@@ -1,4 +1 @@
-DIST cairo-0.12.5.3.tar.gz 53447 BLAKE2B c8087afedec5992f475e5d2d53baf77d315594df22a1e9c487143567604b0a35d0d374138066640e612f63eecf383bb30242e39a3b39d1c65c69f37d0f6406e8 SHA512 1dca628c4052df667130590d963f3b26e1c7df958654dbc18cb76cc471ee60b19fa3fc65a3b9042990943cc95a4af05d8993d853e859f03e457a8a6963113433
-DIST cairo-0.13.1.1.tar.gz 54029 BLAKE2B 055843b909ac6c48ea041e90a7502ca63eae438bd588e6ff07bf507593691222c692beefd0fc75fcde5cd1ae19ab289b61453c87482965a7c2431ac75bfc2387 SHA512 bf621799f2615e93f0151282772fc01f370060e3454810aa3e205eab16804637acbaded0c1feb6f45adbf75384ccade9b11b5ea70cb79397e7815c59ca570e29
-DIST cairo-0.13.3.1.tar.gz 45033 BLAKE2B 528e457d0e631497052431a65f8f712ae2e292ffe1422447b45cd2448a508bc306968a1e609d5f52a4a6293e7efed16b5f55654e56708b2e51b348cdd3ea3b78 SHA512 5878f90e4cfd69452b1819d27c9ae85205c2b75f831b7bedb05d5b8e4964ec90ec16c3611218c3a794d5ae54ccae5a592102b95326be348c59ab14239b60f33b
-DIST cairo-0.13.6.1.tar.gz 53029 BLAKE2B 8363b436271bc1666116819d9ac39297e3a8c61e18ef7758e188e194a1a51fd8a335d61707cecc5f5d240fcf1f4c71add7be945ec8686e80b36de97c88ecfda6 SHA512 e268d27298c2b274eb12555ff67e4abb175a1269ed3087b9a5cf1a128252d8d390e3ef393e76f27b857558451fb0a137f4f44e095053a9ca20159a332b8878ef
+DIST cairo-0.13.10.0.tar.gz 53346 BLAKE2B dd6d4d6b4fcfe0212823bbfc01d1edef7cb0a6e776c74d85419c91d6f48757ce1d9f36855c54fa88a4eb448de3c70a9b22bec99647e5e49988770249f14a950a SHA512 86465f37999144a8330b2921eb7233a6a1e5258ac9debe4c70c515ccc183ed6cc04dca3a3ca91978e0d3d2871e4a601253e147fd5b3e76f4839a37cbf9deabfa
diff --git a/dev-haskell/cairo/cairo-0.12.5.3.ebuild b/dev-haskell/cairo/cairo-0.12.5.3.ebuild
deleted file mode 100644
index aa2419fcb531..000000000000
--- a/dev-haskell/cairo/cairo-0.12.5.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~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)
-}
diff --git a/dev-haskell/cairo/cairo-0.13.1.1.ebuild b/dev-haskell/cairo/cairo-0.13.1.1.ebuild
deleted file mode 100644
index 74f3df30f8b8..000000000000
--- a/dev-haskell/cairo/cairo-0.13.1.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ebuild generated by hackport 0.4.6.9999
-#hackport: flags: cairo_ps:postscript,cairo_pdf:pdf,cairo_svg:svg
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="Binding to the Cairo library"
-HOMEPAGE="http://projects.haskell.org/gtk2hs/"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="+pdf +postscript +svg"
-
-RDEPEND="dev-haskell/mtl:=[profile?]
- >=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
- >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
- >=dev-lang/ghc-7.4.1:=
- x11-libs/cairo
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.18
- dev-haskell/gtk2hs-buildtools
- virtual/pkgconfig
-"
-
-src_configure() {
- haskell-cabal_src_configure \
- $(cabal_flag pdf cairo_pdf) \
- $(cabal_flag postscript cairo_ps) \
- $(cabal_flag svg cairo_svg)
-}
diff --git a/dev-haskell/cairo/cairo-0.13.10.0.ebuild b/dev-haskell/cairo/cairo-0.13.10.0.ebuild
new file mode 100644
index 000000000000..84caaa8cda97
--- /dev/null
+++ b/dev-haskell/cairo/cairo-0.13.10.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.2.0.9999
+#hackport: flags: +cairo_pdf,+cairo_ps,cairo_svg:svg
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the Cairo library"
+HOMEPAGE="https://projects.haskell.org/gtk2hs/"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+svg"
+
+RDEPEND=">=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-2.1:=[profile?]
+ >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-lang/ghc-8.8.1:=
+ x11-libs/cairo
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0 <dev-haskell/cabal-3.11
+"
+BDEPEND=">=dev-haskell/gtk2hs-buildtools-0.13.2.0 <dev-haskell/gtk2hs-buildtools-0.14
+ virtual/pkgconfig
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=cairo_pdf \
+ --flag=cairo_ps \
+ $(cabal_flag svg cairo_svg)
+}
+
+GHC_BOOTSTRAP_PACKAGES=( gtk2hs-buildtools )
diff --git a/dev-haskell/cairo/cairo-0.13.3.1.ebuild b/dev-haskell/cairo/cairo-0.13.3.1.ebuild
deleted file mode 100644
index 23e5e429845f..000000000000
--- a/dev-haskell/cairo/cairo-0.13.3.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# ebuild generated by hackport 0.5.9999
-#hackport: flags: cairo_ps:postscript,cairo_pdf:pdf,cairo_svg:svg
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="Binding to the Cairo library"
-HOMEPAGE="http://projects.haskell.org/gtk2hs/"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="+pdf +postscript +svg"
-
-RDEPEND="dev-haskell/mtl:=[profile?]
- >=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
- >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
- >=dev-lang/ghc-7.4.1:=
- x11-libs/cairo
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.24
- dev-haskell/gtk2hs-buildtools
- virtual/pkgconfig
-"
-
-src_configure() {
- haskell-cabal_src_configure \
- $(cabal_flag pdf cairo_pdf) \
- $(cabal_flag postscript cairo_ps) \
- $(cabal_flag svg cairo_svg)
-}
diff --git a/dev-haskell/cairo/cairo-0.13.6.1.ebuild b/dev-haskell/cairo/cairo-0.13.6.1.ebuild
deleted file mode 100644
index 42eff6558c01..000000000000
--- a/dev-haskell/cairo/cairo-0.13.6.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ebuild generated by hackport 0.6.1
-#hackport: flags: cairo_ps:postscript,cairo_pdf:pdf,cairo_svg:svg
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="Binding to the Cairo library"
-HOMEPAGE="http://projects.haskell.org/gtk2hs/"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="+pdf +postscript +svg"
-
-RDEPEND="dev-haskell/mtl:=[profile?]
- >=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
- >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
- >=dev-lang/ghc-7.10.1:=
- x11-libs/cairo
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.24 <dev-haskell/cabal-3.1
- >=dev-haskell/gtk2hs-buildtools-0.13.2.0 <dev-haskell/gtk2hs-buildtools-0.14
- virtual/pkgconfig
-"
-
-src_configure() {
- haskell-cabal_src_configure \
- $(cabal_flag pdf cairo_pdf) \
- $(cabal_flag postscript cairo_ps) \
- $(cabal_flag svg cairo_svg)
-}
diff --git a/dev-haskell/cairo/metadata.xml b/dev-haskell/cairo/metadata.xml
index 77b5ad73a8af..3778b9cd1ba8 100644
--- a/dev-haskell/cairo/metadata.xml
+++ b/dev-haskell/cairo/metadata.xml
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- Cairo is a library to render high quality vector graphics. There
- exist various backends that allows rendering to Gtk windows, PDF,
- PS, PNG and SVG documents, amongst others.
- </longdescription>
+ <use>
+ <flag name="svg">Build the Scalable Vector Graphics (SVG) backend of Cairo.</flag>
+ </use>
+ <upstream>
+ <remote-id type="hackage">cairo</remote-id>
+ <remote-id type="github">gtk2hs/gtk2hs</remote-id>
+ </upstream>
</pkgmetadata>