summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-18 19:12:43 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-18 19:12:43 +0000
commitdb6973c4415b401278b98e02d9bf85df61c91d5f (patch)
tree62184cd125f4937ab826ae7cf501f40b89302aca /media-sound/sonic-visualiser
parentppc stable (bug #199571) (diff)
downloadhistorical-db6973c4415b401278b98e02d9bf85df61c91d5f.tar.gz
historical-db6973c4415b401278b98e02d9bf85df61c91d5f.tar.bz2
historical-db6973c4415b401278b98e02d9bf85df61c91d5f.zip
initial import, ebuild greatly inspired from the proaudio overlay
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/ChangeLog11
-rw-r--r--media-sound/sonic-visualiser/Manifest30
-rw-r--r--media-sound/sonic-visualiser/files/digest-sonic-visualiser-1.03
-rw-r--r--media-sound/sonic-visualiser/files/sonic-visualiser-1.0-loarg.patch13
-rw-r--r--media-sound/sonic-visualiser/metadata.xml5
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-1.0.ebuild75
6 files changed, 137 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/ChangeLog b/media-sound/sonic-visualiser/ChangeLog
new file mode 100644
index 000000000000..5b817bb1c5f6
--- /dev/null
+++ b/media-sound/sonic-visualiser/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/sonic-visualiser
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.1 2007/11/18 19:12:43 aballier Exp $
+
+*sonic-visualiser-1.0 (18 Nov 2007)
+
+ 18 Nov 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/sonic-visualiser-1.0-loarg.patch, +metadata.xml,
+ +sonic-visualiser-1.0.ebuild:
+ initial import, ebuild greatly inspired from the proaudio overlay
+
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest
new file mode 100644
index 000000000000..470e0e7fa6e1
--- /dev/null
+++ b/media-sound/sonic-visualiser/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX sonic-visualiser-1.0-loarg.patch 610 RMD160 b30c2fceb36ffbfff555945244ed19e40b57bb99 SHA1 f96b5464bab480b5391e0615505b1f6ce54d5841 SHA256 ec189cbfa332a606a606dd29d29f0b0815c962e39c83d90a90d47a62cfbf7f56
+MD5 7705bfbec5b3b38a16400e867081cb4c files/sonic-visualiser-1.0-loarg.patch 610
+RMD160 b30c2fceb36ffbfff555945244ed19e40b57bb99 files/sonic-visualiser-1.0-loarg.patch 610
+SHA256 ec189cbfa332a606a606dd29d29f0b0815c962e39c83d90a90d47a62cfbf7f56 files/sonic-visualiser-1.0-loarg.patch 610
+DIST sonic-visualiser-1.0.tar.gz 1170338 RMD160 9e2dfc5f19fa6789caba2a9db32db1250444348b SHA1 c516f56c40f1596c9847cc1c1c8b9d05bce84805 SHA256 3a65595bcd187a471aa962fcc5d7463fb12e690dffe75f20545b0d7e7ed99c83
+EBUILD sonic-visualiser-1.0.ebuild 1949 RMD160 d2371c96f3d8a406acc3645717098bf7dc0d2477 SHA1 2a61de6277b4a5fa4436bd663ec4930ea79b704e SHA256 b2cb528cec4623028fb8b1f8afe948ff6a0859bb97ee75f8211f16176e878d0d
+MD5 201fc0fafa4c07e9b6d6587a84b5b0f5 sonic-visualiser-1.0.ebuild 1949
+RMD160 d2371c96f3d8a406acc3645717098bf7dc0d2477 sonic-visualiser-1.0.ebuild 1949
+SHA256 b2cb528cec4623028fb8b1f8afe948ff6a0859bb97ee75f8211f16176e878d0d sonic-visualiser-1.0.ebuild 1949
+MISC ChangeLog 479 RMD160 28fca5f28f40cf96cfc2e3301a9fbce92aedad2e SHA1 7c5b005a2dfb95c5cae6b910e068c800ea8e70e5 SHA256 08ef9cfc4785ea399e500ab6aeba683ec690f38c129503898e34ce8c6b1cd395
+MD5 bf20bf9830159b2b86c7775b7ad06419 ChangeLog 479
+RMD160 28fca5f28f40cf96cfc2e3301a9fbce92aedad2e ChangeLog 479
+SHA256 08ef9cfc4785ea399e500ab6aeba683ec690f38c129503898e34ce8c6b1cd395 ChangeLog 479
+MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e
+MD5 f62f5a9cf5fe86389cf2bf4d85244ef5 metadata.xml 161
+RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 metadata.xml 161
+SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e metadata.xml 161
+MD5 bd3ab11fc506831dc05ed668868afe38 files/digest-sonic-visualiser-1.0 265
+RMD160 8b9d9be752db6acf22d614d0b7aeb20fd3387454 files/digest-sonic-visualiser-1.0 265
+SHA256 0f8e51317f6d1f00e09523850ef346cf02c40da92563f20f76babe08e8c6eea7 files/digest-sonic-visualiser-1.0 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHQI7LvFcC4BYPU0oRAlYTAKC544xGvuhiVIZZ21AsSJeORWPKegCeJ6rY
+OdUYEA7NcyZ/WZyqUuAPsVE=
+=84wt
+-----END PGP SIGNATURE-----
diff --git a/media-sound/sonic-visualiser/files/digest-sonic-visualiser-1.0 b/media-sound/sonic-visualiser/files/digest-sonic-visualiser-1.0
new file mode 100644
index 000000000000..299f4ead7f7f
--- /dev/null
+++ b/media-sound/sonic-visualiser/files/digest-sonic-visualiser-1.0
@@ -0,0 +1,3 @@
+MD5 1df2731920628b41563153fc37959ed5 sonic-visualiser-1.0.tar.gz 1170338
+RMD160 9e2dfc5f19fa6789caba2a9db32db1250444348b sonic-visualiser-1.0.tar.gz 1170338
+SHA256 3a65595bcd187a471aa962fcc5d7463fb12e690dffe75f20545b0d7e7ed99c83 sonic-visualiser-1.0.tar.gz 1170338
diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-1.0-loarg.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-1.0-loarg.patch
new file mode 100644
index 000000000000..c6026526ac20
--- /dev/null
+++ b/media-sound/sonic-visualiser/files/sonic-visualiser-1.0-loarg.patch
@@ -0,0 +1,13 @@
+Index: sonic-visualiser-1.0/sv/osc/OSCQueue.cpp
+===================================================================
+--- sonic-visualiser-1.0.orig/sv/osc/OSCQueue.cpp
++++ sonic-visualiser-1.0/sv/osc/OSCQueue.cpp
+@@ -61,7 +61,7 @@ OSCQueue::oscMessageHandler(const char *
+
+ switch (type) {
+ case 'i': message.addArg(arg->i); break;
+- case 'h': message.addArg(arg->h); break;
++ case 'h': message.addArg((int)arg->h); break;
+ case 'f': message.addArg(arg->f); break;
+ case 'd': message.addArg(arg->d); break;
+ case 'c': message.addArg(arg->c); break;
diff --git a/media-sound/sonic-visualiser/metadata.xml b/media-sound/sonic-visualiser/metadata.xml
new file mode 100644
index 000000000000..0dc3775f83d7
--- /dev/null
+++ b/media-sound/sonic-visualiser/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proaudio</herd>
+</pkgmetadata>
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-1.0.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-1.0.ebuild
new file mode 100644
index 000000000000..a142804dde92
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-1.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 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.0.ebuild,v 1.1 2007/11/18 19:12:43 aballier Exp $
+
+inherit eutils qt4
+
+DESCRIPTION="Music audio files viewer and analiser"
+HOMEPAGE="http://www.sonicvisualiser.org/"
+SRC_URI="mirror://sourceforge/sv1/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="fftw jack mad ogg"
+
+RDEPEND="$(qt4_min_version 4.2)
+ 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
+ jack? ( media-sound/jack-audio-connection-kit )
+ mad? ( media-libs/libmad )
+ 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:-O2 -march=pentium3 -mfpmath=sse::" sv.prf
+
+ epatch "${FILESDIR}/${P}-loarg.patch"
+}
+
+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
+ 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}" "AudioVideo;Audio;"
+}