summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-12-30 12:34:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-12-30 12:34:05 +0000
commit802aac24499f8dbf24e13f0da8574d514e864aa7 (patch)
tree3373d5ab9510a547c897987107ea3ca7257f118d /media-sound/rezound
parentStable on x86 (diff)
downloadgentoo-2-802aac24499f8dbf24e13f0da8574d514e864aa7.tar.gz
gentoo-2-802aac24499f8dbf24e13f0da8574d514e864aa7.tar.bz2
gentoo-2-802aac24499f8dbf24e13f0da8574d514e864aa7.zip
add a patch from Christian Schoenebeck <cuse@users.sourceforge.net>, bug #203471, to save raw files correctly
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'media-sound/rezound')
-rw-r--r--media-sound/rezound/ChangeLog9
-rw-r--r--media-sound/rezound/files/digest-rezound-0.12.3_beta-r16
-rw-r--r--media-sound/rezound/rezound-0.12.3_beta-r1.ebuild103
3 files changed, 117 insertions, 1 deletions
diff --git a/media-sound/rezound/ChangeLog b/media-sound/rezound/ChangeLog
index 375075eb32fd..c3ded4bda54d 100644
--- a/media-sound/rezound/ChangeLog
+++ b/media-sound/rezound/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/rezound
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.48 2007/11/18 20:24:28 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.49 2007/12/30 12:34:05 aballier Exp $
+
+*rezound-0.12.3_beta-r1 (30 Dec 2007)
+
+ 30 Dec 2007; Alexis Ballier <aballier@gentoo.org>
+ +rezound-0.12.3_beta-r1.ebuild:
+ add a patch from Christian Schoenebeck <cuse@users.sourceforge.net>, bug
+ #203471, to save raw files correctly
18 Nov 2007; Alexis Ballier <aballier@gentoo.org>
rezound-0.12.3_beta.ebuild:
diff --git a/media-sound/rezound/files/digest-rezound-0.12.3_beta-r1 b/media-sound/rezound/files/digest-rezound-0.12.3_beta-r1
new file mode 100644
index 000000000000..315c81d114d3
--- /dev/null
+++ b/media-sound/rezound/files/digest-rezound-0.12.3_beta-r1
@@ -0,0 +1,6 @@
+MD5 834013613a55bff2a0542975dc0f0882 rezound-0.12.3_beta-patches-3.tar.bz2 6317
+RMD160 b65ca45762bc2907467f678dd6ae57cab774c355 rezound-0.12.3_beta-patches-3.tar.bz2 6317
+SHA256 ec0c9cc65f5d67e9adb376a4d8d53ba8601ddee1eff2588c9be09822234f71c0 rezound-0.12.3_beta-patches-3.tar.bz2 6317
+MD5 df109c9d9ad6d27214a7417df583115d rezound-0.12.3beta.tar.gz 1792882
+RMD160 f6ed398f04f9e6707b36e19649a3b173504a542c rezound-0.12.3beta.tar.gz 1792882
+SHA256 9a895f7011048df3485c9ab29b6abf3c4ac8eb4b8842164c42e34b8f0b76426f rezound-0.12.3beta.tar.gz 1792882
diff --git a/media-sound/rezound/rezound-0.12.3_beta-r1.ebuild b/media-sound/rezound/rezound-0.12.3_beta-r1.ebuild
new file mode 100644
index 000000000000..b5c440e15d1f
--- /dev/null
+++ b/media-sound/rezound/rezound-0.12.3_beta-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta-r1.ebuild,v 1.1 2007/12/30 12:34:05 aballier Exp $
+
+WANT_AUTOMAKE=1.9
+WANT_AUTOCONF=2.5
+
+inherit eutils autotools
+
+MY_P="${P/_/}"
+S="${WORKDIR}/${MY_P}"
+
+PATCHLEVEL="3"
+DESCRIPTION="Sound editor and recorder"
+HOMEPAGE="http://rezound.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
+ mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="16bittmp alsa flac jack nls oss portaudio soundtouch vorbis"
+
+RDEPEND="=sci-libs/fftw-2*
+ >=x11-libs/fox-1.6.19
+ >=media-libs/audiofile-0.2.3
+ >=media-libs/ladspa-sdk-1.12
+ >=media-libs/ladspa-cmt-1.15
+ alsa? ( >=media-libs/alsa-lib-1.0 )
+ flac? ( >=media-libs/flac-1.1.2 )
+ jack? ( media-sound/jack-audio-connection-kit )
+ portaudio? ( >=media-libs/portaudio-18 )
+ soundtouch? ( >=media-libs/libsoundtouch-1.2.1 )
+ vorbis? ( media-libs/libvorbis media-libs/libogg )"
+
+# optional packages (don't need to be installed during emerge):
+#
+# >=media-sound/lame-3.92
+# app-cdr/cdrdao
+
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+pkg_setup() {
+ if use flac && ! built_with_use --missing true media-libs/flac cxx; then
+ eerror "To build ${PN} with flac support you need the C++ bindings for flac."
+ eerror "Please enable the cxx USE flag for media-libs/flac"
+ die "Missing FLAC C++ bindings."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+ AT_M4DIR="config/m4" eautoreconf
+}
+
+src_compile() {
+ # fix compilation errors on ppc, where some
+ # of the required functions aren't defined
+ use ppc && epatch "${FILESDIR}/undefined-functions.patch"
+
+ # following features can't be disabled if already installed:
+ # -> flac, oggvorbis, soundtouch
+ local sampletype="--enable-internal-sample-type=float"
+ use 16bittmp && sampletype="--enable-internal-sample-type=int16"
+
+ econf \
+ $(use_enable alsa) \
+ $(use_enable jack) \
+ $(use_enable nls) \
+ $(use_enable oss) \
+ $(use_enable portaudio) \
+ $(use_enable flac) \
+ $(use_enable vorbis) \
+ $(use_enable soundtouch) \
+ ${sampletype} \
+ --enable-ladspa \
+ --enable-largefile \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ # remove wrong doc directory
+ rm -rf "${D}/usr/doc"
+
+ dodoc docs/{AUTHORS,NEWS,README*}
+ dodoc docs/{TODO_FOR_USERS_TO_READ,*.txt}
+ newdoc README README.rezound
+
+ docinto code
+ dodoc docs/code/*
+ newicon src/images/icon_logo_32.gif rezound.gif
+ make_desktop_entry rezound Rezound rezound.gif AudioVideo
+}