Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/ecasound: ChangeLog ecasound-2.4.6.1.ebuild
Date: Tue, 06 May 2008 19:18:05
Message-Id: E1JtSfq-00075r-71@stork.gentoo.org
1 drac 08/05/06 19:18:02
2
3 Modified: ChangeLog
4 Added: ecasound-2.4.6.1.ebuild
5 Log:
6 Version bump for bug 220429 with GCC 4.3 patch by Peter Alfredsen.
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.44 media-sound/ecasound/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ChangeLog?rev=1.44&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ChangeLog?rev=1.44&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ChangeLog?r1=1.43&r2=1.44
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v
19 retrieving revision 1.43
20 retrieving revision 1.44
21 diff -u -r1.43 -r1.44
22 --- ChangeLog 16 Jan 2008 18:22:20 -0000 1.43
23 +++ ChangeLog 6 May 2008 19:18:01 -0000 1.44
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/ecasound
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.43 2008/01/16 18:22:20 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.44 2008/05/06 19:18:01 drac Exp $
29 +
30 +*ecasound-2.4.6.1 (06 May 2008)
31 +
32 + 06 May 2008; Samuli Suominen <drac@g.o>
33 + +files/ecasound-2.4.6.1-gcc43.patch, +ecasound-2.4.6.1.ebuild:
34 + Version bump for bug 220429 with GCC 4.3 patch by Peter Alfredsen.
35
36 16 Jan 2008; Fabian Groffen <grobian@g.o> ecasound-2.4.3.ebuild,
37 ecasound-2.4.4.ebuild, ecasound-2.4.5.ebuild:
38
39
40
41 1.1 media-sound/ecasound/ecasound-2.4.6.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ecasound-2.4.6.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ecasound-2.4.6.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ecasound-2.4.6.1.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/ecasound/ecasound-2.4.6.1.ebuild,v 1.1 2008/05/06 19:18:01 drac Exp $
51
52 inherit eutils multilib python
53
54 DESCRIPTION="a package for multitrack audio processing"
55 HOMEPAGE="http://ecasound.seul.org/ecasound"
56 SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="1"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
61 IUSE="alsa arts audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
62
63 DEPEND="python? ( dev-lang/python )
64 jack? ( media-sound/jack-audio-connection-kit )
65 media-libs/ladspa-sdk
66 audiofile? ( media-libs/audiofile )
67 alsa? ( media-libs/alsa-lib )
68 vorbis? ( media-libs/libvorbis )
69 arts? ( kde-base/arts )
70 libsamplerate? ( media-libs/libsamplerate )
71 mikmod? ( media-libs/libmikmod )
72 ruby? ( dev-lang/ruby )
73 python? ( dev-lang/python )
74 ncurses? ( sys-libs/ncurses )
75 sndfile? ( media-libs/libsndfile )
76 sys-libs/readline"
77
78 pkg_setup() {
79 if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
80 die "Re-emerge media-libs/alsa-lib with USE midi."
81 fi
82 }
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87 epatch "${FILESDIR}"/${P}-gcc43.patch
88 }
89
90 src_compile() {
91 local PYConf
92
93 if use python; then
94 python_version
95 PYConf="--enable-pyecasound=c
96 --with-python-includes=/usr/include/python${PYVER}
97 --with-python-modules=/usr/$(get_libdir)/python${PYVER}"
98 else
99 PYConf="$myconf --disable-pyecasound"
100 fi
101
102 econf $(use_enable alsa) \
103 $(use_enable arts) \
104 $(use_enable audiofile) \
105 $(use_enable debug) \
106 $(use_enable jack) \
107 $(use_enable libsamplerate) \
108 $(use_enable ncurses) \
109 $(use_enable oss) \
110 $(use_enable ruby rubyecasound) \
111 $(use_enable sndfile) \
112 --enable-shared \
113 --with-largefile \
114 --enable-sys-readline \
115 ${PYConf} || die "econf failed"
116
117 emake || die "emake failed"
118 }
119
120 src_install() {
121 emake DESTDIR="${D}" install || die "emake install failed."
122 dodoc BUGS NEWS README TODO Documentation/*.txt
123 use doc && dohtml Documentation/*.html
124 }
125
126 pkg_postinst() {
127 if use python; then
128 ebegin "Byte-compiling ${CATEGORY}/${PF} python modules"
129 python_version
130 local PYMODULE
131 for PYMODULE in ecacontrol.py pyeca.py eci.py; do
132 python_mod_compile "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE}
133 done
134 eend $?
135 fi
136 if use arts; then
137 ewarn "WARNING: You have requested ecasound ARTS support,"
138 ewarn "this is no longer supported and will go away in"
139 ewarn "future releases."
140 fi
141 }
142
143 pkg_postrm() {
144 python_mod_cleanup
145 }
146
147
148
149 --
150 gentoo-commits@l.g.o mailing list