blob: 402095c98b90cf7f83aa9d573e0ed273b3eb327e (
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
65
66
67
68
69
70
71
72
73
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit gnome2 python-any-r1 virtualx
DESCRIPTION="Gnome install & update software"
HOMEPAGE="http://wiki.gnome.org/Apps/Software"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=app-admin/packagekit-base-1.1.0
app-crypt/libsecret
app-text/gtkspell:3
dev-db/sqlite:3
>=dev-libs/appstream-glib-0.5.12:0
>=dev-libs/glib-2.46:2
>=dev-libs/json-glib-1.1.1
>=gnome-base/gnome-desktop-3.17.92:3=
>=gnome-base/gsettings-desktop-schemas-3.11.5
>=net-libs/libsoup-2.51.92:2.4
sys-auth/polkit
>=x11-libs/gdk-pixbuf-2.31.5
>=x11-libs/gtk+-3.18.2:3
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.2
dev-libs/libxslt
>=dev-util/intltool-0.35
virtual/pkgconfig
test? (
${PYTHON_DEPS}
$(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') )
"
# test? ( dev-util/valgrind )
python_check_deps() {
use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]"
}
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_prepare() {
# valgrind fails with SIGTRAP
sed -e 's/TESTS = .*/TESTS =/' \
-i "${S}"/src/Makefile.{am,in} || die
gnome2_src_prepare
}
src_configure() {
# FIXME: investigate limba and firmware update support
gnome2_src_configure \
--enable-man \
--enable-packagekit \
--enable-polkit \
--disable-xdg-app \
--disable-firmware \
--disable-limba \
$(use_enable test dogtail)
}
src_test() {
virtx emake check TESTS_ENVIRONMENT="dbus-run-session"
}
|