commit:     03459b2f41419dab044c5b177e78f578239a5fb7
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 17:00:37 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 17:00:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03459b2f

dev-ml/cairo2: add 0.6.5

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/cairo2/Manifest            |  1 +
 dev-ml/cairo2/cairo2-0.6.5.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-ml/cairo2/Manifest b/dev-ml/cairo2/Manifest
index d08cce4eecdc..e63d7aad8dce 100644
--- a/dev-ml/cairo2/Manifest
+++ b/dev-ml/cairo2/Manifest
@@ -1 +1,2 @@
 DIST cairo2-0.6.4.tbz 90735 BLAKE2B 
d0e6617a1de99050553ebbb0ea9fa1567051923378b164f8ff073700cbda7275a7c5dc97ed74d9f891b18fe4a051b8da81450da4946364ea7c6e53ec10cc8ba0
 SHA512 
2fd755b32253a4c441146fb41d13bf7ad4ce3828bc479ece296fb58350e20c7349c22457ad99fa080407b5150ce337a753221043f18b7b641f4c5bc98e37e799
+DIST cairo2-0.6.5.tbz 90746 BLAKE2B 
bbabef5ab1dc455306f85351519c1f7a9a92df994ef02c151566b2698f507e603195e05fd5c3cba4a42590cfada062d78f0b10cc7c94779b073b95f842374a81
 SHA512 
9c13aaf0c716ac2fdec90d6dcb90a654c051cb9aa896e9333b819e68669efbf3ee7bb147882d45dd5b86db3fd868158bce46f46c5c8960f9add523d64342f704

diff --git a/dev-ml/cairo2/cairo2-0.6.5.ebuild 
b/dev-ml/cairo2/cairo2-0.6.5.ebuild
new file mode 100644
index 000000000000..6f95c8db41f0
--- /dev/null
+++ b/dev-ml/cairo2/cairo2-0.6.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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:=[svg(+)]
+       dev-ml/dune-configurator:=
+"
+RDEPEND="${DEPEND}"
+
+# >>> 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
+)

Reply via email to