Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/rezound: ChangeLog rezound-0.12.3_beta-r2.ebuild
Date: Fri, 10 Oct 2008 12:57:52
Message-Id: E1KoHZ0-0005ma-Fx@stork.gentoo.org
1 flameeyes 08/10/10 12:57:50
2
3 Modified: ChangeLog
4 Added: rezound-0.12.3_beta-r2.ebuild
5 Log:
6 Update to EAPI=2 and USE deps.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.55 media-sound/rezound/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/ChangeLog?rev=1.55&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/ChangeLog?rev=1.55&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/ChangeLog?r1=1.54&r2=1.55
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v
19 retrieving revision 1.54
20 retrieving revision 1.55
21 diff -u -r1.54 -r1.55
22 --- ChangeLog 1 Jun 2008 23:19:21 -0000 1.54
23 +++ ChangeLog 10 Oct 2008 12:57:50 -0000 1.55
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/rezound
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.54 2008/06/01 23:19:21 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.55 2008/10/10 12:57:50 flameeyes Exp $
29 +
30 +*rezound-0.12.3_beta-r2 (10 Oct 2008)
31 +
32 + 10 Oct 2008; Diego Pettenò <flameeyes@g.o>
33 + +rezound-0.12.3_beta-r2.ebuild:
34 + Update to EAPI=2 and USE deps.
35
36 01 Jun 2008; Alexis Ballier <aballier@g.o>
37 rezound-0.12.3_beta-r1.ebuild:
38
39
40
41 1.1 media-sound/rezound/rezound-0.12.3_beta-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rezound-0.12.3_beta-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta-r2.ebuild,v 1.1 2008/10/10 12:57:50 flameeyes Exp $
51
52 EAPI=2
53
54 inherit eutils autotools
55
56 MY_P="${P/_/}"
57 S="${WORKDIR}/${MY_P}"
58
59 PATCHLEVEL="5"
60 DESCRIPTION="Sound editor and recorder"
61 HOMEPAGE="http://rezound.sourceforge.net"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
63 mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc -sparc ~x86"
68 IUSE="16bittmp alsa flac jack nls oss portaudio soundtouch vorbis"
69
70 RDEPEND="=sci-libs/fftw-2*
71 >=x11-libs/fox-1.6.19
72 >=media-libs/audiofile-0.2.3
73 >=media-libs/ladspa-sdk-1.12
74 >=media-libs/ladspa-cmt-1.15
75 alsa? ( >=media-libs/alsa-lib-1.0 )
76 flac? ( >=media-libs/flac-1.1.2[cxx] )
77 jack? ( media-sound/jack-audio-connection-kit )
78 portaudio? ( >=media-libs/portaudio-18 )
79 soundtouch? ( >=media-libs/libsoundtouch-1.2.1 )
80 vorbis? ( media-libs/libvorbis media-libs/libogg )"
81
82 # optional packages (don't need to be installed during emerge):
83 #
84 # >=media-sound/lame-3.92
85 # app-cdr/cdrdao
86
87 DEPEND="${RDEPEND}
88 sys-devel/bison
89 dev-util/pkgconfig
90 sys-devel/flex
91 dev-util/reswrap"
92
93 src_prepare() {
94 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
95
96 AT_M4DIR="config/m4" eautoreconf
97 }
98
99 src_configure() {
100 # fix compilation errors on ppc, where some
101 # of the required functions aren't defined
102 use ppc && epatch "${FILESDIR}/undefined-functions.patch"
103
104 # following features can't be disabled if already installed:
105 # -> flac, oggvorbis, soundtouch
106 local sampletype="--enable-internal-sample-type=float"
107 use 16bittmp && sampletype="--enable-internal-sample-type=int16"
108
109 econf \
110 $(use_enable alsa) \
111 $(use_enable jack) \
112 $(use_enable nls) \
113 $(use_enable oss) \
114 $(use_enable portaudio) \
115 $(use_enable flac) \
116 $(use_enable vorbis) \
117 $(use_enable soundtouch) \
118 ${sampletype} \
119 --enable-ladspa \
120 --enable-largefile \
121 || die "configure failed"
122 }
123
124 src_install() {
125 make DESTDIR="${D}" install || die "make install failed"
126
127 # remove wrong doc directory
128 rm -rf "${D}/usr/doc"
129
130 dodoc docs/{AUTHORS,NEWS,README*}
131 dodoc docs/{TODO_FOR_USERS_TO_READ,*.txt}
132 newdoc README README.rezound
133
134 docinto code
135 dodoc docs/code/*
136 newicon src/images/icon_logo_32.gif rezound.gif
137 make_desktop_entry rezound Rezound rezound.gif AudioVideo
138 }