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/zynaddsubfx: ChangeLog zynaddsubfx-2.4.1.ebuild
Date: Sat, 26 Feb 2011 20:46:26
Message-Id: 20110226204615.59DAA2004C@flycatcher.gentoo.org
1 aballier 11/02/26 20:46:15
2
3 Modified: ChangeLog
4 Added: zynaddsubfx-2.4.1.ebuild
5 Log:
6 version bump, make it build with fltk 1.3
7
8 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 media-sound/zynaddsubfx/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 4 Sep 2009 07:56:17 -0000 1.35
24 +++ ChangeLog 26 Feb 2011 20:46:15 -0000 1.36
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-sound/zynaddsubfx
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v 1.35 2009/09/04 07:56:17 aballier Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v 1.36 2011/02/26 20:46:15 aballier Exp $
31 +
32 +*zynaddsubfx-2.4.1 (26 Feb 2011)
33 +
34 + 26 Feb 2011; Alexis Ballier <aballier@g.o> +zynaddsubfx-2.4.1.ebuild,
35 + +files/zynaddsubfx-2.4.1-docs.patch, +files/zynaddsubfx-2.4.1-fltk.patch,
36 + +files/zynaddsubfx-2.4.1-fltk13.patch:
37 + version bump, make it build with fltk 1.3
38
39 04 Sep 2009; Alexis Ballier <aballier@g.o>
40 zynaddsubfx-2.4.0.ebuild, +files/zynaddsubfx-2.4.0-nullmidiin.patch:
41
42
43
44 1.1 media-sound/zynaddsubfx/zynaddsubfx-2.4.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.4.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.4.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: zynaddsubfx-2.4.1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.4.1.ebuild,v 1.1 2011/02/26 20:46:15 aballier Exp $
54
55 EAPI=4
56 inherit eutils cmake-utils
57
58 MY_P=ZynAddSubFX-${PV}
59
60 DESCRIPTION="ZynAddSubFX is an opensource software synthesizer."
61 HOMEPAGE="http://zynaddsubfx.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/zynaddsubfx/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67
68 IUSE="alsa +fltk jack lash"
69
70 RDEPEND="
71 sci-libs/fftw:3.0
72 sys-libs/zlib
73 >=dev-libs/mini-xml-2.2.1
74 alsa? ( media-libs/alsa-lib )
75 jack? ( media-sound/jack-audio-connection-kit )
76 fltk? ( >=x11-libs/fltk-1.1.2:1.1 )
77 lash? ( media-sound/lash )"
78 # portaudio? ( media-libs/portaudio )"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig"
81 # Upstream uses the following preferences: alsa > jack > portaudio
82 # At least one of them must be enabled
83 # We do not support portaudio, so if alsa is disabled force jack.
84 REQUIRED_USE="!alsa? ( jack )"
85
86 S=${WORKDIR}/${MY_P}
87
88 PATCHES=(
89 "${FILESDIR}/${P}-fltk.patch"
90 "${FILESDIR}/${P}-fltk13.patch"
91 "${FILESDIR}/${P}-docs.patch"
92 )
93
94 DOCS="ChangeLog FAQ.txt HISTORY.txt README.txt ZynAddSubFX.lsm bugs.txt"
95
96 src_configure() {
97 use lash || sed -i -e 's/lash-1.0/lash_disabled/' "${S}/src/CMakeLists.txt"
98 mycmakeargs=(
99 `use fltk && echo "-DGuiModule=fltk" || echo "-DGuiModule=off"`
100 `use alsa && echo "-DOutputModule=alsa" || echo "-DOutputModule=jack"`
101 `use alsa && echo "-DAlsaMidiOutput=TRUE" || echo "-DAlsaMidiOutput=FALSE"`
102 `use jack && echo "-DJackOutput=TRUE" || echo "-DJackOutput=FALSE"`
103 )
104 cmake-utils_src_configure
105 }
106
107 src_install() {
108 cmake-utils_src_install
109 insinto "/usr/share/${PN}"
110 doins -r "${S}/banks" "${S}/examples" || die
111 }