# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit distutils versionator MY_TRUNK=$(get_version_component_range 1-2) DESCRIPTION="Educational program to improve listening in a foreign language" HOMEPAGE="http://perroquet.b219.org/" SRC_URI="http://launchpad.net/perroquet/${MY_TRUNK}/${PV}/+download/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="sys-devel/gettext python? ( dev-lang/python )" DEPEND="${RDEPEND} >=dev-python/pygobject-2.18.0 dev-python/gst-python dev-perl/XML-Parser virtual/libintl" src_prepare() { # No other way to disable these options sed -i -e 's|\(self.without_icon_cache =\).*|\1 True|' \ -e 's|\(self.without_mime_database =\).*|\1 True|' \ -e 's|\(self.without_desktop_database =\).*|\1 True|' \ setup.py || die }