1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils flag-o-matic virtualx multilib-minimal
7 DESCRIPTION="A set of symbols and convience functions that all indicators would like to use"
8 HOMEPAGE="https://launchpad.net/libindicator"
9 SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
13 KEYWORDS="amd64 ~arm x86"
15 RESTRICT="!test? ( test )"
17 RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}]
18 >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]"
21 virtual/pkgconfig[${MULTILIB_USEDEP}]
22 test? ( dev-util/dbus-test-runner )"
25 epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch
29 multilib_src_configure() {
30 append-flags -Wno-error
33 --disable-silent-rules
37 local ECONF_SOURCE=${S}
45 multilib_src_install() {
46 emake -j1 DESTDIR="${D}" install
49 multilib_src_install_all() {
51 prune_libtool_files --all
54 "${ED}"/usr/lib*/libdummy-indicator-* \
55 "${ED}"/usr/share/${PN}/*indicator-debugging