From 37515713b293965f1ca0e0dc7686b3f2baabb3d9 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Mon, 20 Jul 2020 21:23:39 +0200 Subject: [PATCH] cava: update to 0.7.2 --- packages/cava/Makefile.am.patch | 21 ++++++++++----------- packages/cava/build.sh | 5 ++--- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/packages/cava/Makefile.am.patch b/packages/cava/Makefile.am.patch index 595aee585..055836ca6 100644 --- a/packages/cava/Makefile.am.patch +++ b/packages/cava/Makefile.am.patch @@ -1,20 +1,19 @@ -diff -uNr cava-0.7.0/Makefile.am cava-0.7.0.mod/Makefile.am ---- cava-0.7.0/Makefile.am 2020-05-26 23:29:47.000000000 +0300 -+++ cava-0.7.0.mod/Makefile.am 2020-06-20 22:56:16.822969805 +0300 -@@ -11,15 +11,13 @@ +--- ./Makefile.am.orig 2020-07-20 21:01:59.145108114 +0200 ++++ ./Makefile.am 2020-07-20 21:09:12.312923976 +0200 +@@ -11,7 +11,7 @@ bin_PROGRAMS = cava cava_SOURCES = cava.c config.c input/common.c input/fifo.c input/shmem.c \ output/terminal_noncurses.c output/raw.c -cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib -+cava_LDFLAGS = ++cava_LDFLAGS = cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \ - -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L - cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized - + -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED + cava_CFLAGS = -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized +@@ -19,7 +19,6 @@ if OSX cava_CFLAGS += -DNORT --else + else - cava_LDFLAGS += -lrt + cava_font_dir = @FONT_DIR@ + cava_font__DATA = cava.psf endif - - if ALSA diff --git a/packages/cava/build.sh b/packages/cava/build.sh index 230746a03..2e8728cf9 100644 --- a/packages/cava/build.sh +++ b/packages/cava/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/karlstav/cava TERMUX_PKG_DESCRIPTION="Console-based Audio Visualizer. Works with MPD and Pulseaudio" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli" -TERMUX_PKG_VERSION=0.7.0 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=0.7.2 TERMUX_PKG_SRCURL=https://github.com/karlstav/cava/archive/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=1ced5b131b86f2aa86259c58c2d2dfd46201ab908395229191b5a8dec894b84c +TERMUX_PKG_SHA256=cca1fa857f4b6b91813dbaafe25b226557d7addbf237a910683f4e3b84b02a29 TERMUX_PKG_DEPENDS="ncurses,fftw,pulseaudio" TERMUX_PKG_BUILD_DEPENDS="libtool" TERMUX_PKG_BUILD_IN_SRC=true