summaryrefslogtreecommitdiff
path: root/media-sound/sonic-visualiser
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/Manifest2
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild118
2 files changed, 120 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest
index a2c09cca2218..cad876cf2973 100644
--- a/media-sound/sonic-visualiser/Manifest
+++ b/media-sound/sonic-visualiser/Manifest
@@ -1,5 +1,7 @@
AUX notest.patch 1545 BLAKE2B f0d6f44eed7811ce3a9c12f1044844a806214489787b90d2d27590fc2bff746d2fb8511a75874e3bfbfd5c5563dd642534e904706dd029d057986344c207c900 SHA512 c3e9fbb8f1844d9faa35b318ffebfe6c64672f329ac584a101bf1e3c5736916666e7c100863de7db50f89b8f98b8a2e267e82e4aad457cbbaa875da0322bb0f6
AUX piper.capnp 19756 BLAKE2B f852a7e9890e8e3fe3742115a10ffaa5d9793f48b37afc3d608f01f4548d799b00c7770186548384e9f5e85378c6b51167693cf25648aa5cdbf1e2ee353cce78 SHA512 c520116c978f8abbc747d3a465c006ec800cf1dd5f8f96f7c5879d88ae81fcc09f3a2640f9212b74f41f5b28269a17f35aac3521be946c66b599419c39a95720
DIST sonic-visualiser-3.0.2.tar.gz 5123229 BLAKE2B 767be64ae74a47e2d1fb2e1b9a93384999c3567613f0b9662d3c5063fd0d951398c6bf4f3ce118545f83f707647461a92e152cabb0596a80dae0284f8415188c SHA512 25259df72175e397c63e76dca25f0099139c6569153c1e5750f90bcf5d661f20dd8c02aba53272567e72e661bfc66ec19cb3b3066795f978a6b76c826a5bf825
+DIST sonic-visualiser-3.1.1.tar.gz 5304359 BLAKE2B 79c9d1d55ea2ec939fdb7abe656ab81aae72862d139eda4e62037e0231c596cf725b4fd5741216e6413bc25e659798dee3b0e06f55063a9ad73f0d9204f76d84 SHA512 e83efffb62179e67a0e5fd7352f63f5a0210102a7fb38c5ad486479a3749f68a44fec2d1843d1c1ca826ba0004bf421811a270a0a50e3f89f71d956dc7a76ae7
EBUILD sonic-visualiser-3.0.2.ebuild 2639 BLAKE2B 589b386d5d208d4d93d4ef6a160f233769ff89d9145a46d36426617586bb21176d105122cc94c80dc9b713f0063e69a8d129b59b70f094987a546fac7d378cc1 SHA512 c5704adef2c1ff04ef12e1b20a566e583a0d68deb6ffa1be41a7c0131030f77e329d0d59cd7df97b96f4d008e0684ff18ebe886879b311683738e2439c3153ac
+EBUILD sonic-visualiser-3.1.1.ebuild 2678 BLAKE2B 973202ef9f34738c2ede4ffebd589b5c9a75bf8af6609471e60a0d74b163562493fc469273a30575e4c0ee1fcfda0697d3539af7b7f330cd2c8c2915b7afc120 SHA512 2ae7a8242714a67ee0bb6ff2c2438e1ecb584439ce423b974bbe1c7baa85737a8a6e7d27395dbb57e073671e41fe1404bda4a65affb9b522d5f92b05dccb6d61
MISC metadata.xml 353 BLAKE2B a43c47637d7677bb228f7f1be5c106785dc7fb429a831858e1dbcb222fc016676c855e888b31070a363c658d7904b80e09a0fd13c424f9d12ee4bbf9211ac023 SHA512 812f7ef25b8bde0654650ac3f3ddd1e18bfc828db0b5709fdf4c57017438ea118b7d7d14c9dd7006cb7fa63aeb72a25d155ec60beb0eca36bfbd292ecf5faa3f
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
new file mode 100644
index 000000000000..feed92ce32e0
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools desktop qmake-utils xdg-utils
+
+DESCRIPTION="Music audio files viewer and analiser"
+HOMEPAGE="https://www.sonicvisualiser.org/"
+SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2391/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="id3tag jack mad ogg osc +portaudio pulseaudio"
+
+RDEPEND="
+ app-arch/bzip2
+ >=dev-libs/capnproto-0.6:=
+ dev-libs/serd
+ dev-libs/sord
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ media-libs/alsa-lib
+ media-libs/dssi
+ media-libs/ladspa-sdk
+ media-libs/liblrdf
+ media-libs/libsamplerate
+ media-libs/libsndfile
+ media-libs/rubberband
+ media-libs/speex
+ media-libs/vamp-plugin-sdk
+ sci-libs/fftw:3.0=
+ id3tag? ( media-libs/libid3tag )
+ jack? ( media-sound/jack-audio-connection-kit )
+ mad? ( media-libs/libmad )
+ ogg? (
+ media-libs/libfishsound
+ >=media-libs/liboggz-1.1.0
+ )
+ osc? ( media-libs/liblo )
+ portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+ dev-qt/qttest:5
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="|| ( jack pulseaudio portaudio )"
+
+PATCHES=( "${FILESDIR}/notest.patch" )
+
+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() {
+ default
+
+ 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
+
+ # Those need to be regenerated as they must match current capnproto version
+ einfo "Regenerating piper capnproto files"
+ rm -f piper-cpp/vamp-capnp/piper.capnp.* || die
+ mkdir -p piper/capnp || die
+ cp "${FILESDIR}/piper.capnp" piper/capnp/ || die
+ cd piper-cpp || die
+ emake vamp-capnp/piper.capnp.h
+}
+
+src_configure() {
+ export QMAKE="$(qt5_get_bindir)"/qmake
+ econf
+ eqmake5 -r sonic-visualiser.pro
+}
+
+src_test() {
+ for i in test-svcore-base test-svcore-data-fileio test-svcore-data-model ; do
+ einfo "Running ${i}"
+ ./${i} || die
+ done
+}
+
+src_install() {
+ dobin ${PN} piper-vamp-simple-server piper-convert vamp-plugin-load-checker
+ dodoc README*
+ #install samples
+ insinto /usr/share/${PN}/samples
+ doins samples/*
+ # desktop entry
+ doicon icons/sv-icon.svg
+ domenu *.desktop
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}