# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ EAPI="3" inherit eutils gnome2 python DESCRIPTION="A full featured, twin-panel file manager for Gnome2" HOMEPAGE="http://www.nongnu.org/gcmd/" #http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-1.2.8.15.tar.xz SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/${PV%${PV:3}}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="chm doc exif +gsf id3 nls pdf python static-libs" DEPEND="app-text/gnome-doc-utils dev-libs/glib:2 dev-util/intltool dev-util/pkgconfig gnome-base/gnome-vfs gnome-base/libgnome gnome-base/libgnomeui x11-libs/gtk+:2 chm? ( dev-libs/chmlib ) exif? ( media-gfx/exiv2 ) gsf? ( gnome-extra/libgsf ) id3? ( media-libs/taglib ) pdf? ( app-text/poppler ) python? ( =dev-lang/python-2* ) id3? ( media-libs/taglib )" RDEPEND="${DEPEND}" DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" pkg_setup() { G2CONF="$( use_enable doc scrollkeeper ) $( use_enable nls ) $( use_enable python ) $( use_enable static-libs static ) $( use_with chm libchm ) $( use_with exif exiv2 ) $( use_with gsf libgsf ) $( use_with id3 taglib ) $( use_with pdf poppler )" python_set_active_version 2 }