diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-ml/cairo2/cairo2-0.6.1.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-ml/cairo2/cairo2-0.6.1.ebuild')
-rw-r--r-- | dev-ml/cairo2/cairo2-0.6.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-ml/cairo2/cairo2-0.6.1.ebuild b/dev-ml/cairo2/cairo2-0.6.1.ebuild new file mode 100644 index 000000000000..3ad21d694225 --- /dev/null +++ b/dev-ml/cairo2/cairo2-0.6.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Binding to Cairo, a 2D Vector Graphics Library" +HOMEPAGE="https://github.com/Chris00/ocaml-cairo" +SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/${PV}/cairo2-${PV}.tbz" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="+ocamlopt" + +DEPEND=" + x11-libs/cairo:= + dev-ml/dune-configurator:= +" +RDEPEND="${DEPEND} + !dev-ml/ocaml-cairo +" +BDEPEND="" + +# >>> Test phase: dev-ml/cairo2-0.6.1 +# image_create alias tests/runtest (got signal SEGV) +# (cd _build/default/tests && ./image_create.exe) +# DESTROY bigarray 'data' +# Done: 70/72 (jobs: 1) * ERROR: dev-ml/cairo2-0.6.1::x-portage failed (test phase): +RESTRICT=test + +# Remove lablgtk2 dep https://github.com/Chris00/ocaml-cairo/issues/21 +# Fix compiler warnings, from: https://github.com/Chris00/ocaml-cairo/pull/22 +PATCHES=( + "${FILESDIR}"/${PN}-0.6.1-ignore-gtk-and-pango.patch + "${FILESDIR}"/${PN}-0.6.1-handle-safe-string.patch + "${FILESDIR}"/${PN}-0.6.1-Fix-multiple-definitions-of-variables.patch +) |