summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-03-09 11:04:08 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-03-09 11:04:08 +0000
commit54080958366b221865cdd2c8f43c9e867fa01836 (patch)
tree905fc2631906d3a422337a3a235ed7abc586fa3f /media-sound
parentamd64 stable, bug 499954 (diff)
downloadgentoo-2-54080958366b221865cdd2c8f43c9e867fa01836.tar.gz
gentoo-2-54080958366b221865cdd2c8f43c9e867fa01836.tar.bz2
gentoo-2-54080958366b221865cdd2c8f43c9e867fa01836.zip
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/sonic-visualiser/ChangeLog10
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild96
2 files changed, 104 insertions, 2 deletions
diff --git a/media-sound/sonic-visualiser/ChangeLog b/media-sound/sonic-visualiser/ChangeLog
index 84c8d6cf84ad..e00ff4a581e4 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.27 2013/03/02 22:03:47 hwoarang Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.28 2014/03/09 11:04:08 aballier Exp $
+
+*sonic-visualiser-2.3 (09 Mar 2014)
+
+ 09 Mar 2014; Alexis Ballier <aballier@gentoo.org>
+ +sonic-visualiser-2.3.ebuild:
+ version bump
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org>
sonic-visualiser-1.9.ebuild:
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild
new file mode 100644
index 000000000000..6a74b4994fb4
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild,v 1.1 2014/03/09 11:04:08 aballier Exp $
+
+EAPI=4
+inherit eutils qt4-r2 autotools fdo-mime
+
+DESCRIPTION="Music audio files viewer and analiser"
+HOMEPAGE="http://www.sonicvisualiser.org/"
+SRC_URI="http://code.soundsoftware.ac.uk/attachments/download/918/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="id3tag jack mad ogg osc +portaudio pulseaudio"
+
+RDEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ media-libs/libsndfile
+ media-libs/libsamplerate
+ app-arch/bzip2
+ >=media-libs/dssi-0.9.1
+ media-libs/liblrdf
+ media-libs/ladspa-sdk
+ media-libs/speex
+ >=media-libs/vamp-plugin-sdk-2.0
+ media-libs/rubberband
+ dev-libs/sord
+ dev-libs/serd
+ sci-libs/fftw:3.0
+ osc? ( media-libs/liblo )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ jack? ( media-sound/jack-audio-connection-kit )
+ mad? ( media-libs/libmad )
+ id3tag? ( media-libs/libid3tag )
+ ogg? ( media-libs/libfishsound >=media-libs/liboggz-1.1.0 )
+ pulseaudio? ( media-sound/pulseaudio )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+REQUIRED_USE="|| ( jack pulseaudio portaudio )"
+
+sv_disable_opt() {
+ einfo "Disabling $1"
+ for i in . svapp svcore svgui ; do
+ sed -i -e "/$1/d" "${S}/$i/configure.ac" || die "failed to remove $1 support"
+ done
+}
+
+src_prepare() {
+ use id3tag || sv_disable_opt id3tag
+ use jack || sv_disable_opt jack
+ use mad || sv_disable_opt mad
+ use ogg || sv_disable_opt fishsound
+ use ogg || sv_disable_opt oggz
+ use osc || sv_disable_opt liblo
+ use portaudio || sv_disable_opt portaudio
+ use pulseaudio || sv_disable_opt libpulse
+
+ eautoreconf
+}
+
+src_configure() {
+ econf
+ eqmake4
+}
+
+src_compile() {
+ # de parallelize a bit otherwise it fails...
+ emake sub-dataquay-lib-pro
+ emake sub-svcore
+ emake sub-svgui
+ emake sub-svapp
+ emake
+}
+
+src_install() {
+ cd ${PN}
+ dobin ${PN}
+ dodoc README*
+ #install samples
+ insinto /usr/share/${PN}/samples
+ doins samples/*
+ # desktop entry
+ doicon icons/sv-icon.svg
+ domenu *.desktop
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}