summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-26 11:09:18 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-26 11:09:18 +0200
commit02c5b0008fb6a2678b2d149ad049c47f43849504 (patch)
treef28a9d22cdcbab83c9c13af20066a1c9b7b63389 /dev-ml/cairo-ocaml
parentdev-libs/xapian-bindings: Remove support for non-existent deps (diff)
downloadgentoo-02c5b0008fb6a2678b2d149ad049c47f43849504.tar.gz
gentoo-02c5b0008fb6a2678b2d149ad049c47f43849504.tar.bz2
gentoo-02c5b0008fb6a2678b2d149ad049c47f43849504.zip
dev-ml/cairo-ocaml: Remove support for non-existent deps
Diffstat (limited to 'dev-ml/cairo-ocaml')
-rw-r--r--dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild16
1 files changed, 3 insertions, 13 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
index 5a13b6957e17..c9c07c183718 100644
--- a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
+++ b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
@@ -12,13 +12,12 @@ 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 svg"
+IUSE="doc examples gtk pango"
RDEPEND="dev-lang/ocaml:=
x11-libs/cairo
gtk? ( dev-ml/lablgtk:2= )
- pango? ( x11-libs/pango )
- svg? ( x11-libs/libsvg-cairo )"
+ pango? ( x11-libs/pango )"
DEPEND="${RDEPEND}"
src_prepare() {
@@ -35,7 +34,7 @@ src_configure() {
econf \
$(use_with gtk) \
$(use_with pango pango-cairo) \
- $(use_with svg svg-cairo)
+ --without-svg-cairo
}
src_compile() {
@@ -77,15 +76,6 @@ src_install() {
)
EOF
fi
- if use svg; then
- cat <<-EOF >> META
- package "svg" (
- requires = "cairo"
- archive(byte) = "svg_cairo.cma"
- archive(native) = "svg_cairo.cmxa"
- )
- EOF
- fi
insinto /usr/$(get_libdir)/ocaml/cairo
doins META
}