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/fluidsynth: ChangeLog fluidsynth-1.0.8-r1.ebuild
Date: Mon, 29 Sep 2008 05:58:51
Message-Id: E1KkBmS-0005dr-GX@stork.gentoo.org
1 flameeyes 08/09/29 05:58:48
2
3 Modified: ChangeLog
4 Added: fluidsynth-1.0.8-r1.ebuild
5 Log:
6 Add a new revision using EAPI=2 and USE dependencies.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.43 media-sound/fluidsynth/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/fluidsynth/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/fluidsynth/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/fluidsynth/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 17 Aug 2008 08:06:22 -0000 1.42
23 +++ ChangeLog 29 Sep 2008 05:58:47 -0000 1.43
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/fluidsynth
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/ChangeLog,v 1.42 2008/08/17 08:06:22 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/ChangeLog,v 1.43 2008/09/29 05:58:47 flameeyes Exp $
29 +
30 +*fluidsynth-1.0.8-r1 (29 Sep 2008)
31 +
32 + 29 Sep 2008; Diego Pettenò <flameeyes@g.o>
33 + +fluidsynth-1.0.8-r1.ebuild:
34 + Add a new revision using EAPI=2 and USE dependencies.
35
36 17 Aug 2008; Alexis Ballier <aballier@g.o>
37 -fluidsynth-1.0.7a.ebuild:
38
39
40
41 1.1 media-sound/fluidsynth/fluidsynth-1.0.8-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/fluidsynth/fluidsynth-1.0.8-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/fluidsynth/fluidsynth-1.0.8-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fluidsynth-1.0.8-r1.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/fluidsynth/fluidsynth-1.0.8-r1.ebuild,v 1.1 2008/09/29 05:58:47 flameeyes Exp $
51
52 EAPI=2
53
54 inherit flag-o-matic eutils libtool
55
56 IUSE="alsa debug jack ladspa lash oss readline"
57
58 DESCRIPTION="Fluidsynth is a software real-time synthesizer based on the Soundfont 2 specifications."
59 HOMEPAGE="http://www.fluidsynth.org/"
60 SRC_URI="http://savannah.nongnu.org/download/fluid/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65
66 DEPEND="jack? ( media-sound/jack-audio-connection-kit )
67 ladspa? ( >=media-libs/ladspa-sdk-1.12
68 >=media-libs/ladspa-cmt-1.15 )
69 alsa? ( media-libs/alsa-lib[midi]
70 lash? ( >=media-sound/lash-0.5 ) )
71 readline? ( sys-libs/readline )"
72
73 S="${WORKDIR}/${P/7a/7}"
74
75 # Alsa is required for lash support in this package.
76 pkg_setup() {
77 if use lash && ! use alsa; then
78 ewarn "ALSA support is required for lash support to be enabled."
79 ewarn "Continuing with lash support disabled."
80 fi
81 }
82
83 src_compile() {
84 local myconf
85
86 if use alsa; then
87 myconf="${myconf} $(use_enable lash)"
88 else
89 myconf="--disable-lash"
90 fi
91
92 elibtoolize
93 # ladcca support is deprecated in place of lash
94 econf \
95 --disable-ladcca \
96 --disable-dependency-tracking \
97 $(use_enable ladspa) \
98 $(use_enable jack jack-support) \
99 $(use_enable oss oss-support) \
100 $(use_enable alsa alsa-support) \
101 $(use_enable lash) \
102 $(use_enable debug) \
103 $(use_with readline) \
104 ${myconf} || die "./configure failed"
105
106 emake || die "make failed"
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die "make install failed"
111 dodoc AUTHORS NEWS README THANKS TODO
112 }