# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/gnomeradio-1.4.ebuild,v 1.11 2004/09/28 20:32:32 eradicator Exp $ inherit gnome2 eutils DESCRIPTION="A GNOME2 radio tuner" SRC_URI="http://mfcn.ilo.de/gnomeradio/${P}.tar.gz" HOMEPAGE="http://mfcn.ilo.de/gnomeradio/" IUSE="lirc" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 amd64 ~ppc ~sparc" RDEPEND=">=gnome-base/libgnomeui-2 >=gnome-base/gconf-1.2 lirc? ( app-misc/lirc )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12.0 >=dev-util/intltool-0.21 >=app-text/scrollkeeper-0.3.11" DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING README* INSTALL NEWS TODO" use lirc \ && G2CONF="${G2CONF} --enable-lirc " \ || G2CONF="${G2CONF} --enable-lirc " src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-gcc34.patch } CFLAGS="${CFLAGS} -UGNOME_DISABLE_DEPRECATED \ -UGTK_DISABLE_DEPRECATED \ -UGDK_DISABLE_DEPRECATED \ -UG_DISABLE_DEPRECATED"