diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-15 17:46:25 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-15 17:46:25 +0000 |
commit | 2f415f09b25c4ebe88e9ae547385b910713f6e38 (patch) | |
tree | dce6a92df1f65f60a91a552e9936585b57479a60 /media-sound/audacity/audacity-1.2.3-r1.ebuild | |
parent | added libsamplerate useflag to media-sound/audacity (diff) | |
download | gentoo-2-2f415f09b25c4ebe88e9ae547385b910713f6e38.tar.gz gentoo-2-2f415f09b25c4ebe88e9ae547385b910713f6e38.tar.bz2 gentoo-2-2f415f09b25c4ebe88e9ae547385b910713f6e38.zip |
applied cleanup patch which was provided by Diego Pettenò <dgp85@users.sourceforge.net>, fixes #74224 and #83301
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound/audacity/audacity-1.2.3-r1.ebuild')
-rw-r--r-- | media-sound/audacity/audacity-1.2.3-r1.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/audacity/audacity-1.2.3-r1.ebuild b/media-sound/audacity/audacity-1.2.3-r1.ebuild new file mode 100644 index 000000000000..8bf454c75d23 --- /dev/null +++ b/media-sound/audacity/audacity-1.2.3-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.2.3-r1.ebuild,v 1.1 2005/04/15 17:46:25 luckyduck Exp $ + +inherit wxwidgets eutils + +IUSE="gtk2 encode flac mad oggvorbis libsamplerate" + +MY_PV="${PV/_/-}" +MY_P="${PN}-src-${MY_PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Free crossplatform audio editor" +HOMEPAGE="http://audacity.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" + +# amd64: causes xfce pannel to crash... +# Bad x86 assembly: #73248 +KEYWORDS="~amd64 ~ppc ~sparc -x86 ~ppc64" + +DEPEND=">=x11-libs/wxGTK-2.4.2-r1 + >=app-arch/zip-2.3 + >=media-libs/id3lib-3.8.0 + media-libs/libid3tag + >=media-libs/libsndfile-1.0.0 + libsamplerate? ( >=media-libs/libsamplerate-0.0.14 ) + >=media-libs/ladspa-sdk-1.12 + flac? ( media-libs/flac ) + oggvorbis? ( >=media-libs/libvorbis-1.0 ) + mad? ( media-libs/libmad ) + encode? ( >=media-sound/lame-3.92 )" + +WX_GTK_VER="2.4" + +src_compile() { + if ! use gtk2; then + need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found" + else + need-wxwidgets gtk2 || die "No gtk2 version of x11-libs/wxGTK found" + fi + + econf \ + $(use_with mad libmad system) \ + $(use_with oggvorbis vorbis system) \ + $(use_with flac libflac system) \ + $(use_with libsamplerate system) \ + --with-id3tag=system \ + --with-libsndfile=system \ + ${myconf} || die + + # parallel borks + emake -j1 || die +} + +src_install() { + make DESTDIR="${D}" install || die + + # Install our docs + dodoc LICENSE.txt README.txt audacity-1.2-help.htb + + # Remove bad doc install + rm -rf ${D}/share/doc + + insinto /usr/share/icons/hicolor/48x48/apps + newins images/AudacityLogo48x48.xpm audacity.xpm + + make_desktop_entry audacity Audacity audacity +} |