-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="chm doc exif gsf pdf python taglib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="app-text/gnome-doc-utils
>=dev-libs/glib-2.6.0:2
exif? ( >=media-gfx/exiv2-0.14 )
gsf? ( >=gnome-extra/libgsf-1.12.0 )
pdf? ( >=app-text/poppler-0.18 )
- python? ( >=dev-python/gnome-vfs-python-2.0.0 )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/gnome-vfs-python-2.0.0
+ )
taglib? ( >=media-libs/taglib-1.4 )"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.35.0
DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_configure() {
G2CONF="$(use_enable doc scrollkeeper)
$(use_enable python)
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="chm exif gsf pdf python taglib samba test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
app-text/gnome-doc-utils
gsf? ( >=gnome-extra/libgsf-1.12.0 )
samba? ( >=gnome-base/gnome-vfs-2.0.0[samba] )
pdf? ( >=app-text/poppler-0.18 )
- python? ( >=dev-python/gnome-vfs-python-2.0.0 )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/gnome-vfs-python-2.0.0
+ )
taglib? ( >=media-libs/taglib-1.4 )
"
DEPEND="
test? ( >=dev-util/cppunit-1.13.2 )
"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_configure() {
gnome2_src_configure \
--disable-static \