summaryrefslogtreecommitdiff
path: root/media-sound/sonic-visualiser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-01 03:04:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-01 03:04:34 +0000
commitaac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 (patch)
treec95b33a77f5b447d4d4e83204c5a846a5c481a08 /media-sound/sonic-visualiser
parentb846e1a1ef5685462a20abbc77cf57ead9064b85 (diff)
gentoo auto-resync : 01:11:2024 - 03:04:33
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/Manifest7
-rw-r--r--media-sound/sonic-visualiser/files/serd.patch6
-rw-r--r--media-sound/sonic-visualiser/files/sonic-visualiser-4.3-meson.build.patch5
-rw-r--r--media-sound/sonic-visualiser/files/sonic-visualiser-5.0.1-meson.build.patch177
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-5.0.1.ebuild82
5 files changed, 264 insertions, 13 deletions
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest
index 2e1960d8a749..395449e806d8 100644
--- a/media-sound/sonic-visualiser/Manifest
+++ b/media-sound/sonic-visualiser/Manifest
@@ -1,5 +1,8 @@
-AUX serd.patch 492 BLAKE2B e71252663b5df4a8ebbe0fb55d7dd96e66925db96dcd0b1baa629e3387a0f2d17e8dd2a4958207e63500b52a0bccd24984a1f617a7c248fd27ad6e4166d781a5 SHA512 ed8847eb8c5594e994e8b62505fa022f6fb419898563b244ca3d0d2120ebfc6904f80a080b085ebdc0c47842c11ef347e0f426c29c46d3c36730dc02ba5b650b
-AUX sonic-visualiser-4.3-meson.build.patch 4428 BLAKE2B 30f2fb4f69f633de44e7f50f901a14a997cc785cbd23b33668e7587ff1cdc270eea94f7caa6fb54605009ebcadcb8d0b69d26980aa592a89696fcf4ede919b89 SHA512 1bf40499f8a15572ec1aad67685508aaac5fb7f41fd8ba4c5e129bed04b1fc0052f87618036b9ef3fd3c6205c7a8a27dfcf5349d6b9c99eb3de7a6348a775238
+AUX serd.patch 367 BLAKE2B a3af7d390f81810208d79be2b1ecfcc7307333c8f13796fb18556eb5b91149d60a7db92b7136e40c777f0592933d64aefe324dab7123dc19fc7ed915d5f10987 SHA512 fceaa53cf26f41b48bb86164f85c152f05a276cb4c9b3d546e600f4b253d73089c4ca70fb9ac48a7cc9a66b87764c17e79799d50fc495ef980be6c9fe7ea5433
+AUX sonic-visualiser-4.3-meson.build.patch 4264 BLAKE2B 37b5d64198c785d4b971fa83c787583c4cefcceeec42d1d81f0f8f65e60660369c651d47335eceaa9114dc7242aa4a1741f92d20257f115bcf84384d2c3ebae5 SHA512 c5e67eb0c4056a76560270a484eee24a0bf6efbbc8e673b7a9acd2ab619c84931b728ea43b2653f0e1df4b9b1cfe0f1be454e5303b7f04e0d0abde8bb42c0bb7
+AUX sonic-visualiser-5.0.1-meson.build.patch 4556 BLAKE2B 7a9ed3ba375c3bd5767f63547ac1174eff9fe978892de7fa0cabcc3aeb46d88fa5a97964ae14da71d49d5da514cbc7dea3124e40c3b95463f2698aec48b134ba SHA512 3b2624fd4c2f0a44a7aa652bac51d30efdd17232f29780332f74ab7ea1707d44cb57a95933fbfaea36e071ab1ad795e466e16bfd5c410861181aaccf9f8501a0
DIST sonic-visualiser-4.5.tar.gz 6652200 BLAKE2B a5e39a755e991663390370c06ce5d54b2ff9422081f8b9046097645f1f747972d270233a0d4fe05d4e6adde5239ca6d2d0210a8a67d9ef6ede60089471ce6452 SHA512 eca7f7b2a56a4c70f38c8fafdd20d5c0e773dc1a99a75189998dd1f50ae777df4999e1a4b3431f9202edfb8ce2686d05cf6448493c263c52ab5f068169a7385d
+DIST sonic-visualiser-5.0.1.tar.gz 6583441 BLAKE2B 8c3b87aaae14d2ec3284c75b7a4c7a977bd54ede14a6c8c6d8a4f1bd679d051c6abc12045003940537d2ce86f20c33103fee6a90b56947b17f917e7deff7faad SHA512 eb58403b3d680bbe9b6b30a2ee1899db71f245d6b7b153caa04953268bff1bb52da069d63d2e062ebb14e01a4474214de6770e389b6d611990db7fab8fd6ecc6
EBUILD sonic-visualiser-4.5.ebuild 1682 BLAKE2B 5b7b6c61571fbcab561d7bc43900fbd241d7ee3d128c85df3c9a0a95b9b5aba87aa61b0819d77b8e51a80eb6e3f22fd8a8d8c6b11b8e0289dc5327480376f84f SHA512 ef6f2a581bda1142361de337ac8f52a4987fb8b1f33edad8611dfbcf8771d62139c48e6f60a0d4d689aea260d37068de57abfc82fc0081a7857d981d9406a2bc
+EBUILD sonic-visualiser-5.0.1.ebuild 1684 BLAKE2B 1368e34256110ed6e43624e58175a444e6d88815351c32435f9a2c8a4c80eb1ae8a1378f407562dace3a3800c407bdd2fdc42ee0a618fb40d8647cc8deb8ccd6 SHA512 4aa8c0ba314a188c746a5d86e56db97f083890d523294adf5969d827ccd2a0b7fb5ca9d9ed81c3b8d389182ef55d6065ae3ed2c39858df8ab758e46bafed6e02
MISC metadata.xml 457 BLAKE2B fee1474516a395ba251de868c533ab4f88ac346a169a71e1513593f0ffa99f3365f0a7d87c24c31e73cf4f06d500b8bafe83f02230e6f24ebf8c0a23b43cd662 SHA512 58c25ca412527ef47411204f5ce579c3731c5b19922c43c13f069dae0c498e63879cc209e1f93e3487a2c32972df8ac45af690b4d470bfea9e497a3b9699c3a7
diff --git a/media-sound/sonic-visualiser/files/serd.patch b/media-sound/sonic-visualiser/files/serd.patch
index c7b6f179a686..d2b20b409da3 100644
--- a/media-sound/sonic-visualiser/files/serd.patch
+++ b/media-sound/sonic-visualiser/files/serd.patch
@@ -3,12 +3,6 @@ From: Chris Cannam <cannam@all-day-breakfast.com>
Date: Fri, 29 Jul 2022 13:31:37 +0100
Subject: [PATCH] Fix build failure
----
- meson.build | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/meson.build b/meson.build
-index 59a635f..35fc470 100644
--- a/meson.build
+++ b/meson.build
@@ -138,6 +138,7 @@ if system == 'linux'
diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-4.3-meson.build.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-4.3-meson.build.patch
index d92c07d587f7..1abea0fdadce 100644
--- a/media-sound/sonic-visualiser/files/sonic-visualiser-4.3-meson.build.patch
+++ b/media-sound/sonic-visualiser/files/sonic-visualiser-4.3-meson.build.patch
@@ -1,5 +1,3 @@
-diff --git a/meson.build b/meson.build
-index d1771e1..b18a5b6 100644
--- a/meson.build
+++ b/meson.build
@@ -90,17 +90,7 @@ if system == 'linux'
@@ -166,9 +164,6 @@ index d1771e1..b18a5b6 100644
]
elif system == 'darwin'
-diff --git a/meson_options.txt b/meson_options.txt
-new file mode 100644
-index 0000000..e0da4fb
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,8 @@
diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-5.0.1-meson.build.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-5.0.1-meson.build.patch
new file mode 100644
index 000000000000..5646dc07075e
--- /dev/null
+++ b/media-sound/sonic-visualiser/files/sonic-visualiser-5.0.1-meson.build.patch
@@ -0,0 +1,177 @@
+--- a/meson.build
++++ b/meson.build
+@@ -119,22 +119,8 @@ if system == 'linux'
+ serd_dep = dependency('serd-0', version: '>= 0.5')
+ capnp_dep = dependency('capnp', version: '>= 0.6')
+ lrdf_dep = dependency('lrdf', version: '>= 0.2')
+- oggz_dep = dependency('oggz', version: '>= 1.0.0')
+- fishsound_dep = dependency('fishsound', version: '>= 1.0.0')
+- mad_dep = dependency('mad', version: '>= 0.15.0')
+- id3tag_dep = dependency('id3tag', version: '>= 0.15.0')
+- opus_dep = dependency('opusfile')
+- opusenc_dep = dependency('opusenc', required: false)
+- if not opusenc_dep.found()
+- opusenc_dep = dependency('libopusenc', required: false)
+- endif
+- lo_dep = dependency('liblo')
+- jack_dep = dependency('jack', version: '>= 0.100')
+- libpulse_dep = dependency('libpulse', version: '>= 0.9')
+ alsa_dep = dependency('alsa')
+
+- portaudio_dep = dependency('portaudio-2.0', version: '>= 19', required: false)
+-
+ feature_dependencies = [
+ vamphostsdk_dep,
+ bzip2_dep,
+@@ -146,16 +132,6 @@ if system == 'linux'
+ serd_dep,
+ capnp_dep,
+ lrdf_dep,
+- oggz_dep,
+- fishsound_dep,
+- mad_dep,
+- id3tag_dep,
+- opus_dep,
+- opusenc_dep,
+- lo_dep,
+- portaudio_dep,
+- jack_dep,
+- libpulse_dep,
+ alsa_dep,
+ ]
+
+@@ -178,34 +154,104 @@ if system == 'linux'
+ '-DHAVE_SERD',
+ '-DHAVE_CAPNP',
+ '-DHAVE_LRDF',
+- '-DHAVE_OGGZ',
+- '-DHAVE_FISHSOUND',
+- '-DHAVE_MAD',
+- '-DHAVE_ID3TAG',
+- '-DHAVE_OPUS',
+- '-DHAVE_LIBLO',
+- '-DHAVE_JACK', '-DDYNAMIC_JACK',
+- '-DHAVE_LIBPULSE',
+ '-D__LINUX_ALSASEQ__',
+ '-D__LINUX_ALSA__' # for RtMidi
+ ]
+
+- if portaudio_dep.found()
++ enable_id3tag = get_option('id3tag')
++ if enable_id3tag
++ id3tag_dep = dependency('id3tag', version: '>= 0.15.0')
++ feature_dependencies += [
++ id3tag_dep,
++ ]
+ feature_defines += [
+- '-DHAVE_PORTAUDIO',
++ '-DHAVE_ID3TAG',
+ ]
+ endif
+
+- if not opusenc_dep.found()
++ enable_jack = get_option('jack')
++ if enable_jack
++ jack_dep = dependency('jack', version: '>= 0.100')
++ feature_dependencies += [
++ jack_dep,
++ ]
+ feature_defines += [
+- '-DHAVE_OPUS_READ_ONLY'
++ '-DHAVE_JACK',
++ '-DDYNAMIC_JACK',
++ ]
++ endif
++
++ enable_mad = get_option('mad')
++ if enable_mad
++ mad_dep = dependency('mad', version: '>= 0.15.0')
++ feature_dependencies += [
++ mad_dep,
++ ]
++ feature_defines += [
++ '-DHAVE_MAD',
++ ]
++
++ svcore_moc_args = [
++ '-DHAVE_MAD'
++ ]
++ endif
++
++ enable_ogg = get_option('ogg')
++ if enable_ogg
++ oggz_dep = dependency('oggz', version: '>= 1.0.0')
++ fishsound_dep = dependency('fishsound', version: '>= 1.0.0')
++ feature_dependencies += [
++ oggz_dep,
++ fishsound_dep,
++ ]
++ feature_defines += [
++ '-DHAVE_OGGZ',
++ '-DHAVE_FISHSOUND',
++ ]
++ endif
++
++ enable_opus = get_option('opus')
++ if enable_opus
++ opus_dep = dependency('opusfile')
++ opusenc_dep = dependency('libopusenc')
++ feature_dependencies += [
++ opus_dep, opusenc_dep,
++ ]
++ feature_defines += [
++ '-DHAVE_OPUS',
++ ]
++ endif
++
++ enable_osc = get_option('osc')
++ if enable_osc
++ lo_dep = dependency('liblo')
++ feature_dependencies += [
++ lo_dep,
++ ]
++ feature_defines += [
++ '-DHAVE_LIBLO',
++ ]
++ endif
++
++ enable_portaudio = get_option('portaudio')
++ if enable_portaudio
++ portaudio_dep = dependency('portaudio-2.0', version: '>= 19', required: false)
++ feature_dependencies += [
++ portaudio_dep,
++ ]
++ endif
++
++ enable_pulseaudio = get_option('pulseaudio')
++ if enable_pulseaudio
++ libpulse_dep = dependency('libpulse', version: '>= 0.9')
++ feature_dependencies += [
++ libpulse_dep,
++ ]
++ feature_defines += [
++ '-DHAVE_LIBPULSE',
+ ]
+ endif
+
+- svcore_moc_args = [
+- '-DHAVE_MAD'
+- ]
+-
+ elif system == 'darwin'
+
+ svdeps_dir = meson.current_source_dir() / 'sv-dependency-builds/osx'
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -3,3 +3,11 @@ option('no_qt',
+ value: 'false',
+ description: 'Build only the small utilities that do not use Qt.')
+
++option('id3tag', type: 'boolean', value: false)
++option('jack', type: 'boolean', value: false)
++option('mad', type: 'boolean', value: false)
++option('ogg', type: 'boolean', value: false)
++option('opus', type: 'boolean', value: false)
++option('osc', type: 'boolean', value: false)
++option('portaudio', type: 'boolean', value: false)
++option('pulseaudio', type: 'boolean', value: false)
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-5.0.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-5.0.1.ebuild
new file mode 100644
index 000000000000..3e8e85f984e8
--- /dev/null
+++ b/media-sound/sonic-visualiser/sonic-visualiser-5.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 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/2866/${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/libopusenc
+ media-libs/opusfile
+ )
+ osc? ( media-libs/liblo )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-libs/libpulse )
+"
+DEPEND="${RDEPEND}"
+
+# tests fail without mp3 support
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ || ( jack pulseaudio portaudio )
+ test? ( id3tag mad )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.0.1-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
+}