From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] cava: update to 0.9.0
Date: Fri, 11 Aug 2023 15:16:26 +0200 [thread overview]
Message-ID: <20230811131626.B07ZbsEHihU5hBIcw1vd83__diuoLxj_RZ4OpSA4pbY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45539@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
There is an updated pull request by tranzystorek-io against master on the void-packages repository
https://github.com/tranzystorek-io/void-packages cava
https://github.com/void-linux/void-packages/pull/45539
cava: update to 0.9.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
Ping @skmpz
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/45539.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cava-45539.patch --]
[-- Type: text/x-diff, Size: 2993 bytes --]
From 0e2ba5c8257f859fe60ec4302bd6e4c59c88de28 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 11 Aug 2023 10:10:27 +0200
Subject: [PATCH] cava: update to 0.9.0
---
srcpkgs/cava/patches/fix-pipewire-cross.patch | 30 +++++++++++++++++++
srcpkgs/cava/template | 14 ++++-----
2 files changed, 37 insertions(+), 7 deletions(-)
create mode 100644 srcpkgs/cava/patches/fix-pipewire-cross.patch
diff --git a/srcpkgs/cava/patches/fix-pipewire-cross.patch b/srcpkgs/cava/patches/fix-pipewire-cross.patch
new file mode 100644
index 0000000000000..c5b6ac157e5b5
--- /dev/null
+++ b/srcpkgs/cava/patches/fix-pipewire-cross.patch
@@ -0,0 +1,30 @@
+diff --git a/Makefile.am b/Makefile.am
+index a6a2740..d3755db 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -29,6 +29,8 @@ endif
+
+ if PIPEWIRE
+ cava_SOURCES += input/pipewire.c
++ cava_CFLAGS += ${PIPEWIRE_CFLAGS}
++ cava_LDADD += ${PIPEWIRE_LIBS}
+ endif
+
+ if PULSE
+diff --git a/configure.ac b/configure.ac
+index ca608b9..751e3b8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -105,10 +105,9 @@ AC_ARG_ENABLE([input_pipewire],
+ )
+
+ AS_IF([test "x$enable_input_pipewire" != "xno"], [
+- AC_CHECK_LIB(pipewire-0.3, pw_stream_connect, have_pipewire=yes, have_pipewire=no)
++ PKG_CHECK_MODULES([PIPEWIRE], [libpipewire-0.3], [have_pipewire=yes], [have_pipewire=no])
+ if [[ $have_pipewire = "yes" ]] ; then
+- LIBS="$LIBS -lpipewire-0.3"
+- CPPFLAGS="$CPPFLAGS -DPIPEWIRE -D_REENTRANT -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2"
++ CPPFLAGS="$CPPFLAGS -DPIPEWIRE -D_REENTRANT"
+ fi
+
+ if [[ $have_pipewire = "no" ]] ; then
diff --git a/srcpkgs/cava/template b/srcpkgs/cava/template
index d4a6106a88caf..3dc58b62a26aa 100644
--- a/srcpkgs/cava/template
+++ b/srcpkgs/cava/template
@@ -1,20 +1,20 @@
# Template file for 'cava'
pkgname=cava
-version=0.8.3
+version=0.9.0
revision=1
build_style=gnu-configure
-hostmakedepends="automake libtool"
+hostmakedepends="automake libtool pkg-config"
makedepends="fftw-devel iniparser-devel ncurses-devel
- $(vopt_if alsa 'alsa-lib-devel') $(vopt_if pulseaudio 'pulseaudio-devel')
- $(vopt_if sndio 'sndio-devel')"
+ $(vopt_if alsa 'alsa-lib-devel') $(vopt_if pipewire 'pipewire-devel')
+ $(vopt_if pulseaudio 'pulseaudio-devel') $(vopt_if sndio 'sndio-devel')"
short_desc="Console-based Audio Visualizer for ALSA"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="MIT"
homepage="https://github.com/karlstav/cava"
distfiles="https://github.com/karlstav/cava/archive/refs/tags/${version}.tar.gz"
-checksum=ce7378ababada5a20fa8250c6b3fe6412bc1a7dd31301a52b8b4a71d362875b9
-build_options="alsa pulseaudio sndio"
-build_options_default="alsa pulseaudio sndio"
+checksum=3e79367169791fb11236dce6da7b38f46cdd859304710391785c4df7f364fd23
+build_options="alsa pipewire pulseaudio sndio"
+build_options_default="alsa pipewire pulseaudio sndio"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
next prev parent reply other threads:[~2023-08-11 13:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 8:53 [PR PATCH] " tranzystorek-io
2023-08-11 13:16 ` tranzystorek-io [this message]
2023-08-11 13:34 ` [PR PATCH] [Updated] " tranzystorek-io
2023-08-11 18:15 ` tranzystorek-io
2023-08-12 15:55 ` tranzystorek-io
2023-08-18 20:58 ` [PR PATCH] [Updated] cava: update to 0.9.1 tranzystorek-io
2023-08-20 14:20 ` [PR PATCH] [Merged]: " Duncaen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230811131626.B07ZbsEHihU5hBIcw1vd83__diuoLxj_RZ4OpSA4pbY@z \
--to=tranzystorek-io@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).