/[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.9 - (hide annotations) (download)
Fri Jan 20 12:29:31 2012 UTC (8 years, 1 month ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
force libmikmod to slot 0, as ssuominen suggested

(Portage version: 2.1.10.41/cvs/Linux x86_64)

1 ago 1.9 # Copyright 1999-2012 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.9 # $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.8 2011/07/24 18:15:44 armin76 Exp $
4 patrick 1.1
5 arfrever 1.7 EAPI=3
6 patrick 1.1
7 arfrever 1.7 inherit eutils python
8 patrick 1.1
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 armin76 1.8 KEYWORDS="amd64 ~ppc x86"
16 ssuominen 1.2 IUSE="alsa audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
17 patrick 1.1
18 ssuominen 1.4 RDEPEND="python? ( dev-lang/python )
19 patrick 1.1 jack? ( media-sound/jack-audio-connection-kit )
20     media-libs/ladspa-sdk
21     audiofile? ( media-libs/audiofile )
22 ssuominen 1.6 alsa? ( media-libs/alsa-lib )
23 patrick 1.1 vorbis? ( media-libs/libvorbis )
24     libsamplerate? ( media-libs/libsamplerate )
25 ago 1.9 mikmod? ( media-libs/libmikmod:0 )
26 patrick 1.1 ruby? ( dev-lang/ruby )
27     python? ( dev-lang/python )
28     ncurses? ( sys-libs/ncurses )
29     sndfile? ( media-libs/libsndfile )
30     sys-libs/readline"
31 ssuominen 1.4 DEPEND="${RDEPEND}"
32 patrick 1.1
33     src_configure() {
34     local PYConf
35    
36     if use python; then
37     PYConf="--enable-pyecasound=c
38 arfrever 1.7 --with-python-includes=$(python_get_includedir)
39     --with-python-modules=$(python_get_libdir)"
40 patrick 1.1 else
41     PYConf="$myconf --disable-pyecasound"
42     fi
43    
44 ssuominen 1.2 econf \
45     $(use_enable alsa) \
46     --disable-arts \
47 patrick 1.1 $(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 arfrever 1.7 python_mod_optimize ecacontrol.py eci.py pyeca.py
70 patrick 1.1 fi
71     }
72    
73     pkg_postrm() {
74 arfrever 1.7 if use python; then
75     python_mod_cleanup ecacontrol.py eci.py pyeca.py
76     fi
77 patrick 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20