# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-0.6.ebuild,v 1.3 2006/05/21 23:35:34 flameeyes Exp $ inherit kde DESCRIPTION="A simple ID3 tag editor for QT/KDE." HOMEPAGE="http://kid3.sourceforge.net/" SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="flac musicbrainz vorbis" DEPEND=">=media-libs/id3lib-3.8.3 vorbis? ( media-libs/libvorbis ) flac? ( media-libs/flac ) musicbrainz? ( media-libs/tunepimp )" need-kde 3 # Support for the KDE libraries is optional, # but the configure step that detects them # cannot be avoided. So KDE support is forced on. src_unpack() { unpack ${A} cd "${S}" has_version '>=media-libs/tunepimp-0.4.0' && \ epatch "${FILESDIR}/${P}-tunepimp04.patch" } src_compile() { local myconf="--with-kde $(use_with vorbis) $(use_with flac) $(use_with musicbrainz)" kde_src_compile }