# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools versionator flag-o-matic EAPI="2" DESCRIPTION="Goggles Music Manager" HOMEPAGE="http://gogglesmm.googlecode.com/" SRC_URI="http://gogglesmm.googlecode.com/files/musicmanager-${PV}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="dbus" RDEPEND="dbus? ( sys-apps/dbus )" DEPEND="x11-libs/fox \ media-libs/xine-lib \ dev-db/sqlite \ >=media-libs/taglib-1.6.1[mp4] \ ${RDEPEND}" S="${WORKDIR}/musicmanager-${PV}" src_unpack() { unpack ${A} cd "${S}" } src_configure() { local myconf="" if ! use dbus ; then myconf="$myconf --without-dbus" fi econf "${myconf}" || die } #emake LDFLAGS="$(raw-ldflags)" src_compile() { emake || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" }