# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="An easy to use MPD client written in Qt 4.1" HOMEPAGE="http://havtknut.tihlde.org/qmpdclient" SRC_URI="http://havtknut.tihlde.org/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND=">=x11-libs/qt-4.1" src_compile() { ./configure || die "configure failed" emake || die "make failed" } src_install() { # Fix the path sed -ie "s%/usr/local%${D}/usr%g" ${S}/src/src.pro || die 'sed failed in path' make install || die 'Install failed!' dodoc README AUTHORS THANKSTO insinto /usr/share/pixmaps newins icons/qmpdclient64.png qmpdclient64.png newins icons/qmpdclient128.png qmpdclient128.png newins icons/qmpdclient16.png qmpdclient16.png newins icons/qmpdclient22.png qmpdclient22.png newins icons/qmpdclient32.png qmpdclient32.png make_desktop_entry qmpdclient "QMPDclient" qmpdclient64.png "KDE;Qt;AudioVideo" }