mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-sound/sonic-visualiser: drop 4.5
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
2258784abb
commit
5de84fc471
@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
From 865fbe253cde8e966709bb11dc8c441ceb3891ed Mon Sep 17 00:00:00 2001
|
||||
From: Chris Cannam <cannam@all-day-breakfast.com>
|
||||
Date: Fri, 29 Jul 2022 13:31:37 +0100
|
||||
Subject: [PATCH] Fix build failure
|
||||
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -138,6 +138,7 @@ if system == 'linux'
|
||||
server_dependencies = [
|
||||
capnp_dep,
|
||||
sord_dep,
|
||||
+ serd_dep,
|
||||
dl_dep,
|
||||
]
|
||||
|
||||
@ -1,177 +0,0 @@
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -90,17 +90,7 @@ 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')
|
||||
- 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 = [
|
||||
bzip2_dep,
|
||||
@@ -113,23 +103,8 @@ if system == 'linux'
|
||||
serd_dep,
|
||||
capnp_dep,
|
||||
lrdf_dep,
|
||||
- oggz_dep,
|
||||
- fishsound_dep,
|
||||
- mad_dep,
|
||||
- id3tag_dep,
|
||||
- opus_dep,
|
||||
- lo_dep,
|
||||
- portaudio_dep,
|
||||
- jack_dep,
|
||||
- libpulse_dep,
|
||||
alsa_dep,
|
||||
]
|
||||
-
|
||||
- server_dependencies = [
|
||||
- capnp_dep,
|
||||
- sord_dep,
|
||||
- dl_dep,
|
||||
- ]
|
||||
|
||||
feature_defines = [
|
||||
'-DHAVE_BZ2',
|
||||
@@ -142,26 +117,110 @@ 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_ID3TAG',
|
||||
+ ]
|
||||
+ endif
|
||||
+
|
||||
+ enable_jack = get_option('jack')
|
||||
+ if enable_jack
|
||||
+ jack_dep = dependency('jack', version: '>= 0.100')
|
||||
+ feature_dependencies += [
|
||||
+ jack_dep,
|
||||
+ ]
|
||||
+ feature_defines += [
|
||||
+ '-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')
|
||||
+ feature_dependencies += [
|
||||
+ opus_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,
|
||||
+ ]
|
||||
feature_defines += [
|
||||
'-DHAVE_PORTAUDIO',
|
||||
]
|
||||
endif
|
||||
|
||||
- svcore_moc_args = [
|
||||
- '-DHAVE_MAD'
|
||||
+ enable_pulseaudio = get_option('pulseaudio')
|
||||
+ if enable_pulseaudio
|
||||
+ libpulse_dep = dependency('libpulse', version: '>= 0.9')
|
||||
+ feature_dependencies += [
|
||||
+ libpulse_dep,
|
||||
+ ]
|
||||
+ feature_defines += [
|
||||
+ '-DHAVE_LIBPULSE',
|
||||
+ ]
|
||||
+ endif
|
||||
+
|
||||
+ server_dependencies = [
|
||||
+ capnp_dep,
|
||||
+ sord_dep,
|
||||
+ dl_dep,
|
||||
]
|
||||
|
||||
elif system == 'darwin'
|
||||
--- /dev/null
|
||||
+++ b/meson_options.txt
|
||||
@@ -0,0 +1,8 @@
|
||||
+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,80 +0,0 @@
|
||||
# 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"
|
||||
"${FILESDIR}/serd.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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user