summaryrefslogtreecommitdiff
blob: 54393e346d6c7ace4c37d299bf5728e34dc5b510 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/apollo/apollo-1.4.2.ebuild,v 1.5 2004/02/23 23:58:31 eradicator Exp $

IUSE="qt"

#kde support of apollo is only kde2, if anybody has kde2 and wants this support,#please test myconf="--detect-kde2". if this works, post your modified ebuild to
#http://bugs.gentoo.org (you also need some more files in src_install()) 

S=${WORKDIR}/${P}-1
DESCRIPTION="A Qt-based front-end to mpg123"
SRC_URI="mirror://sourceforge/apolloplayer/${PN}-src-${PV}-1.tar.bz2"
HOMEPAGE="http://www.apolloplayer.org"

SLOT="2"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND="virtual/mpg123
	media-libs/id3lib
	media-sound/mad
	qt?		( x11-libs/qt )"

src_compile() {
	patch < ${FILESDIR}/${P}-gentoo.diff
	myconf="--without-kde2 --with-mad=/usr/lib"
	./configure.sh $myconf
	make || die "Make failed"
}

src_install() {
	dobin apollo apollo-client/apollo-client
	dodoc CREDITS GPL INSTALL README
}