diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-sound/sonic-visualiser | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r-- | media-sound/sonic-visualiser/Manifest | 4 | ||||
-rw-r--r-- | media-sound/sonic-visualiser/sonic-visualiser-4.1.ebuild | 129 | ||||
-rw-r--r-- | media-sound/sonic-visualiser/sonic-visualiser-4.2.ebuild | 130 |
3 files changed, 263 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest index 7d3545e9843d..8881671e6230 100644 --- a/media-sound/sonic-visualiser/Manifest +++ b/media-sound/sonic-visualiser/Manifest @@ -3,5 +3,9 @@ AUX sonic-visualiser-4.0.1-qt-5.15-fix.patch 951 BLAKE2B 0148b2a825891b74664dd84 AUX sonic-visualiser-4.0.1-qt-deprecated.patch 564 BLAKE2B 4ee5743d4dac92c5cfe7530a5d57c97f8ab875ba95fa3148424bc827c3735f1833203e8e30a3777e0a9219c0404205514ca28ca06874e8a7357794890d607403 SHA512 8af7b53474244aed2c61bff7a1276fe826a1be933b79e5aa1cf5f3af579d5ba374ff9cc2e65f7f4f97d6cd8fd2d28d19915856db6f9e196b35e9ee3280a07421 AUX sonic-visualiser.xml 496 BLAKE2B 464d8840a763d695983ab47568294771e5bf80600c17e28676d32c0adf1c479a7f46a28572ec055f1c9bb8331b91497afaf4d241ebff6d2cf81e0eaed725559e SHA512 16a3f2d6adb715bcbc49ddf549f163e06fd1919a2e475d54dbc80d7b4cb8a757bf3124f75e158e53df132bcd9c60ad68da61b2ac0164af62ec1e3bb00415b264 DIST sonic-visualiser-4.0.1.tar.gz 6649178 BLAKE2B c231833f7cc6228d450600e5cbc6a6db85d0aa784ce67a225bedb1393ca82a99bca492912bbaf8bf87f5fcce48e57facc3f216b057233b53f596ccd71835d174 SHA512 6557d7c90618f7f2c18f8bb0058b8cd74a084f26376999074b9d5f23f04e1548b7e82ccbb73a301fa68c1d2f047810d312e568a85c9c7f3f25da9ec9b00c4220 +DIST sonic-visualiser-4.1.tar.gz 6535840 BLAKE2B b3afdb2026405148e2efb217e960a4e70fd8efbe3779c6cc3671b17a808f12e288efb89bbd5200da9ccfc8bdbd0c684d555f7394aab8e67d2963fd84f967da0c SHA512 57edfc52ddbc9198a6608460a8f4e4fc2a382588f2881b7ea99cc738d7944d66c942f24218a303fb20eaa698ee365f29006c985f2385afd7f5c27fec5a241adb +DIST sonic-visualiser-4.2.tar.gz 6532519 BLAKE2B 8cc92b2cd932d3c9f014161635cd767aa6ffa671217fca7c63ec6b882ae46cc1ed790e108e9be59d536aab0cbead726057987c2920c501d451fd353b2bf83018 SHA512 186d723c74d3b2865588370d9ff3afaf9f5356957e670483ea52303477c6acd17bb99b44c05db0fe4c0dc9757ba17c5e25b7b2fda5a15e85d9e193322ce8f2c3 EBUILD sonic-visualiser-4.0.1.ebuild 2790 BLAKE2B 776c2cf8fed6e68128ac5fa07adf129ae0ba0c4f44f3f37052d182029ab8744822266c8374654534201659089cd8e50b82d1cadec917314ab3c4afe26e77f477 SHA512 5ed5e4b90396c22c1d0e78bbb7efdedf3158f890dd23751a15d3bc04abebeb0df898e9fb751c3a2a20596b53a85a45deaf578411a2453bdff394b1b3eb176bef +EBUILD sonic-visualiser-4.1.ebuild 2804 BLAKE2B 75fba7ef4041429c4571c8cba2a635cea6dd76a8aa0eda4ee0f634a2b950f8194f32598497ecf7a3d98bad41a190ea8959772cc603cd0d28cb8258d5de97a78f SHA512 c3c76d4a6881fb24141d86f886d3cff9adc7607d45b5a7856cdfd9163ce8dec0a95eab570db6f56336f82e07b80c89b6ab67b33f18d2ecedcd49144fce87f756 +EBUILD sonic-visualiser-4.2.ebuild 2852 BLAKE2B f27bdad00e9ff277fe6c380b81a1a5a50f054079088c6aabe907278b093ff4e45504d84516bcb14249f9572f6a95eadf8132909d5f46ab0bfa736516d871d611 SHA512 96d659f47bbf29102385f2ddf45b0c956a44f18e8310eeb8d9dbf52dba70f6a7ad8334543f6834192203d17c4cfc517492935a45a3363b43c898da54c0b893fb MISC metadata.xml 353 BLAKE2B a43c47637d7677bb228f7f1be5c106785dc7fb429a831858e1dbcb222fc016676c855e888b31070a363c658d7904b80e09a0fd13c424f9d12ee4bbf9211ac023 SHA512 812f7ef25b8bde0654650ac3f3ddd1e18bfc828db0b5709fdf4c57017438ea118b7d7d14c9dd7006cb7fa63aeb72a25d155ec60beb0eca36bfbd292ecf5faa3f diff --git a/media-sound/sonic-visualiser/sonic-visualiser-4.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-4.1.ebuild new file mode 100644 index 000000000000..5433a3bec4ff --- /dev/null +++ b/media-sound/sonic-visualiser/sonic-visualiser-4.1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop qmake-utils xdg + +DESCRIPTION="Music audio files viewer and analiser" +HOMEPAGE="https://www.sonicvisualiser.org/" +SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2717/${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 + sys-devel/autoconf-archive + virtual/pkgconfig +" +RDEPEND=" + app-arch/bzip2 + >=dev-libs/capnproto-0.6:= + 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-19 ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND}" + +# tests fail without mp3 support +RESTRICT="!test? ( test )" +REQUIRED_USE=" + || ( jack pulseaudio portaudio ) + test? ( mad ) +" + +PATCHES=( + "${FILESDIR}/${PN}-4.0.1-notest.patch" +) + +sv_disable_opt() { + einfo "Disabling $1" + for i in . svapp svcore svgui ; do + sed -i -e "/$1/d" "${S}/$i/configure.ac" || die "failed to remove $1 support" + done +} + +src_prepare() { + default + + use id3tag || sv_disable_opt id3tag + use jack || sv_disable_opt jack + use mad || sv_disable_opt mad + use ogg || sv_disable_opt fishsound + use ogg || sv_disable_opt oggz + use opus || sv_disable_opt opus + use osc || sv_disable_opt liblo + use portaudio || sv_disable_opt portaudio + use pulseaudio || sv_disable_opt libpulse + + # capnproto 0.7 requires c++14 now + sed -e 's/AX_CXX_COMPILE_STDCXX_11/AX_CXX_COMPILE_STDCXX_14/g' \ + -i configure.ac \ + -i */configure.ac \ + || die + + eautoreconf +} + +src_configure() { + export QMAKE="$(qt5_get_bindir)"/qmake + econf + eqmake5 -r sonic-visualiser.pro + sed -e 's/std=gnu++11/std=gnu++14/g' \ + -i Makefile.* \ + -i checker/Makefile.* \ + || die +} + +src_test() { + for i in test-svcore-base test-svcore-data-fileio test-svcore-data-model test-svcore-system ; do + einfo "Running ${i}" + HOME="${T}" ./${i} || die + done +} + +src_install() { + dobin ${PN} piper-vamp-simple-server piper-convert vamp-plugin-load-checker + dodoc README* + + #install samples + insinto /usr/share/${PN}/samples + doins samples/* + + # desktop entry + doicon icons/sv-icon.svg + domenu sonic-visualiser.desktop + + # mime types + insinto /usr/share/mime/packages + doins "${FILESDIR}/${PN}.xml" +} diff --git a/media-sound/sonic-visualiser/sonic-visualiser-4.2.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-4.2.ebuild new file mode 100644 index 000000000000..cd2faeea1677 --- /dev/null +++ b/media-sound/sonic-visualiser/sonic-visualiser-4.2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop qmake-utils xdg + +DESCRIPTION="Music audio files viewer and analiser" +HOMEPAGE="https://www.sonicvisualiser.org/" +SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2755/${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 + sys-devel/autoconf-archive + virtual/pkgconfig +" +RDEPEND=" + app-arch/bzip2 + >=dev-libs/capnproto-0.6:= + 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-19 ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND}" + +# tests fail without mp3 support +RESTRICT="!test? ( test )" +REQUIRED_USE=" + || ( jack pulseaudio portaudio ) + test? ( mad ) +" + +PATCHES=( + "${FILESDIR}/${PN}-4.0.1-notest.patch" +) + +sv_disable_opt() { + einfo "Disabling $1" + for i in . svapp svcore svgui ; do + sed -i -e "/$1/d" "${S}/$i/configure.ac" || die "failed to remove $1 support" + done +} + +src_prepare() { + default + + use id3tag || sv_disable_opt id3tag + use jack || sv_disable_opt jack + use mad || sv_disable_opt mad + use ogg || sv_disable_opt fishsound + use ogg || sv_disable_opt oggz + use opus || sv_disable_opt opus + use osc || sv_disable_opt liblo + use portaudio || sv_disable_opt portaudio + use pulseaudio || sv_disable_opt libpulse + + # capnproto 0.7 requires c++14 now + sed -e 's/AX_CXX_COMPILE_STDCXX_11/AX_CXX_COMPILE_STDCXX_14/g' \ + -i configure.ac \ + -i */configure.ac \ + || die + + eautoreconf +} + +src_configure() { + export QMAKE="$(qt5_get_bindir)"/qmake + econf + eqmake5 -r sonic-visualiser.pro + sed -e 's/std=gnu++11/std=gnu++14/g' \ + -i Makefile.* \ + -i checker/Makefile.* \ + || die +} + +src_test() { + for i in test-svcore-base test-svcore-data-fileio test-svcore-data-model test-svcore-system ; do + einfo "Running ${i}" + HOME="${T}" ./${i} || die + done +} + +src_install() { + dobin ${PN} piper-vamp-simple-server piper-convert vamp-plugin-load-checker + dodoc README* + + #install samples + insinto /usr/share/${PN}/samples + doins samples/* + + # desktop entry + mv icons/sv-icon.svg icons/${PN}.svg + doicon -s scalable icons/${PN}.svg + domenu sonic-visualiser.desktop + + # mime types + insinto /usr/share/mime/packages + doins "${FILESDIR}/${PN}.xml" +} |