blob: 5121f602279e2d4ec329a1b6efc5c79601326c95 (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit autotools gnome2-utils python-single-r1
DESCRIPTION="A utility for viewing problems that have occurred with the system"
HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
x11-libs/gtk+:3
>=dev-libs/libreport-2.0.20[python]
>=app-admin/abrt-2.10.10-r1
dev-python/pygobject:3
x11-libs/libX11
>=dev-python/pyxdg-0.19
"
DEPEND="${RDEPEND}
app-text/asciidoc
app-text/xmlto
>=dev-util/intltool-0.35.0
virtual/pkgconfig
>=sys-devel/gettext-0.17
"
PATCHES=(
# From Fedora (fixed in next release)
"${FILESDIR}"/0001-Remove-Expert-mode-and-the-remaining-Analyze-code.patch
)
src_prepare() {
default
./gen-version > gnome-abrt-version || die
eautoreconf
}
src_configure() {
myeconfargs=(
--localstatedir="${EPREFIX}/var"
--with-nopylint
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|