diff --git a/packages/cava/build.sh b/packages/cava/build.sh index ced898bad3157e5..b971ea1c4703009 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.10.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="0.10.3" TERMUX_PKG_SRCURL=https://github.com/karlstav/cava/archive/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=853ee78729ed3501d0cdf9c1947967ad3bfe6526d66a029b4ddf9adaa6334d4f +TERMUX_PKG_SHA256=bf822ac18ae0ca2cf926c2875f3221591960c25f2bcab89ea19729be4b9c3663 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="fftw, libiniparser, ncurses, pulseaudio" TERMUX_PKG_BUILD_DEPENDS="libtool" diff --git a/packages/cava/configure.ac.patch b/packages/cava/configure.ac.patch index 7549ac37e3cc427..62f08f8cf8971b0 100644 --- a/packages/cava/configure.ac.patch +++ b/packages/cava/configure.ac.patch @@ -1,11 +1,11 @@ --- a/configure.ac +++ b/configure.ac -@@ -260,7 +260,7 @@ - AC_CHECK_LIB(iniparser,iniparser_load, have_iniparser=yes, have_iniparser=no) - if [[ $have_iniparser = "yes" ]] ; then - LIBS="$LIBS -liniparser" -- CPPFLAGS="$CPPFLAGS -I/usr/include/iniparser" -+ CPPFLAGS="$CPPFLAGS -I@TERMUX_PREFIX@/include/iniparser" +@@ -429,7 +429,7 @@ + CPPFLAGS="$CPPFLAGS -I/usr/local/include/iniparser/" + CPPFLAGS="$CPPFLAGS -I/opt/homebrew/include/iniparser/" + else +- CPPFLAGS="$CPPFLAGS -I/usr/include/iniparser" ++ CPPFLAGS="$CPPFLAGS -I@TERMUX_PREFIX@/include/iniparser" + fi AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[dictionary* ini; - const char *keys[3];