Skip to content

Commit

Permalink
bump(main/cava): 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Nov 16, 2024
1 parent 1ac7287 commit 23e479a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions packages/cava/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 7 additions & 7 deletions packages/cava/configure.ac.patch
Original file line number Diff line number Diff line change
@@ -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 <iniparser.h>]],
[[dictionary* ini;
const char *keys[3];

0 comments on commit 23e479a

Please sign in to comment.