summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-04-05 07:14:01 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-04-05 07:14:01 +0200
commit981088bf33acbf7bc320cf9ed99df80d755c67c9 (patch)
treebd3d2d698a3a3415c7b56d2aa2c29fb6001c05e6 /media-sound/sonic-visualiser
parentmedia-sound/sonic-visualiser: fixed compilation issue (diff)
downloadgentoo-981088bf33acbf7bc320cf9ed99df80d755c67c9.tar.gz
gentoo-981088bf33acbf7bc320cf9ed99df80d755c67c9.tar.bz2
gentoo-981088bf33acbf7bc320cf9ed99df80d755c67c9.zip
media-sound/sonic-visualiser: bump to 4.5
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/Manifest1
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-4.5.ebuild79
2 files changed, 80 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest
index 03ecf5986497..5bab14113538 100644
--- a/media-sound/sonic-visualiser/Manifest
+++ b/media-sound/sonic-visualiser/Manifest
@@ -1 +1,2 @@
DIST sonic-visualiser-4.4.tar.gz 6475000 BLAKE2B 37797b5fdcc397530a8b36bb1727bc56be703738505a117c853616eace41344b9526f98602ec872f4baa157cb1e92044bf7e3ef9079fa24b456453542bcf5763 SHA512 a76a6e5fc2381a3e7c89762687176fa60a8b731951438094af0ecd50103f73104a4366eacf731015573f8d5e5f436cf497a3e0e041363d5158d4f546bdd1f7b0
+DIST sonic-visualiser-4.5.tar.gz 6652200 BLAKE2B a5e39a755e991663390370c06ce5d54b2ff9422081f8b9046097645f1f747972d270233a0d4fe05d4e6adde5239ca6d2d0210a8a67d9ef6ede60089471ce6452 SHA512 eca7f7b2a56a4c70f38c8fafdd20d5c0e773dc1a99a75189998dd1f50ae777df4999e1a4b3431f9202edfb8ce2686d05cf6448493c263c52ab5f068169a7385d
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-4.5.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-4.5.ebuild
new file mode 100644
index 000000000000..36f6a1943011
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-4.5.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESCRIPTION="Music audio files viewer and analiser"
+HOMEPAGE="https://www.sonicvisualiser.org/ https://github.com/sonic-visualiser/sonic-visualiser"
+SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2820/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="id3tag jack mad ogg opus osc +portaudio pulseaudio test"
+
+BDEPEND="
+ dev-qt/qttest:5
+ virtual/pkgconfig
+"
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/capnproto:=
+ dev-libs/serd
+ dev-libs/sord
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5[ssl]
+ 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? ( virtual/jack )
+ mad? ( media-libs/libmad )
+ ogg? (
+ media-libs/libfishsound
+ media-libs/liboggz
+ )
+ opus? ( media-libs/opusfile )
+ osc? ( media-libs/liblo )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}"
+
+# tests fail without mp3 support
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ || ( jack pulseaudio portaudio )
+ test? ( id3tag mad )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.3-meson.build.patch"
+)
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use id3tag)
+ $(meson_use jack)
+ $(meson_use mad)
+ $(meson_use ogg)
+ $(meson_use opus)
+ $(meson_use osc)
+ $(meson_use portaudio)
+ $(meson_use pulseaudio)
+ )
+ meson_src_configure
+}