1c1 < # Copyright 1999-2004 Gentoo Foundation --- > # Copyright 1999-2005 Gentoo Foundation 3c3 < # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.3.3.ebuild,v 1.10 2004/09/22 21:55:16 eradicator Exp $ --- > # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.0.ebuild,v 1.11 2005/03/23 21:55:16 Kamil Wencel $ 5,7c5,6 < IUSE="ncurses arts alsa python oss mikmod oggvorbis jack audiofile" < < DESCRIPTION="A package for multitrack audio processing" --- > DESCRIPTION="Ecasound is a software package designed for multitrack audio processing" > HOMEPAGE="http://www.eca.cx/ecasound/" 9d7 < HOMEPAGE="http://eca.cx/" 12,13c10 < SLOT="1" < KEYWORDS="x86 sparc ~ppc amd64" --- > SLOT="0" 15,30c12,24 < DEPEND="jack? ( media-sound/jack-audio-connection-kit ) < media-libs/ladspa-sdk < audiofile? ( media-libs/audiofile ) < alsa? ( media-libs/alsa-lib ) < oggvorbis? ( media-libs/libvorbis ) < arts? ( kde-base/arts ) < mikmod? ( media-libs/libmikmod ) < python? ( dev-lang/python ) < ncurses? ( sys-libs/ncurses )" < < # We don't make RDEPEND for vorbis-tools, mpg123/mpg321, timidity++ or lame -- no < # use flags for them. < < src_unpack() { < unpack ${A} < cd ${S} --- > KEYWORDS="~x86" > > IUSE="ncurses python oss mikmod oggvorbis jack audiofile libsamplerate" > > DEPEND="jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) > audiofile? ( >=media-libs/audiofile-0.2.6-r1 ) > oggvorbis? ( >=media-libs/libvorbis-1.1.0 ) > mikmod? ( >=media-libs/libmikmod-3.1.11-r1 ) > python? ( >=dev-lang/python-2.3.4 ) > ncurses? ( >=sys-libs/ncurses-5.4-r5 ) > libsamplerate? ( >=media-libs/libsamplerate0.1.1-r1 )" > > #RDEPEND="" 32,33d25 < sed -i 's:map.h:map:g' configure < } 35a28 > 40d32 < use arts || myconf="$myconf --disable-arts" 47,69d38 < if use python; then < # < # ecasound is braindead about finding python includes/libdirs and < # about where to install modules. Luckily, it allows us to specify < # all this. < # < local python_version python_prefix python_includes python_modules < python_version="`python -c 'import sys; print sys.version[:3]'`" < python_prefix="`python -c 'import sys; print sys.prefix'`" < < python_includes="$python_prefix/include/python$python_version" < python_modules="$python_prefix/lib/python$python_version" < < # ecasound configure assumes `disable' if you pass < # --(enable|disable)-pyecasound. *sigh* < #myconf="$myconf --enable-pyecasound" < < myconf="$myconf --with-python-includes=$python_includes" < myconf="$myconf --with-python-modules=$python_modules" < else < myconf="$myconf --disable-pyecasound" < fi < 71,72c40,41 < econf ${myconf} || die "configure failed" < make || die "build failed" --- > econf ${myconf} --disable-arts || die "econf failed" > emake || die "make failed" 74a44 > 90a61 >