# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A GTK+ programmable audio generator" HOMEPAGE="http://gnaural.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="mp3" DEPEND=">=x11-libs/gtk+-2.8" RDEPEND="${DEPEND} mp3? ( media-sound/lame )" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc41.patch } src_install() { make DESTDIR="${D}" install || die "make install failed" newicon pixmaps/${PN}-icon.png ${PN}.png make_desktop_entry ${PN} Gnaural ${PN}.png AudioVideo dodoc AUTHORS ChangeLog NEWS README }