summaryrefslogtreecommitdiff
blob: 5d63817c58a2dc93c7bac7f96c176e440208568d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.0.7.ebuild,v 1.4 2007/05/26 02:17:08 jer Exp $

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}/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 hppa ~ppc x86"
IUSE=""

DEPEND=">=x11-libs/qt-4.2"

src_compile() {
	./configure || die "configure failed"
	emake || die "make failed"
}

src_install() {
	dodoc README AUTHORS THANKSTO Changelog
	insinto /usr/share/pixmaps
	doins icons/qmpdclient{16,22,32,64,128}.png
	dobin qmpdclient

	make_desktop_entry qmpdclient "QMPDClient" qmpdclient64.png "KDE;Qt;AudioVideo"
}