diff options
author | 2010-07-29 23:37:19 +0000 | |
---|---|---|
committer | 2010-07-29 23:37:19 +0000 | |
commit | 38454f02bfea8977d8d45c958bb40455e41ce955 (patch) | |
tree | 0b80424b0a316550a41663d9df3ef049193927a8 /media-sound/darkice | |
parent | add ~x64-macos, bug 328151 (diff) | |
download | gentoo-2-38454f02bfea8977d8d45c958bb40455e41ce955.tar.gz gentoo-2-38454f02bfea8977d8d45c958bb40455e41ce955.tar.bz2 gentoo-2-38454f02bfea8977d8d45c958bb40455e41ce955.zip |
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/darkice')
-rw-r--r-- | media-sound/darkice/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/darkice/darkice-1.0.ebuild | 54 | ||||
-rw-r--r-- | media-sound/darkice/files/darkice-1.0-gcc44.patch | 13 |
3 files changed, 75 insertions, 2 deletions
diff --git a/media-sound/darkice/ChangeLog b/media-sound/darkice/ChangeLog index 6fc804479b30..c8c2d0f86ca4 100644 --- a/media-sound/darkice/ChangeLog +++ b/media-sound/darkice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/darkice -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/ChangeLog,v 1.55 2009/07/10 01:07:23 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/ChangeLog,v 1.56 2010/07/29 23:37:18 ssuominen Exp $ + +*darkice-1.0 (29 Jul 2010) + + 29 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> +darkice-1.0.ebuild, + +files/darkice-1.0-gcc44.patch: + Version bump. 10 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> -darkice-0.18.1.ebuild, darkice-0.19.ebuild, 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 +} diff --git a/media-sound/darkice/files/darkice-1.0-gcc44.patch b/media-sound/darkice/files/darkice-1.0-gcc44.patch new file mode 100644 index 000000000000..1bbb713aaa7f --- /dev/null +++ b/media-sound/darkice/files/darkice-1.0-gcc44.patch @@ -0,0 +1,13 @@ +SerialUlaw.cpp:296:26: error: ‘perror’ was not declared in this scope + +--- src/SerialUlaw.cpp ++++ src/SerialUlaw.cpp +@@ -40,6 +40,8 @@ + #include "config.h" + #endif + ++#include <stdio.h> ++ + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #else |