summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/darkice/ChangeLog13
-rw-r--r--media-sound/darkice/darkice-0.17.1.ebuild58
-rw-r--r--media-sound/darkice/files/darkice-0.17.1-64bit.patch28
-rw-r--r--media-sound/darkice/files/digest-darkice-0.142
-rw-r--r--media-sound/darkice/files/digest-darkice-0.152
-rw-r--r--media-sound/darkice/files/digest-darkice-0.17.13
6 files changed, 104 insertions, 2 deletions
diff --git a/media-sound/darkice/ChangeLog b/media-sound/darkice/ChangeLog
index ad103dde888b..1d4a562fbf21 100644
--- a/media-sound/darkice/ChangeLog
+++ b/media-sound/darkice/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-sound/darkice
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/ChangeLog,v 1.27 2006/10/01 19:15:38 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/ChangeLog,v 1.28 2006/10/08 05:43:03 matsuu Exp $
+
+*darkice-0.17.1 (08 Oct 2006)
+
+ 08 Oct 2006; MATSUU Takuto <matsuu@gentoo.org>
+ +files/darkice-0.17.1-64bit.patch, +darkice-0.17.1.ebuild:
+ Version bumped, bug 133775.
+ Added aac and twolame to IUSE.
+ Fixed 64bit compile issue, bug 149246.
+ Removed ~alpha, ~hppa, ~ppc and ~sparc because media-sound/twolame has no them.
01 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org> darkice-0.15.ebuild:
hppa stable, bug #122729
@@ -28,7 +37,7 @@
26 Dec 2005; Luca Barbato <lu_zero@gentoo.org> darkice-0.14.ebuild:
oggvorbis Cleanup
- 07 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> darkice-0.14.ebuild:
+ 07 Nov 2005; Diego Petten嘆 <flameeyes@gentoo.org> darkice-0.14.ebuild:
Don't install COPYING file.
14 Sep 2005; Aron Griffis <agriffis@gentoo.org> darkice-0.14.ebuild:
diff --git a/media-sound/darkice/darkice-0.17.1.ebuild b/media-sound/darkice/darkice-0.17.1.ebuild
new file mode 100644
index 000000000000..8fd6081b7f66
--- /dev/null
+++ b/media-sound/darkice/darkice-0.17.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/darkice-0.17.1.ebuild,v 1.1 2006/10/08 05:43:03 matsuu Exp $
+
+inherit eutils
+
+DESCRIPTION="IceCast live streamer, delivering ogg and mp3 streams simultaneously to multiple hosts."
+HOMEPAGE="http://darkice.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aac alsa encode jack twolame vorbis"
+
+DEPEND="encode? ( >=media-sound/lame-1.89 )
+ vorbis? ( >=media-libs/libvorbis-1.0 )
+ aac? ( media-libs/faac )
+ twolame? ( >=media-sound/twolame-0.3.6 )
+ alsa? ( >=media-libs/alsa-lib-1.0.0 )
+ jack? ( media-sound/jack-audio-connection-kit )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-64bit.patch
+}
+
+src_compile() {
+ if ! use encode && ! use vorbis && ! use aac && ! use twolame
+ then
+
+ eerror "You need support for mp3, Ogg Vorbis, AAC or MP2 enconding"
+ eerror "for this package. Please merge again with at least one of the"
+ eerror "\`encode', \`vorbis', \`aac' and \`twolame' USE flags enabled:"
+ eerror
+ eerror " # USE=\"encode\" emerge darkice"
+ eerror " # USE=\"vorbis\" emerge darkice"
+ eerror " # USE=\"aac\" emerge darkice"
+ eerror " # USE=\"twolame\" emerge darkice"
+ die "Won't build without support for lame, vorbis, aac nor twolame"
+ fi
+
+ econf $(use_with aac faac) \
+ $(use_with alsa) \
+ $(use_with encode lame) \
+ $(use_with jack) \
+ $(use_with twolame) \
+ $(use_with vorbis) || die "configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/media-sound/darkice/files/darkice-0.17.1-64bit.patch b/media-sound/darkice/files/darkice-0.17.1-64bit.patch
new file mode 100644
index 000000000000..dad71539fb02
--- /dev/null
+++ b/media-sound/darkice/files/darkice-0.17.1-64bit.patch
@@ -0,0 +1,28 @@
+diff -Naur darkice-0.17.1.orig/src/LameLibEncoder.cpp darkice-0.17.1/src/LameLibEncoder.cpp
+--- darkice-0.17.1.orig/src/LameLibEncoder.cpp 2006-05-19 21:35:25.000000000 +0900
++++ darkice-0.17.1/src/LameLibEncoder.cpp 2006-10-08 14:27:02.000000000 +0900
+@@ -79,10 +79,10 @@
+ lameGlobalFlags = lame_init();
+
+ // ugly lame returns -1 in a pointer on allocation errors
+- if ( !lameGlobalFlags || ((int)lameGlobalFlags) == -1 ) {
++ if ( !lameGlobalFlags || ((long int)lameGlobalFlags) == -1 ) {
+ throw Exception( __FILE__, __LINE__,
+ "lame lib init error",
+- (int) lameGlobalFlags);
++ (long int) lameGlobalFlags);
+ }
+
+ if ( 0 > lame_set_num_channels( lameGlobalFlags, getInChannel()) ) {
+diff -Naur darkice-0.17.1.orig/src/TwoLameLibEncoder.cpp darkice-0.17.1/src/TwoLameLibEncoder.cpp
+--- darkice-0.17.1.orig/src/TwoLameLibEncoder.cpp 2006-01-26 07:49:59.000000000 +0900
++++ darkice-0.17.1/src/TwoLameLibEncoder.cpp 2006-10-08 14:26:29.000000000 +0900
+@@ -117,7 +117,7 @@
+ if ( !twolame_opts ) {
+ throw Exception( __FILE__, __LINE__,
+ "TwoLAME lib init error",
+- (int) twolame_opts);
++ (long) twolame_opts);
+ }
+
+ if ( 0 > twolame_set_num_channels( twolame_opts, getInChannel()) ) {
diff --git a/media-sound/darkice/files/digest-darkice-0.14 b/media-sound/darkice/files/digest-darkice-0.14
index 38d87b93420f..a35e21e846ee 100644
--- a/media-sound/darkice/files/digest-darkice-0.14
+++ b/media-sound/darkice/files/digest-darkice-0.14
@@ -1 +1,3 @@
MD5 e196487f376ab29c43277add33be15be darkice-0.14.tar.gz 337956
+RMD160 05f712fe8e2bb27dcd33543c4d9cd7cf696fd58e darkice-0.14.tar.gz 337956
+SHA256 efafad4000fc7b9843c47f2d4062e7fccea09dcee48a210db5ba1c50e64c8018 darkice-0.14.tar.gz 337956
diff --git a/media-sound/darkice/files/digest-darkice-0.15 b/media-sound/darkice/files/digest-darkice-0.15
index 16e70fbfcec5..4f3e2b7f10cd 100644
--- a/media-sound/darkice/files/digest-darkice-0.15
+++ b/media-sound/darkice/files/digest-darkice-0.15
@@ -1 +1,3 @@
MD5 313470008e387b70745ae2d75d5626c9 darkice-0.15.tar.gz 1181764
+RMD160 e02a396e4d7a7cebac31b883e097fc1a1bdec525 darkice-0.15.tar.gz 1181764
+SHA256 ddef0288ea7cde7ab11e6ed75b207bb573ce5611b094b5948ee5f7a511883a22 darkice-0.15.tar.gz 1181764
diff --git a/media-sound/darkice/files/digest-darkice-0.17.1 b/media-sound/darkice/files/digest-darkice-0.17.1
new file mode 100644
index 000000000000..25700a66cb8c
--- /dev/null
+++ b/media-sound/darkice/files/digest-darkice-0.17.1
@@ -0,0 +1,3 @@
+MD5 91221134cec3d52af842a9d50c06ee7d darkice-0.17.1.tar.gz 1407826
+RMD160 b6575b28190276d77e721e2ef15e8a93162693cc darkice-0.17.1.tar.gz 1407826
+SHA256 905f0d928e8ef009c864f6ac89884bb1bf773e6a91e625b37888d444f5115c45 darkice-0.17.1.tar.gz 1407826