blob: ffc9b7d517bdc0c3676a8bf4a9e88f982fe278a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic virtualx multilib-minimal
DESCRIPTION="A set of symbols and convience functions that all indicators would like to use"
HOMEPAGE="https://launchpad.net/libindicator"
SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="3"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.22[${MULTILIB_USEDEP}]
>=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
virtual/pkgconfig
test? ( dev-util/dbus-test-runner )"
PATCHES=(
# Fixed version of https://bugs.launchpad.net/libindicator/+bug/1502925
"${FILESDIR}"/${PN}-12.10.1-nonbash.patch
"${FILESDIR}"/${PN}-12.10.1-no-werror.patch
)
src_prepare() {
default
eautoreconf
}
multilib_src_configure() {
append-flags -Wno-error
local myconf=(
--disable-static
--with-gtk=3
)
ECONF_SOURCE="${S}" econf "${myconf[@]}"
}
multilib_src_test() {
# bug #391179
virtx emake
}
multilib_src_install() {
emake -j1 DESTDIR="${D}" install
}
multilib_src_install_all() {
default
find "${ED}" -name '*.la' -delete || die
}
|