# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/glabels/glabels-2.0.1.ebuild,v 1.7 2005/01/01 15:32:37 eradicator Exp $ inherit eutils gnome2 DESCRIPTION="Program for creating labels and business cards" HOMEPAGE="http://glabels.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2 FDL-1.1 LGPL-2" SLOT="0" KEYWORDS="x86 ~ppc sparc ~amd64" IUSE="static" RDEPEND=">=dev-libs/glib-2.2 >=x11-libs/gtk+-2.0.5 >=gnome-base/libgnome-2.0.1 >=gnome-base/libgnomeui-2.0.1 >=gnome-base/libbonobo-2 >=gnome-base/libbonoboui-2 >=dev-libs/libxml2-2.4.23 >=gnome-base/libgnomeprint-2.2 >=gnome-base/libgnomeprintui-2.2 >=gnome-base/libgnomecanvas-2.0.1 >=gnome-base/libglade-2.0.1" DEPEND="${RDEPEND} dev-util/pkgconfig app-text/scrollkeeper >=dev-util/intltool-0.21" DOCS="AUTHORS ChangeLog NEWS README TODO" G2CONF="${G2CONF} $(use_enable static)" src_unpack() { unpack ${A} # Small syntax correction. sed -i -e 's:;Office:;Office;:' ${S}/data/desktop/glabels.desktop.in # Avoid sandbox violation. See bug #60545. epatch ${FILESDIR}/${P}-sandbox_fix.patch }