From cbe3c10b80cf0b9782c2e598100ad9250f282d05 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 21 Jun 2026 11:26:30 +0300 Subject: [PATCH] Update package version to 1.0.0 --- info.yml | 6 +- recipe.sh | 1 - ...broken-AX_CHECK_GL-with-manual-check.patch | 65 ------------------- 3 files changed, 3 insertions(+), 69 deletions(-) delete mode 100644 source-files/0001-replace-broken-AX_CHECK_GL-with-manual-check.patch diff --git a/info.yml b/info.yml index a4f3cde..1827b24 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: cava description: Cross-platform Audio Visualizer -version: 0.10.7 -revision: 3 +version: 1.0.0 +revision: 1 url: https://github.com/karlstav/cava license: MIT maintainers: @@ -24,4 +24,4 @@ downloads: - url: https://github.com/karlstav/cava/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 43f994f7e609fab843af868d8a7bc21471ac62c5a4724ef97693201eac42e70a + checksum: 2866cea11d0bd38406924ab2b47d5577f14909a7321ee928b6836391f375af7e diff --git a/recipe.sh b/recipe.sh index 4d24ae8..1b0bdfa 100644 --- a/recipe.sh +++ b/recipe.sh @@ -6,7 +6,6 @@ # This function is used for putting downloaded files to the correct location or applying patches prepare() { cd "$BPM_SOURCE" - patch -Np1 -i "$BPM_WORKDIR"/0001-replace-broken-AX_CHECK_GL-with-manual-check.patch echo "$BPM_PKG_VERSION" > version autoreconf -fi diff --git a/source-files/0001-replace-broken-AX_CHECK_GL-with-manual-check.patch b/source-files/0001-replace-broken-AX_CHECK_GL-with-manual-check.patch deleted file mode 100644 index 6ce997b..0000000 --- a/source-files/0001-replace-broken-AX_CHECK_GL-with-manual-check.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 10cbd3bb81979275b05af905f8c6fe8ff0e0ff02 Mon Sep 17 00:00:00 2001 -From: Yurakaii -Date: Sat, 28 Feb 2026 14:22:07 -0500 -Subject: [PATCH] Replace broken AX_CHECK_GL with manual check - ---- - configure.ac | 45 +++++++++++++++++++++++++++++++-------------- - 1 file changed, 31 insertions(+), 14 deletions(-) - -diff --git a/configure.ac b/configure.ac -index dfef96fd..a7ed53e0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -317,20 +317,37 @@ AC_CHECK_LIB(SDL2,SDL_Init, have_sdl=yes, have_sdl=no) - [do not include support for output with sdl_glsl]) - ) - AS_IF([test "x$enable_output_sdl_glsl" != "xno"], [ -- m4_ifdef([AX_CHECK_GL], [ -- AX_CHECK_GL(have_opengl=yes, have_opengl=no) -- ], [ -- AC_MSG_NOTICE([You need to install the autoconf archives to check for opengl. Remember to re-run autogen.sh.]) -- have_opengl=no -- ]) -- if [[ $have_opengl = "yes" ]] ; then -- LIBS="$LIBS $GL_LIBS" -- CPPFLAGS="$CPPFLAGS -DSDL_GLSL $GL_CFLAGS" -- fi -- -- if [[ $have_opengl = "no" ]] ; then -- AC_MSG_NOTICE([INFO: building without sdl_glsl (opengl) support]) -- fi -+ have_opengl=no -+ GL_LIBS="" -+ GL_CFLAGS="" -+ AC_MSG_CHECKING([for OpenGL]) -+ -+ case $host_os in -+ darwin*) -+ AC_CHECK_HEADER([OpenGL/gl.h], -+ [GL_LIBS="-framework OpenGL" -+ have_opengl=yes], -+ [have_opengl=no]) -+ ;; -+ *) -+ AC_CHECK_HEADER([GL/gl.h], -+ [AC_SEARCH_LIBS([glBegin], [GL], -+ [have_opengl=yes -+ AS_IF([test "x$ac_cv_search_glBegin" != "xnone required"], -+ [GL_LIBS="$ac_cv_search_glBegin"])], -+ [have_opengl=no])], -+ [have_opengl=no]) -+ ;; -+ esac -+ -+ if test "x$have_opengl" = "xyes"; then -+ AC_MSG_RESULT([yes]) -+ LIBS="$LIBS $GL_LIBS" -+ CPPFLAGS="$CPPFLAGS -DSDL_GLSL $GL_CFLAGS" -+ else -+ AC_MSG_RESULT([no]) -+ AC_MSG_NOTICE([INFO: building without sdl_glsl (opengl) support]) -+ fi - ], - [have_opengl=no] - )