diff options
author | Michael Weber <xmw@gentoo.org> | 2010-10-06 00:02:39 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-10-06 00:02:39 +0000 |
commit | 6db9eb1a45f7a8777af5f2fea3211d31cf148afb (patch) | |
tree | dbf525ad657521c421b8cf8e01d997246ed6918e /media-sound/sonic-visualiser | |
parent | Mask KDE SC 4.5.2 because of unkeyworded deps bug #336158 (diff) | |
download | gentoo-2-6db9eb1a45f7a8777af5f2fea3211d31cf148afb.tar.gz gentoo-2-6db9eb1a45f7a8777af5f2fea3211d31cf148afb.tar.bz2 gentoo-2-6db9eb1a45f7a8777af5f2fea3211d31cf148afb.zip |
Version bump
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r-- | media-sound/sonic-visualiser/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/sonic-visualiser/sonic-visualiser-1.7.2.ebuild | 85 |
2 files changed, 93 insertions, 2 deletions
diff --git a/media-sound/sonic-visualiser/ChangeLog b/media-sound/sonic-visualiser/ChangeLog index cb3c3245df94..a2db50619515 100644 --- a/media-sound/sonic-visualiser/ChangeLog +++ b/media-sound/sonic-visualiser/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/sonic-visualiser -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.17 2009/11/04 10:26:12 aballier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.18 2010/10/06 00:02:39 xmw Exp $ + +*sonic-visualiser-1.7.2 (06 Oct 2010) + + 06 Oct 2010; Michael Weber <xmw@gentoo.org> + +sonic-visualiser-1.7.2.ebuild: + Version bump (bug 339797) *sonic-visualiser-1.7.1 (04 Nov 2009) diff --git a/media-sound/sonic-visualiser/sonic-visualiser-1.7.2.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-1.7.2.ebuild new file mode 100644 index 000000000000..e12c178283d9 --- /dev/null +++ b/media-sound/sonic-visualiser/sonic-visualiser-1.7.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/sonic-visualiser-1.7.2.ebuild,v 1.1 2010/10/06 00:02:39 xmw Exp $ + +EAPI=2 + +inherit eutils qt4 + +DESCRIPTION="Music audio files viewer and analiser" +HOMEPAGE="http://www.sonicvisualiser.org/" +SRC_URI="mirror://sourceforge/sv1/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fftw id3tag jack mad ogg osc portaudio pulseaudio" + +RDEPEND="x11-libs/qt-core:4 + x11-libs/qt-gui:4 + media-libs/libsndfile + media-libs/libsamplerate + fftw? ( =sci-libs/fftw-3* ) + app-arch/bzip2 + >=media-libs/dssi-0.9.1 + media-libs/raptor + media-libs/liblrdf + dev-libs/redland + media-libs/ladspa-sdk + osc? ( media-libs/liblo ) + media-libs/speex + >=media-libs/vamp-plugin-sdk-2.0 + media-libs/rubberband + jack? ( media-sound/jack-audio-connection-kit ) + !pulseaudio? ( !portaudio? ( media-sound/jack-audio-connection-kit ) ) + mad? ( media-libs/libmad ) + id3tag? ( media-libs/libid3tag ) + ogg? ( media-libs/libfishsound media-libs/liboggz ) + portaudio? ( >=media-libs/portaudio-19_pre20071207 ) + pulseaudio? ( media-sound/pulseaudio )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9" + +pkg_setup() { + use !jack && use !pulseaudio && use !portaudio && ewarn "You must have at least one of: jack, pulseaudio, portaudio enabled. We will enable jack for you." +} + +src_prepare() { + # remove crap + sed -i -e "s:-O3::" prf/sv.prf + has_version '>=media-libs/liboggz-1.1.0' && epatch "${FILESDIR}/${PN}-1.7.1-liboggz11.patch" +} + +sv_disable_opt() { + einfo "Disabling $1" + sed -i -e "s/ $1//" "${S}/prf/sv.prf" || die "failed to remove $1 support" +} + +src_compile() { + (use jack || ( use !pulseaudio && use !portaudio)) || sv_disable_opt jack + use ogg || sv_disable_opt fishsound + use ogg || sv_disable_opt oggz + use mad || sv_disable_opt mad + use fftw || sv_disable_opt fftw3f + use fftw || sv_disable_opt fftw3 + use id3tag || sv_disable_opt id3tag + use pulseaudio || sv_disable_opt libpulse + use portaudio || sv_disable_opt portaudio + use osc || sv_disable_opt liblo + + eqmake4 + emake || die "Compilation failed" +} + +src_install() { + dobin sv/sonic-visualiser + dodoc README README.OSC + dodir /usr/share/${PN} + #install samples + insinto /usr/share/${PN}/samples + doins sv/samples/* + # desktop entry + newicon "sv/icons/sv-48x48.png" "${PN}.png" + make_desktop_entry "${PN}" "Sonic Visualiser" "${PN}" +} |