# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnopernicus/gnopernicus-1.0.4.ebuild,v 1.12 2006/11/22 18:23:07 leonardop Exp $ WANT_AUTOMAKE="1.8" inherit autotools gnome2 DESCRIPTION="Software tools for blind and visually impaired" HOMEPAGE="http://www.baum.ro/gnopernicus.html" LICENSE="LGPL-2" SLOT="1" KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" IUSE="brltty doc ipv6" RDEPEND=">=gnome-base/gconf-2.6.1 >=dev-libs/popt-1.5 >=dev-libs/glib-2.4.1 >=dev-libs/libxml2-2.6.7 >=gnome-extra/at-spi-1.5.4 >=x11-libs/gtk+-2.4.1 >=gnome-base/libglade-2.3.6 >=gnome-base/libgnome-2.6 >=gnome-base/libgnomeui-2.6.1 >=app-accessibility/gnome-speech-0.3.5 >=app-accessibility/gnome-mag-0.11.7 >=gnome-extra/libgail-gnome-1.0 brltty? ( >=app-accessibility/brltty-3.6 )" DEPEND="${RDEPEND} >=dev-util/intltool-0.29 >=dev-util/pkgconfig-0.9 app-text/scrollkeeper doc? ( >=dev-util/gtk-doc-1 )" DOCS="AUTHORS ChangeLog NEWS README" src_unpack() { gnome2_src_unpack # Add gdk-2.0 to the list of dependencies for libke (bug #150120) epatch "${FILESDIR}"/${P}-libke_deps.patch sed -n -e '/GTK_DOC_CHECK/,/AC_PROG_INTLTOOL/p' aclocal.m4 > gtk-doc.m4 sed -n -e '/GNOME_COMPILE/,$p' aclocal.m4 > gnome-macros.m4 AT_M4DIR="." eautoreconf } pkg_setup() { G2CONF="$(use_enable ipv6) \ $(use_enable brltty)" }