# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/xfmpc/xfmpc-0.0.7.ebuild,v 1.4 2008/11/14 19:48:22 armin76 Exp $ inherit fdo-mime DESCRIPTION="a GTK+ based MPD client focusing on low footprint." HOMEPAGE="http://goodies.xfce.org/projects/applications/xfmpc" SRC_URI="http://goodies.xfce.org/releases/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 sparc x86" IUSE="debug" RDEPEND=">=media-libs/libmpd-0.15 >=x11-libs/gtk+-2.12 x11-themes/hicolor-icon-theme >=xfce-base/libxfcegui4-4.4 >=xfce-base/libxfce4util-4.4" DEPEND="${RDEPEND} dev-util/intltool dev-util/pkgconfig" src_compile() { econf --disable-dependency-tracking $(use_enable debug) emake || die "emake failed." } src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc AUTHORS ChangeLog IDEAS NEWS README THANKS } pkg_postinst() { fdo-mime_desktop_database_update } pkg_postrm() { fdo-mime_desktop_database_update }