1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 VALA_MIN_API_VERSION="0.16"
7 VALA_USE_DEPEND="vapigen"
9 inherit autotools eutils flag-o-matic vala
11 DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize"
12 HOMEPAGE="https://launchpad.net/libindicate"
13 SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
15 LICENSE="LGPL-2.1 LGPL-3"
17 KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ~ppc64 ~sparc ~x86"
18 IUSE="gtk +introspection"
20 RESTRICT="test" # consequence of the -no-mono.patch
22 RDEPEND=">=dev-libs/dbus-glib-0.100
24 >=dev-libs/libdbusmenu-0.6.2[introspection?]
27 dev-libs/libdbusmenu[gtk3]
30 introspection? ( >=dev-libs/gobject-introspection-1 )
31 !<${CATEGORY}/${PN}-0.6.1-r201"
32 EAUTORECONF_DEPEND="dev-util/gtk-doc-am
33 gnome-base/gnome-common"
37 app-text/gnome-doc-utils
43 epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch
46 -e "s:vapigen:vapigen-$(vala_best_api_version):" \
47 -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
54 append-flags -Wno-error
56 # python bindings are only for GTK+-2.x
58 --disable-silent-rules \
61 $(use_enable introspection) \
63 --disable-scrollkeeper \
68 # work around failing parallel installation (-j1)
69 # until a better fix is available. (bug #469032)
70 emake -j1 DESTDIR="${D}" install
71 dodoc AUTHORS ChangeLog NEWS