# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EGIT_REPO_URI="git://deadbeef.git.sourceforge.net/gitroot/deadbeef/deadbeef" inherit autotools git DESCRIPTION="mp3/ogg/flac/sid/mod/nsf music player based on GTK2" HOMEPAGE="http://deadbeef.sourceforge.net/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="libnotify" RDEPEND="media-libs/libvorbis media-libs/libmad media-libs/libogg x11-libs/gtk+:2 media-libs/libsamplerate media-libs/alsa-lib libnotify? ( x11-libs/libnotify )" DEPEND="" src_unpack() { git_src_unpack || die "Git synchronization failed" } src_compile() { ./autogen.sh || die "Autogen.sh faild" econf $(use_enable libnotify) || die "Configure failed" emake || die "Make failed" } src_install() { emake DESTDIR="${D}" install || die "Install failed" }