summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-02-28 09:42:45 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-02-28 09:42:45 +0000
commit0f0f514cb8e686bd096a2d15302720ab2a44f40b (patch)
tree22356506a3d0f296dc6cae862ea2afff9a6f2126 /media-sound/sonic-visualiser
parentsonicvisualiser id3tag useflag (diff)
downloadgentoo-2-0f0f514cb8e686bd096a2d15302720ab2a44f40b.tar.gz
gentoo-2-0f0f514cb8e686bd096a2d15302720ab2a44f40b.tar.bz2
gentoo-2-0f0f514cb8e686bd096a2d15302720ab2a44f40b.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/ChangeLog8
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-1.2.ebuild76
2 files changed, 83 insertions, 1 deletions
diff --git a/media-sound/sonic-visualiser/ChangeLog b/media-sound/sonic-visualiser/ChangeLog
index 6863280838f5..f24e59d5bf81 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.2 2008/01/04 02:55:02 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.3 2008/02/28 09:42:45 aballier Exp $
+
+*sonic-visualiser-1.2 (28 Feb 2008)
+
+ 28 Feb 2008; Alexis Ballier <aballier@gentoo.org>
+ +sonic-visualiser-1.2.ebuild:
+ version bump
04 Jan 2008; Stefan Briesenick <sbriesen@gentoo.org>
sonic-visualiser-1.0.ebuild:
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-1.2.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-1.2.ebuild
new file mode 100644
index 000000000000..3d939925bfc0
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-1.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2008 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.2.ebuild,v 1.1 2008/02/28 09:42:45 aballier Exp $
+
+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"
+
+RDEPEND="$(qt4_min_version 4.3)
+ 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
+ media-libs/ladspa-sdk
+ media-libs/liblo
+ media-libs/libfishsound
+ media-libs/speex
+ media-libs/vamp-plugin-sdk
+ media-libs/rubberband
+ jack? ( media-sound/jack-audio-connection-kit )
+ mad? ( media-libs/libmad )
+ id3tag? ( media-libs/libid3tag )
+ ogg? ( media-libs/libfishsound media-libs/liboggz )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # needs portaudio v19
+ sed -i -e "s:DEFINES += HAVE_PORTAUDIO:#DEFINES += HAVE_PORTAUDIO:" \
+ -e "s:LIBS += -lportaudio:#LIBS += -lportaudio:" \
+ sv.prf
+ # remove crap
+ sed -i -e "s:-O3 -march=pentium3 -msse -mmmx::" sv.prf
+}
+
+sv_disable_opt() {
+ find . -name "*.pro" -exec sed -i -e "s/ $1//" {} \; || die "failed to remove $1 support"
+}
+
+src_compile() {
+ use jack || 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 id3tag || sv_disable_opt id3tag
+ sv_disable_opt portaudio
+
+ eqmake4
+ emake -j1 || 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}"
+}