/[gentoo-x86]/media-sound/ecasound/ecasound-2.6.0.ebuild
Gentoo

Contents of /media-sound/ecasound/ecasound-2.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Jun 23 14:19:23 2010 UTC (9 years, 7 months ago) by arfrever
Branch: MAIN
Changes since 1.6: +10 -15 lines
Delete deprecation warnings (bug #313945).
(Portage version: HEAD/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.6 2009/08/01 06:24:06 ssuominen Exp $
4
5 EAPI=3
6
7 inherit eutils python
8
9 DESCRIPTION="a package for multitrack audio processing"
10 HOMEPAGE="http://ecasound.seul.org/ecasound"
11 SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="1"
15 KEYWORDS="amd64 ~ppc sparc x86"
16 IUSE="alsa audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
17
18 RDEPEND="python? ( dev-lang/python )
19 jack? ( media-sound/jack-audio-connection-kit )
20 media-libs/ladspa-sdk
21 audiofile? ( media-libs/audiofile )
22 alsa? ( media-libs/alsa-lib )
23 vorbis? ( media-libs/libvorbis )
24 libsamplerate? ( media-libs/libsamplerate )
25 mikmod? ( media-libs/libmikmod )
26 ruby? ( dev-lang/ruby )
27 python? ( dev-lang/python )
28 ncurses? ( sys-libs/ncurses )
29 sndfile? ( media-libs/libsndfile )
30 sys-libs/readline"
31 DEPEND="${RDEPEND}"
32
33 src_configure() {
34 local PYConf
35
36 if use python; then
37 PYConf="--enable-pyecasound=c
38 --with-python-includes=$(python_get_includedir)
39 --with-python-modules=$(python_get_libdir)"
40 else
41 PYConf="$myconf --disable-pyecasound"
42 fi
43
44 econf \
45 $(use_enable alsa) \
46 --disable-arts \
47 $(use_enable audiofile) \
48 $(use_enable debug) \
49 $(use_enable jack) \
50 $(use_enable libsamplerate) \
51 $(use_enable ncurses) \
52 $(use_enable oss) \
53 $(use_enable ruby rubyecasound) \
54 $(use_enable sndfile) \
55 --enable-shared \
56 --with-largefile \
57 --enable-sys-readline \
58 ${PYConf} || die "econf failed"
59 }
60
61 src_install() {
62 emake DESTDIR="${D}" install || die "emake install failed."
63 dodoc BUGS NEWS README TODO Documentation/*.txt
64 use doc && dohtml Documentation/*.html
65 }
66
67 pkg_postinst() {
68 if use python; then
69 python_mod_optimize ecacontrol.py eci.py pyeca.py
70 fi
71 }
72
73 pkg_postrm() {
74 if use python; then
75 python_mod_cleanup ecacontrol.py eci.py pyeca.py
76 fi
77 }

  ViewVC Help
Powered by ViewVC 1.1.20