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/ecasound: ChangeLog ecasound-2.5.2.ebuild
Date: Fri, 29 Aug 2008 07:30:28
Message-Id: E1KYyR6-0001Ho-MU@stork.gentoo.org
1 aballier 08/08/29 07:30:24
2
3 Modified: ChangeLog
4 Added: ecasound-2.5.2.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
8
9 Revision Changes Path
10 1.47 media-sound/ecasound/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ChangeLog?rev=1.47&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ChangeLog?rev=1.47&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ChangeLog?r1=1.46&r2=1.47
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v
19 retrieving revision 1.46
20 retrieving revision 1.47
21 diff -u -r1.46 -r1.47
22 --- ChangeLog 17 Aug 2008 12:52:40 -0000 1.46
23 +++ ChangeLog 29 Aug 2008 07:30:24 -0000 1.47
24 @@ -1,6 +1,11 @@
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.46 2008/08/17 12:52:40 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.47 2008/08/29 07:30:24 aballier Exp $
29 +
30 +*ecasound-2.5.2 (29 Aug 2008)
31 +
32 + 29 Aug 2008; Alexis Ballier <aballier@g.o> +ecasound-2.5.2.ebuild:
33 + version bump
34
35 *ecasound-2.5.0 (17 Aug 2008)
36
37
38
39
40 1.1 media-sound/ecasound/ecasound-2.5.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ecasound-2.5.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ecasound/ecasound-2.5.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ecasound-2.5.2.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.5.2.ebuild,v 1.1 2008/08/29 07:30:24 aballier Exp $
50
51 inherit eutils multilib python
52
53 DESCRIPTION="a package for multitrack audio processing"
54 HOMEPAGE="http://ecasound.seul.org/ecasound"
55 SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="1"
59 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
60 IUSE="alsa arts audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
61
62 DEPEND="python? ( dev-lang/python )
63 jack? ( media-sound/jack-audio-connection-kit )
64 media-libs/ladspa-sdk
65 audiofile? ( media-libs/audiofile )
66 alsa? ( media-libs/alsa-lib )
67 vorbis? ( media-libs/libvorbis )
68 arts? ( kde-base/arts )
69 libsamplerate? ( media-libs/libsamplerate )
70 mikmod? ( media-libs/libmikmod )
71 ruby? ( dev-lang/ruby )
72 python? ( dev-lang/python )
73 ncurses? ( sys-libs/ncurses )
74 sndfile? ( media-libs/libsndfile )
75 sys-libs/readline"
76
77 pkg_setup() {
78 if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
79 die "Re-emerge media-libs/alsa-lib with USE midi."
80 fi
81 }
82
83 src_compile() {
84 local PYConf
85
86 if use python; then
87 python_version
88 PYConf="--enable-pyecasound=c
89 --with-python-includes=/usr/include/python${PYVER}
90 --with-python-modules=/usr/$(get_libdir)/python${PYVER}"
91 else
92 PYConf="$myconf --disable-pyecasound"
93 fi
94
95 econf $(use_enable alsa) \
96 $(use_enable arts) \
97 $(use_enable audiofile) \
98 $(use_enable debug) \
99 $(use_enable jack) \
100 $(use_enable libsamplerate) \
101 $(use_enable ncurses) \
102 $(use_enable oss) \
103 $(use_enable ruby rubyecasound) \
104 $(use_enable sndfile) \
105 --enable-shared \
106 --with-largefile \
107 --enable-sys-readline \
108 ${PYConf} || die "econf failed"
109
110 emake || die "emake failed"
111 }
112
113 src_install() {
114 emake DESTDIR="${D}" install || die "emake install failed."
115 dodoc BUGS NEWS README TODO Documentation/*.txt
116 use doc && dohtml Documentation/*.html
117 }
118
119 pkg_postinst() {
120 if use python; then
121 ebegin "Byte-compiling ${CATEGORY}/${PF} python modules"
122 python_version
123 local PYMODULE
124 for PYMODULE in ecacontrol.py pyeca.py eci.py; do
125 python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE}
126 done
127 eend $?
128 fi
129 if use arts; then
130 ewarn "WARNING: You have requested ecasound ARTS support,"
131 ewarn "this is no longer supported and will go away in"
132 ewarn "future releases."
133 fi
134 }
135
136 pkg_postrm() {
137 python_mod_cleanup
138 }