blob: f51bf58b4ddb40b791ec9b20048223c6b10cb189 [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/gcalctool-5.26.3.ebuild,v 1.9 2010/01/18 00:07:56 jer Exp $
EAPI="2"
inherit gnome2
DESCRIPTION="A calculator application for GNOME"
HOMEPAGE="http://calctool.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.14.0
>=dev-libs/glib-2
>=dev-libs/atk-1.5
>=gnome-base/gconf-2
gnome-base/libglade
!<gnome-extra/gnome-utils-2.3"
DEPEND="${RDEPEND}
sys-devel/gettext
app-text/scrollkeeper
>=dev-util/intltool-0.35
>=dev-util/pkgconfig-0.9
>=app-text/gnome-doc-utils-0.3.2"
DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README TODO"
src_prepare() {
gnome2_src_prepare
# Fix intltoolize broken file, see upstream #577133
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed"
}