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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.1 2009/04/30 22:14:12 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.2 2009/05/21 14:35:41 ssuominen Exp $
4 4
5EAPI=2 5EAPI=2
6 6
7inherit eutils multilib python 7inherit eutils multilib python
8 8
11SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz" 11SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="1" 14SLOT="1"
15KEYWORDS="~amd64 ~ppc ~sparc ~x86" 15KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16IUSE="alsa arts audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile" 16IUSE="alsa audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
17 17
18DEPEND="python? ( dev-lang/python ) 18DEPEND="python? ( dev-lang/python )
19 jack? ( media-sound/jack-audio-connection-kit ) 19 jack? ( media-sound/jack-audio-connection-kit )
20 media-libs/ladspa-sdk 20 media-libs/ladspa-sdk
21 audiofile? ( media-libs/audiofile ) 21 audiofile? ( media-libs/audiofile )
22 alsa? ( media-libs/alsa-lib[midi] ) 22 alsa? ( media-libs/alsa-lib[midi] )
23 vorbis? ( media-libs/libvorbis ) 23 vorbis? ( media-libs/libvorbis )
24 arts? ( kde-base/arts )
25 libsamplerate? ( media-libs/libsamplerate ) 24 libsamplerate? ( media-libs/libsamplerate )
26 mikmod? ( media-libs/libmikmod ) 25 mikmod? ( media-libs/libmikmod )
27 ruby? ( dev-lang/ruby ) 26 ruby? ( dev-lang/ruby )
28 python? ( dev-lang/python ) 27 python? ( dev-lang/python )
29 ncurses? ( sys-libs/ncurses ) 28 ncurses? ( sys-libs/ncurses )
40 --with-python-modules=/usr/$(get_libdir)/python${PYVER}" 39 --with-python-modules=/usr/$(get_libdir)/python${PYVER}"
41 else 40 else
42 PYConf="$myconf --disable-pyecasound" 41 PYConf="$myconf --disable-pyecasound"
43 fi 42 fi
44 43
45 econf $(use_enable alsa) \ 44 econf \
46 $(use_enable arts) \ 45 $(use_enable alsa) \
46 --disable-arts \
47 $(use_enable audiofile) \ 47 $(use_enable audiofile) \
48 $(use_enable debug) \ 48 $(use_enable debug) \
49 $(use_enable jack) \ 49 $(use_enable jack) \
50 $(use_enable libsamplerate) \ 50 $(use_enable libsamplerate) \
51 $(use_enable ncurses) \ 51 $(use_enable ncurses) \
72 for PYMODULE in ecacontrol.py pyeca.py eci.py; do 72 for PYMODULE in ecacontrol.py pyeca.py eci.py; do
73 python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE} 73 python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE}
74 done 74 done
75 eend $? 75 eend $?
76 fi 76 fi
77 if use arts; then
78 ewarn "WARNING: You have requested ecasound ARTS support,"
79 ewarn "this is no longer supported and will go away in"
80 ewarn "future releases."
81 fi
82} 77}
83 78
84pkg_postrm() { 79pkg_postrm() {
85 python_mod_cleanup 80 python_mod_cleanup
86} 81}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20