# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /cvsroot/kwave/kwave/kwave.ebuild,v 1.7 2005/12/24 10:43:19 the Exp $ inherit kde flag-o-matic eutils DESCRIPTION="Kwave is a sound editor for KDE." HOMEPAGE="http://kwave.sourceforge.net/" SRC_URI="mirror://sourceforge/kwave/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="mmx" RDEPEND="kde-base/arts media-libs/alsa-lib media-libs/audiofile media-libs/id3lib media-libs/libmad media-libs/libogg media-libs/libvorbis media-libs/flac sci-libs/gsl" DEPEND="${RDEPEND} || ( kde-base/kdesdk-misc kde-base/kdesdk ) app-text/recode media-gfx/imagemagick" need-kde 3.4 pkg_setup() { if ! built_with_use kdelibs arts ; then eerror "KWave needs aRts, please rebuild kdelibs with arts use flag enabled." die fi } src_compile() { libtoolize --copy --force aclocal-1.9 -I ./admin autoheader automake-1.9 --foreign --add-missing --copy --include-deps autoconf local myconf="--without-builtin-libaudiofile" use mmx && append-flags "-mmmx" kde_src_compile }