1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 VALA_MIN_API_VERSION="0.24"
6 VALA_USE_DEPEND="vapigen"
8 inherit gnome2 vala virtualx
10 DESCRIPTION="A text widget implementing syntax highlighting and other features"
11 HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView"
13 LICENSE="GPL-2+ LGPL-2.1+"
16 IUSE="glade +introspection vala"
17 REQUIRED_USE="vala? ( introspection )"
19 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
22 >=dev-libs/glib-2.48:2
23 >=dev-libs/libxml2-2.6:2
24 >=x11-libs/gtk+-3.20:3[introspection?]
25 glade? ( >=dev-util/glade-3.9:3.10 )
26 introspection? ( >=dev-libs/gobject-introspection-1.42:= )
29 >=dev-util/gtk-doc-am-1.25
30 >=sys-devel/gettext-0.19.4
33 vala? ( $(vala_depend) )
37 use vala && vala_src_prepare
42 gnome2_src_configure \
43 --disable-deprecations \
44 $(use_enable glade glade-catalog) \
45 $(use_enable introspection) \
56 insinto /usr/share/${PN}-3.0/language-specs
57 doins "${FILESDIR}"/2.0/gentoo.lang