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