You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/gnome-abrt/gnome-abrt-1.2.7.ebuild

61 lines
1.3 KiB

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit autotools python-r1
DESCRIPTION="A utility for viewing problems that have occurred with the system"
HOMEPAGE="https://github.com/abrt/gnome-abrt"
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.10.0:3
>=dev-libs/libreport-2.0.20[python,${PYTHON_USEDEP}]
>=app-admin/abrt-2.10.10-r1
>=dev-python/pygobject-3.29.1:3[${PYTHON_USEDEP}]
x11-libs/libX11
>=dev-python/pyxdg-0.19[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/asciidoc
app-text/xmlto
>=dev-util/intltool-0.35.0
virtual/pkgconfig
>=sys-devel/gettext-0.17
"
src_prepare() {
default
./gen-version > gnome-abrt-version || die
eautoreconf
python_copy_sources
}
src_configure() {
myeconfargs=(
--localstatedir="${EPREFIX}/var"
--with-nopylint
)
python_foreach_impl run_in_build_dir econf "${myeconfargs[@]}"
}
src_compile() {
python_foreach_impl run_in_build_dir default
}
src_install() {
python_foreach_impl run_in_build_dir default
find "${D}" -name '*.la' -type f -delete || die
}