summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-09-25 08:45:30 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-09-25 08:59:00 +0200
commit8290d287bdcb2c86c91a142f2092a0d0ef12d814 (patch)
tree78cd2f0ccffbc65d347d19ea39f60860e20ceec1 /media-sound
parentdev-python/django-filter: add github upstream metadata (diff)
downloadgentoo-8290d287bdcb2c86c91a142f2092a0d0ef12d814.tar.gz
gentoo-8290d287bdcb2c86c91a142f2092a0d0ef12d814.tar.bz2
gentoo-8290d287bdcb2c86c91a142f2092a0d0ef12d814.zip
media-sound/sonic-visualiser: bump to 4.4
Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/sonic-visualiser/Manifest1
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-4.4.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest
index e46e9c9a5c9b..f2eba83a8b98 100644
--- a/media-sound/sonic-visualiser/Manifest
+++ b/media-sound/sonic-visualiser/Manifest
@@ -1 +1,2 @@
DIST sonic-visualiser-4.3.tar.gz 6467269 BLAKE2B 4c9bbfc751f94dfc0e8c93a8ba791b0a4bf949fe1f528a081da583ad720dcb25b3e6f84e31104f11ab5003b338b62a1ca1a9572bc9ec820d0a4269d25cbe0e04 SHA512 cbe0edee9f346545222e05156e4536710db932d6ec335687e91f2f4b24582e7f47703a3ecade87574ead8fa78dca821fd9ff2eb0d6e44c2b9c33c8d053fd738d
+DIST sonic-visualiser-4.4.tar.gz 6475000 BLAKE2B 37797b5fdcc397530a8b36bb1727bc56be703738505a117c853616eace41344b9526f98602ec872f4baa157cb1e92044bf7e3ef9079fa24b456453542bcf5763 SHA512 a76a6e5fc2381a3e7c89762687176fa60a8b731951438094af0ecd50103f73104a4366eacf731015573f8d5e5f436cf497a3e0e041363d5158d4f546bdd1f7b0
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-4.4.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-4.4.ebuild
new file mode 100644
index 000000000000..8d1d65fccee0
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-4.4.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson xdg
+
+DESCRIPTION="Music audio files viewer and analiser"
+HOMEPAGE="https://www.sonicvisualiser.org/ https://github.com/sonic-visualiser/sonic-visualiser"
+# original location is this, but there is an certificate issue:
+# https://code.soundsoftware.ac.uk/attachments/download/2811/sonic-visualiser-4.4.tar.gz
+# the tarball from github misses some files so it cannot be used
+SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/${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
+ 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
+}