Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/cairo-ocaml/
Date: Sun, 26 Aug 2018 09:39:48
Message-Id: 1535274558.02c5b0008fb6a2678b2d149ad049c47f43849504.mgorny@gentoo
1 commit: 02c5b0008fb6a2678b2d149ad049c47f43849504
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 26 09:09:18 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 26 09:09:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c5b000
7
8 dev-ml/cairo-ocaml: Remove support for non-existent deps
9
10 dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild | 16 +++-------------
11 1 file changed, 3 insertions(+), 13 deletions(-)
12
13 diff --git a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
14 index 5a13b6957e1..c9c07c18371 100644
15 --- a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
16 +++ b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
17 @@ -12,13 +12,12 @@ SRC_URI="https://cgit.freedesktop.org/cairo-ocaml/snapshot/${P}.tar.bz2"
18 LICENSE="LGPL-2.1"
19 SLOT="0/${PV}"
20 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
21 -IUSE="doc examples gtk pango svg"
22 +IUSE="doc examples gtk pango"
23
24 RDEPEND="dev-lang/ocaml:=
25 x11-libs/cairo
26 gtk? ( dev-ml/lablgtk:2= )
27 - pango? ( x11-libs/pango )
28 - svg? ( x11-libs/libsvg-cairo )"
29 + pango? ( x11-libs/pango )"
30 DEPEND="${RDEPEND}"
31
32 src_prepare() {
33 @@ -35,7 +34,7 @@ src_configure() {
34 econf \
35 $(use_with gtk) \
36 $(use_with pango pango-cairo) \
37 - $(use_with svg svg-cairo)
38 + --without-svg-cairo
39 }
40
41 src_compile() {
42 @@ -77,15 +76,6 @@ src_install() {
43 )
44 EOF
45 fi
46 - if use svg; then
47 - cat <<-EOF >> META
48 - package "svg" (
49 - requires = "cairo"
50 - archive(byte) = "svg_cairo.cma"
51 - archive(native) = "svg_cairo.cmxa"
52 - )
53 - EOF
54 - fi
55 insinto /usr/$(get_libdir)/ocaml/cairo
56 doins META
57 }