1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 VALA_USE_DEPEND="vapigen"
7 inherit gnome.org meson vala xdg
9 DESCRIPTION="Clutter based world map renderer"
10 HOMEPAGE="https://wiki.gnome.org/Projects/libchamplain"
14 KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
16 IUSE="+gtk gtk-doc +introspection vala"
18 vala? ( introspection )
20 " # gtk-doc build gets disabled in meson if gtk widgetry is disabled (no separate libchamplain-gtk gtk-docs anymore)
23 >=dev-libs/glib-2.38:2
25 >=media-libs/clutter-1.24:1.0[introspection?]
27 x11-libs/gtk+:3[introspection?]
28 media-libs/clutter-gtk:1.0 )
31 >=net-libs/libsoup-2.42:2.4
32 introspection? ( >=dev-libs/gobject-introspection-1.54:= )
38 >=dev-util/meson-0.49.0
40 gtk-doc? ( >=dev-util/gtk-doc-1.15 )
41 vala? ( $(vala_depend) )
46 use vala && vala_src_prepare
51 -Dmemphis=false # TODO: What's the state of this vector renderer?
52 $(meson_use introspection)
53 $(meson_use vala vapi)
54 $(meson_use gtk widgetry)
55 $(meson_use gtk-doc gtk_doc)
56 -Ddemos=false # only built, not installed