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 20:15:31 +0200 [thread overview]
Message-ID: <20230811181531.90yAHcfAwQM0l2BVC7WHfkPmsO1qTdUP5caeJH40Y4E@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: 4783 bytes --]
From 275057431b71262aa74da9cdd99daac312da96ad 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
---
.../cava/patches/pipewire-use-pkgconfig.patch | 67 +++++++++++++++++++
srcpkgs/cava/template | 17 +++--
2 files changed, 75 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/cava/patches/pipewire-use-pkgconfig.patch
diff --git a/srcpkgs/cava/patches/pipewire-use-pkgconfig.patch b/srcpkgs/cava/patches/pipewire-use-pkgconfig.patch
new file mode 100644
index 0000000000000..5368a26a2bcb3
--- /dev/null
+++ b/srcpkgs/cava/patches/pipewire-use-pkgconfig.patch
@@ -0,0 +1,67 @@
+From 4529de0cc9d5bd5afe3cf383bdee9a9b623c6136 Mon Sep 17 00:00:00 2001
+From: karl <karl@stavestrand.no>
+Date: Fri, 11 Aug 2023 19:42:57 +0200
+Subject: [PATCH] use pkgconf to get pipewire c flags #519
+
+---
+ README.md | 9 +++++----
+ configure.ac | 6 +++---
+ 2 files changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/README.md b/README.md
+index 51c6139..5da7cf6 100644
+--- a/README.md
++++ b/README.md
+@@ -60,6 +60,7 @@ Required components:
+ * libtool
+ * automake
+ * autoconf-archive (needed for setting up OpenGL)
++* pkgconf
+ * build-essentials
+ * [iniparser](https://github.com/ndevilla/iniparser)
+
+@@ -86,22 +87,22 @@ All the requirements can be installed easily in all major distros:
+
+ Debian/Ubuntu:
+
+- sudo apt install build-essential libfftw3-dev libasound2-dev libncursesw5-dev libpulse-dev libtool automake autoconf-archive libiniparser-dev libsdl2-2.0-0 libsdl2-dev libpipewire-0.3-dev
++ sudo apt install build-essential libfftw3-dev libasound2-dev libncursesw5-dev libpulse-dev libtool automake autoconf-archive libiniparser-dev libsdl2-2.0-0 libsdl2-dev libpipewire-0.3-dev pkgconf
+
+
+ ArchLinux:
+
+- pacman -S base-devel fftw ncurses alsa-lib iniparser pulseaudio autoconf-archive
++ pacman -S base-devel fftw ncurses alsa-lib iniparser pulseaudio autoconf-archive pkgconf
+
+
+ openSUSE:
+
+- zypper install alsa-devel ncurses-devel fftw3-devel libpulse-devel libtool autoconf-archive
++ zypper install alsa-devel ncurses-devel fftw3-devel libpulse-devel libtool autoconf-archive pkgconf
+
+
+ Fedora:
+
+- dnf install alsa-lib-devel ncurses-devel fftw3-devel pulseaudio-libs-devel libtool autoconf-archive iniparser-devel
++ dnf install alsa-lib-devel ncurses-devel fftw3-devel pulseaudio-libs-devel libtool autoconf-archive iniparser-devel pkgconf
+
+
+ macOS:
+diff --git a/configure.ac b/configure.ac
+index ca608b9..35b49c5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -105,10 +105,10 @@ 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"
++ LIBS="$LIBS $PIPEWIRE_LIBS"
++ CPPFLAGS="$CPPFLAGS -DPIPEWIRE $PIPEWIRE_CFLAGS"
+ fi
+
+ if [[ $have_pipewire = "no" ]] ; then
diff --git a/srcpkgs/cava/template b/srcpkgs/cava/template
index d4a6106a88caf..6790591dbae61 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
@@ -22,6 +22,5 @@ pre_configure() {
post_install() {
vlicense LICENSE
- vmkdir usr/share/examples
- vcopy example_files usr/share/examples/cava
+ vsconf example_files/config
}
next prev parent reply other threads:[~2023-08-11 18:15 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 ` [PR PATCH] [Updated] " tranzystorek-io
2023-08-11 13:34 ` tranzystorek-io
2023-08-11 18:15 ` tranzystorek-io [this message]
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=20230811181531.90yAHcfAwQM0l2BVC7WHfkPmsO1qTdUP5caeJH40Y4E@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).