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.
37 lines
816 B
37 lines
816 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
|
inherit python-any-r1
|
|
|
|
DESCRIPTION="GNU Image Manipulation Program help files"
|
|
HOMEPAGE="https://docs.gimp.org/"
|
|
SRC_URI="mirror://gimp/help/${P}.tar.bz2"
|
|
|
|
LICENSE="FDL-1.2"
|
|
SLOT="2"
|
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
|
|
IUSE=""
|
|
|
|
BDEPEND="${PYTHON_DEPS}
|
|
sys-devel/gettext
|
|
"
|
|
|
|
DEPEND="$(python_gen_any_dep 'dev-libs/libxml2[python,${PYTHON_USEDEP}]')
|
|
dev-libs/libxslt
|
|
"
|
|
|
|
# Adds python3 build support, bug 725940
|
|
# patch is from https://gitlab.gnome.org/GNOME/gimp-help/-/issues/201
|
|
PATCHES=( "${FILESDIR}/${P}-python3.patch" )
|
|
|
|
python_check_deps() {
|
|
has_version "dev-libs/libxml2[${PYTHON_USEDEP}]"
|
|
}
|
|
|
|
src_configure() {
|
|
econf --without-gimp
|
|
}
|