blob: d1cf96d5f47c1fe6aa27f65a1192ae8eb77a4ea7 (
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
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.0.3.ebuild,v 1.4 2006/06/25 20:42:52 ticho Exp $
inherit eutils
DESCRIPTION="An easy to use MPD client written in Qt 4.1"
HOMEPAGE="http://havtknut.tihlde.org/software/qmpdclient"
SRC_URI="http://havtknut.tihlde.org/software/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
DEPEND=">=x11-libs/qt-4.1"
src_compile() {
# if use debug; then
# sed -ie 's/CONFIG -= debug/CONFIG += debug/' ${S}/src/src.pro || \
# die 'sed failed in debug'
# fi
./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
insinto /usr/share/pixmaps
newins images/qmpdclient64.png qmpdclient64.png
make_desktop_entry qmpdclient "QMPDclient" qmpdclient64.png "KDE;Qt;AudioVideo"
}
|