mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/sonic-visualiser: drop 5.0.1-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST sonic-visualiser-5.0.1.tar.gz 6583441 BLAKE2B 8c3b87aaae14d2ec3284c75b7a4c7a977bd54ede14a6c8c6d8a4f1bd679d051c6abc12045003940537d2ce86f20c33103fee6a90b56947b17f917e7deff7faad SHA512 eb58403b3d680bbe9b6b30a2ee1899db71f245d6b7b153caa04953268bff1bb52da069d63d2e062ebb14e01a4474214de6770e389b6d611990db7fab8fd6ecc6
|
||||
DIST sonic-visualiser-5.2.1.tar.gz 6597676 BLAKE2B 3176d336d7aeaab98c7bae4783e8b8ade6bcbf4a13242843a8b271a7b285bc2a961806dff448fe0de301bd1a1b5bef4c0aa8cade1dc01dc1761bf3c56f0e3623 SHA512 27bd8528a9b75b0bc11ead82447b2ce48c6ea8cfc527df6b3d057792a40b78e7bd29d895e30782016385a98bec5c2d976d08d24bb79898ba6732248c2c49601c
|
||||
|
||||
@@ -1,177 +0,0 @@
|
||||
--- 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)
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2025 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="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/capnproto:=
|
||||
dev-libs/serd
|
||||
dev-libs/sord
|
||||
dev-qt/qtbase:6[gui,network,ssl,widgets,xml]
|
||||
dev-qt/qtsvg:6
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user