From f69d6e2bc8ae2d4f9fd516b99d1dcbfdb78fa533 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Feb 2024 23:45:38 +0000 Subject: gentoo auto-resync : 02:02:2024 - 23:45:38 --- media-sound/Manifest.gz | Bin 57378 -> 57384 bytes media-sound/cava/Manifest | 2 + media-sound/cava/cava-0.10.1.ebuild | 85 ++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 media-sound/cava/cava-0.10.1.ebuild (limited to 'media-sound') diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz index f827781ab1a9..d7602cda34c8 100644 Binary files a/media-sound/Manifest.gz and b/media-sound/Manifest.gz differ diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest index 37d5b2bd1da2..80bfd97325d4 100644 --- a/media-sound/cava/Manifest +++ b/media-sound/cava/Manifest @@ -1,7 +1,9 @@ AUX cava-0.8.0-gentoo-iniparser4.patch 702 BLAKE2B 9ea8f952f0a9673d7348b4abeb46e480022205b3bf6a296b5f742e0dee15c81181c876829177159570b239c6c46c4b1177523eb60d3abf6e89640239e5192ba6 SHA512 ed474fc10475731ef733e77469782308c693d4b7214e911257e69499ab5cc598a13e0293644698f98d749e71c3002cbab857f8fda6e36a050bc8ff6be50af881 DIST cava-0.10.0-jack-support.patch.xz 9188 BLAKE2B c99b92a9879506efd942766cd01794c14b223e39862ab92699f4a25d34d21524d0b610a33dbd084c0466fafe8430b5d96da1146c6050d43b35d1f85915540938 SHA512 ffd2eb4c388b83a0ee21a08ec2f707731d8aa32a15ec549d8fe5caf5ac4a45534f3d0f6b66a1d747a57959eb2f571efd5a7b1d3fbb81496b6a01e23b7bd42276 DIST cava-0.10.0.tar.gz 124085 BLAKE2B 1d1d16f2e32823749465ee76d42bdaebf201dd5d8c7c44020793e247448f6786d631fed75841622dfaedc1d6dd0bee54dfaf10e9f637d6ae5aab3e1a76138421 SHA512 8b54ed59ce7965209f0e03be3409f59b0e59e6a684afca3eb2e3c82c369d35224a0a1a09cbcbca09b36fce416a13efafdff7362fe0b4e2f6b494a023de76793e +DIST cava-0.10.1.tar.gz 129520 BLAKE2B 181a511feb8b9a6806316264c27e963fe7827802d8e333c39d59a0e3f67dd57bea967b05aeb869455992b905afd9c6e3f568debb84155068cbef03621047da6b SHA512 8a71628bae6621ef925f5fed94659b07d9220e142c17514bed79e1105a9160494bf3978267c9de3ab6cd2126ece50419fb4245ccf190f3a299fc0cfb111be354 DIST cava-0.9.1.tar.gz 119287 BLAKE2B e6342ff8867747a2c15197c965b713e8ea1c5bd579725538e0e1745797280460ea6a7d6c5cca2776934eef24378d9661bcef5cfd5280a93de16b41201558c49d SHA512 21af220b53a2f45c8c43dfd2ba47c1c96a8fcccdbd11ca1ac59eea7a4f32c0e27c7d2056281d0293fd17d4d635b1c568c953567d6f0301c800b4a387332d2a7a EBUILD cava-0.10.0.ebuild 2370 BLAKE2B be0afde1b47de3862a26f1788a698a24ebe68ef4d121e082b8afaec2ac5b2eabca88b02b575ba41be908a193241106123d52cb13ca18ea72d0a386760fb12a66 SHA512 f80712c243181be393786d05b4f0cd074e16e8696e97714c202695420d638cad4f20af3b4209f7216a635fff73327c45198ceae397c6f0de50725f79396ba9b9 +EBUILD cava-0.10.1.ebuild 2266 BLAKE2B 0c19221015d68c6ae9c617bab6e1f652d069f5a319492d0600d62c7120350c5af112a860a4d2a4533ceaf24343010f7118e6ee96d80fffdb059fb45a1eafd890 SHA512 786a81afa39718f33188abd07c449f9ddea13130b8e371ae2d2cb2db2221fccfb6b39ec2198aad8aeeb2e4572129aca20e8750bb603f56f704fef99c109d2495 EBUILD cava-0.9.1.ebuild 2193 BLAKE2B 757769f0e00131ae52c89f430c03aaa427b4390194bdb8f5b2337036296556690deb90e94b9d474e720258d30d1a411be5df807c9e85650f510f1bb7a112b25b SHA512 5edfb33caa0c08919e20437f5d0fc10742b721cbc03400d2d099561d3dfe927686732ea70d36aaf36977f6bf031531c9eeabc276e9c8fa4756f926dd09b27e98 MISC metadata.xml 521 BLAKE2B 9b5fc566431d23ee6c56ed429d3337a6fbccddde718487bf9e1cac36e5fc70173e20a070669a8c85179443af12bc032eecfa4b9829d96422170ff4cdd92518ee SHA512 57cdabe9b70f97abb5bd5e64b3b0f25ec113ce80f8b1eaa45682f814b20fa120fe0efc38552aed23c3cb4d918ba9f0d67030d18b4a307fbf0f81a8b962e35c87 diff --git a/media-sound/cava/cava-0.10.1.ebuild b/media-sound/cava/cava-0.10.1.ebuild new file mode 100644 index 000000000000..cef1a79fa28c --- /dev/null +++ b/media-sound/cava/cava-0.10.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Console-based Audio Visualizer for Alsa" +HOMEPAGE="https://github.com/karlstav/cava/" +SRC_URI=" + https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio" + +RDEPEND=" + dev-libs/iniparser:4 + sci-libs/fftw:3.0= + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + ncurses? ( sys-libs/ncurses:= ) + pipewire? ( media-video/pipewire:= ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-libs/libpulse ) + sdl? ( + media-libs/libglvnd + media-libs/libsdl2[opengl,video] + ) + sndio? ( media-sound/sndio:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + sdl? ( dev-build/autoconf-archive ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch +) + +src_prepare() { + default + + echo ${PV} > version || die + eautoreconf +} + +src_configure() { + local econfargs=( + $(use_enable alsa input-alsa) + $(use_enable jack input-jack) + $(use_enable pipewire input-pipewire) + $(use_enable portaudio input-portaudio) + $(use_enable pulseaudio input-pulse) + $(use_enable sndio input-sndio) + + $(use_enable ncurses output-ncurses) + $(use_enable sdl output-sdl) + # note: not behind USE=opengl and sdl2[opengl?] given have not gotten + # normal output-sdl to work without USE=opengl on sdl either way + $(use_enable sdl output-sdl_glsl) + + GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch + ) + + # autoconf-archive (currently) does not support -lOpenGL for libglvnd[-X] + use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || die)" ) + + econf "${econfargs[@]}" +} + +pkg_postinst() { + if [[ ! ${REPLACING_VERSIONS##* } ]]; then + elog "A default ~/.config/cava/config will be created after initial" + elog "use of ${PN}, see it and ${EROOT}/usr/share/doc/${PF}/README*" + elog "for configuring audio input and more." + elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then + elog "If used, the noise_reduction config option in ~/.config/cava/config needs" + elog "to be updated from taking a float to integer (e.g. replace 0.77 with 77)." + fi +} -- cgit v1.2.3