diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-07-16 10:48:58 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2013-07-16 10:48:58 +0000 |
commit | 65d5331e6f390c85183b996a1741666b43fc6321 (patch) | |
tree | 997f031a96ac71b0d61b85bbbbe05864ab024761 /media-sound/darkice/darkice-1.2.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-65d5331e6f390c85183b996a1741666b43fc6321.tar.gz gentoo-2-65d5331e6f390c85183b996a1741666b43fc6321.tar.bz2 gentoo-2-65d5331e6f390c85183b996a1741666b43fc6321.zip |
Version bump (bug #476926). Fixes automagic dependency on pulseaudio (bug #460072) and compilation failure with gcc-4.7 (bug #428596)
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'media-sound/darkice/darkice-1.2.ebuild')
-rw-r--r-- | media-sound/darkice/darkice-1.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/darkice/darkice-1.2.ebuild b/media-sound/darkice/darkice-1.2.ebuild new file mode 100644 index 000000000000..05c12d2bea98 --- /dev/null +++ b/media-sound/darkice/darkice-1.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/darkice-1.2.ebuild,v 1.1 2013/07/16 10:48:58 polynomial-c Exp $ + +EAPI=5 +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 opus pulseaudio twolame vorbis" + +RDEPEND="aac? ( media-libs/faac ) + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit ) + mp3? ( media-sound/lame ) + opus? ( media-libs/opus ) + pulseaudio? ( media-sound/pulseaudio ) + twolame? ( media-sound/twolame ) + vorbis? ( media-libs/libvorbis ) + libsamplerate? ( media-libs/libsamplerate )" +DEPEND="${RDEPEND}" + +REQUIRED_USE="|| ( aac mp3 opus twolame vorbis ) + || ( alsa jack pulseaudio )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc47.patch +} + +src_configure() { + econf \ + $(use_with mp3 lame) \ + $(use_with vorbis) \ + $(use_with aac faac) \ + --without-aacplus \ + $(use_with twolame) \ + $(use_with opus) \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with libsamplerate samplerate) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog FAQ NEWS README TODO +} |