Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/rezound: ChangeLog rezound-0.12.3_beta-r1.ebuild
Date: Sun, 30 Dec 2007 12:34:12
Message-Id: E1J8xMj-00030O-QO@stork.gentoo.org
1 aballier 07/12/30 12:34:05
2
3 Modified: ChangeLog
4 Added: rezound-0.12.3_beta-r1.ebuild
5 Log:
6 add a patch from Christian Schoenebeck <cuse@×××××××××××××××××.net>, bug #203471, to save raw files correctly
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.49 media-sound/rezound/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/ChangeLog?rev=1.49&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/ChangeLog?rev=1.49&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/ChangeLog?r1=1.48&r2=1.49
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v
19 retrieving revision 1.48
20 retrieving revision 1.49
21 diff -u -r1.48 -r1.49
22 --- ChangeLog 18 Nov 2007 20:24:28 -0000 1.48
23 +++ ChangeLog 30 Dec 2007 12:34:05 -0000 1.49
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-sound/rezound
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.48 2007/11/18 20:24:28 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.49 2007/12/30 12:34:05 aballier Exp $
29 +
30 +*rezound-0.12.3_beta-r1 (30 Dec 2007)
31 +
32 + 30 Dec 2007; Alexis Ballier <aballier@g.o>
33 + +rezound-0.12.3_beta-r1.ebuild:
34 + add a patch from Christian Schoenebeck <cuse@×××××××××××××××××.net>, bug
35 + #203471, to save raw files correctly
36
37 18 Nov 2007; Alexis Ballier <aballier@g.o>
38 rezound-0.12.3_beta.ebuild:
39
40
41
42 1.1 media-sound/rezound/rezound-0.12.3_beta-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rezound-0.12.3_beta-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $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 $
52
53 WANT_AUTOMAKE=1.9
54 WANT_AUTOCONF=2.5
55
56 inherit eutils autotools
57
58 MY_P="${P/_/}"
59 S="${WORKDIR}/${MY_P}"
60
61 PATCHLEVEL="3"
62 DESCRIPTION="Sound editor and recorder"
63 HOMEPAGE="http://rezound.sourceforge.net"
64 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
65 mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~x86"
70 IUSE="16bittmp alsa flac jack nls oss portaudio soundtouch vorbis"
71
72 RDEPEND="=sci-libs/fftw-2*
73 >=x11-libs/fox-1.6.19
74 >=media-libs/audiofile-0.2.3
75 >=media-libs/ladspa-sdk-1.12
76 >=media-libs/ladspa-cmt-1.15
77 alsa? ( >=media-libs/alsa-lib-1.0 )
78 flac? ( >=media-libs/flac-1.1.2 )
79 jack? ( media-sound/jack-audio-connection-kit )
80 portaudio? ( >=media-libs/portaudio-18 )
81 soundtouch? ( >=media-libs/libsoundtouch-1.2.1 )
82 vorbis? ( media-libs/libvorbis media-libs/libogg )"
83
84 # optional packages (don't need to be installed during emerge):
85 #
86 # >=media-sound/lame-3.92
87 # app-cdr/cdrdao
88
89 DEPEND="${RDEPEND}
90 sys-devel/bison
91 sys-devel/flex"
92
93 pkg_setup() {
94 if use flac && ! built_with_use --missing true media-libs/flac cxx; then
95 eerror "To build ${PN} with flac support you need the C++ bindings for flac."
96 eerror "Please enable the cxx USE flag for media-libs/flac"
97 die "Missing FLAC C++ bindings."
98 fi
99 }
100
101 src_unpack() {
102 unpack ${A}
103 cd "${S}"
104
105 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
106
107 AT_M4DIR="config/m4" eautoreconf
108 }
109
110 src_compile() {
111 # fix compilation errors on ppc, where some
112 # of the required functions aren't defined
113 use ppc && epatch "${FILESDIR}/undefined-functions.patch"
114
115 # following features can't be disabled if already installed:
116 # -> flac, oggvorbis, soundtouch
117 local sampletype="--enable-internal-sample-type=float"
118 use 16bittmp && sampletype="--enable-internal-sample-type=int16"
119
120 econf \
121 $(use_enable alsa) \
122 $(use_enable jack) \
123 $(use_enable nls) \
124 $(use_enable oss) \
125 $(use_enable portaudio) \
126 $(use_enable flac) \
127 $(use_enable vorbis) \
128 $(use_enable soundtouch) \
129 ${sampletype} \
130 --enable-ladspa \
131 --enable-largefile \
132 || die "configure failed"
133
134 emake || die "make failed"
135 }
136
137 src_install() {
138 make DESTDIR="${D}" install || die "make install failed"
139
140 # remove wrong doc directory
141 rm -rf "${D}/usr/doc"
142
143 dodoc docs/{AUTHORS,NEWS,README*}
144 dodoc docs/{TODO_FOR_USERS_TO_READ,*.txt}
145 newdoc README README.rezound
146
147 docinto code
148 dodoc docs/code/*
149 newicon src/images/icon_logo_32.gif rezound.gif
150 make_desktop_entry rezound Rezound rezound.gif AudioVideo
151 }
152
153
154
155 --
156 gentoo-commits@g.o mailing list