# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=4 inherit autotools eutils DESCRIPTION="Finds, fetches, shares, and plays freely licensed music" HOMEPAGE="http://gnomoradio.org" SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~sparc x86" IUSE="vorbis" RDEPEND="dev-cpp/gtkmm:2.4 dev-cpp/glibmm:2 >=dev-cpp/gconfmm-2.6 dev-cpp/libxmlpp:2.6 dev-libs/libsigc++:2 media-libs/libao vorbis? ( media-libs/libvorbis )" DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { epatch "${FILESDIR}"/${P}-gcc42.patch \ "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/${P}-lm.patch \ "${FILESDIR}"/${P}-glib-single-include.patch eautoreconf } src_configure() { econf \ --disable-dependency-tracking \ $(use_enable vorbis) }