commit:     e65ddf25649466583586ce1b3302ce4c0a5974cf
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 17 14:48:23 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Dec 17 14:50:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e65ddf25

dev-ml/cairo-ocaml: drop old

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild | 81 -----------------------------
 1 file changed, 81 deletions(-)

diff --git a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild 
b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
deleted file mode 100644
index c9c07c18371..00000000000
--- a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils findlib autotools
-
-DESCRIPTION="Ocaml bindings for the cairo vector graphics library"
-HOMEPAGE="https://www.cairographics.org/cairo-ocaml/";
-SRC_URI="https://cgit.freedesktop.org/cairo-ocaml/snapshot/${P}.tar.bz2";
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples gtk pango"
-
-RDEPEND="dev-lang/ocaml:=
-       x11-libs/cairo
-       gtk? ( dev-ml/lablgtk:2= )
-       pango? ( x11-libs/pango )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-       # 3 patches from debian and one for automagic on libsvg-cairo
-       epatch \
-               
"${FILESDIR}"/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch \
-               
"${FILESDIR}"/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch \
-               "${FILESDIR}"/0003-Fix-FTBFS-on-bytecode-architectures.patch \
-               "${FILESDIR}"/0004-no-automagic.patch
-       AT_M4DIR=support eautoreconf
-}
-
-src_configure() {
-       econf \
-               $(use_with gtk) \
-               $(use_with pango pango-cairo) \
-               --without-svg-cairo
-}
-
-src_compile() {
-       emake -j1
-       use doc && emake doc
-}
-
-src_install() {
-       findlib_src_install
-       dodoc README ChangeLog
-       if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins test/*.ml
-       fi
-       # ocamlfind support
-       cat <<-EOF > META
-               name = "${PN}"
-               description = "${DESCRIPTION}"
-               requires = "bigarray"
-               version = "${PV}"
-               archive(byte) = "cairo.cma"
-               archive(native) = "cairo.cmxa"
-       EOF
-       if use gtk; then
-               cat <<-EOF >> META
-                       package "lablgtk2" (
-                               requires = "cairo lablgtk2"
-                               archive(byte) = "cairo_lablgtk.cma"
-                               archive(native) = "cairo_lablgtk.cmxa"
-                       )
-               EOF
-       fi
-       if use pango; then
-               cat <<-EOF >> META
-                       package "pango" (
-                               requires = "cairo"
-                               archive(byte) = "pango_cairo.cma"
-                               archive(native) = "pango_cairo.cmxa"
-                       )
-               EOF
-       fi
-       insinto /usr/$(get_libdir)/ocaml/cairo
-       doins META
-}

Reply via email to