diff options
author | 2010-07-29 23:37:19 +0000 | |
---|---|---|
committer | 2010-07-29 23:37:19 +0000 | |
commit | cbefe24b311ead3f12b72829b0a936c82d0ca747 (patch) | |
tree | 0879a5bf3c2bdc73f963d889a4543f9f9f41e86d /media-sound/darkice/darkice-1.0.ebuild | |
parent | add ~x64-macos, bug 328151 (diff) | |
download | historical-cbefe24b311ead3f12b72829b0a936c82d0ca747.tar.gz historical-cbefe24b311ead3f12b72829b0a936c82d0ca747.tar.bz2 historical-cbefe24b311ead3f12b72829b0a936c82d0ca747.zip |
Version bump.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-sound/darkice/darkice-1.0.ebuild')
-rw-r--r-- | media-sound/darkice/darkice-1.0.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/darkice/darkice-1.0.ebuild b/media-sound/darkice/darkice-1.0.ebuild new file mode 100644 index 000000000000..522888c9aa51 --- /dev/null +++ b/media-sound/darkice/darkice-1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/darkice-1.0.ebuild,v 1.1 2010/07/29 23:37:19 ssuominen Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="A live audio streamer" +HOMEPAGE="http://code.google.com/p/darkice/" +SRC_URI="http://darkice.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="aac alsa jack libsamplerate mp3 twolame vorbis" + +RDEPEND="aac? ( media-libs/faac ) + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit ) + mp3? ( media-sound/lame ) + twolame? ( media-sound/twolame ) + vorbis? ( media-libs/libvorbis ) + libsamplerate? ( media-libs/libsamplerate ) + !mp3? ( !vorbis? ( !aac? ( !twolame? ( media-sound/lame ) ) ) )" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc44.patch +} + +src_configure() { + local myconf + + if ! use mp3 && ! use vorbis && ! use aac && ! use twolame; then + myconf="--with-lame" + fi + + econf \ + --disable-dependency-tracking \ + $(use_with mp3 lame) \ + $(use_with vorbis) \ + $(use_with aac faac) \ + --without-aacplus \ + $(use_with twolame) \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with libsamplerate samplerate) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog FAQ NEWS README TODO +} |