# 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 }