From f70bc8cc9061a1c4aee937fd8cf73ae9cf932dfc Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Tue, 23 Jan 2024 21:39:02 +0100 Subject: [PATCH] chafa: update to 1.14.0 --- srcpkgs/chafa/patches/fix-libwebp.patch | 13 ------------- srcpkgs/chafa/template | 13 ++++++------- 2 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/chafa/patches/fix-libwebp.patch diff --git a/srcpkgs/chafa/patches/fix-libwebp.patch b/srcpkgs/chafa/patches/fix-libwebp.patch deleted file mode 100644 index f690790c4e7a2..0000000000000 --- a/srcpkgs/chafa/patches/fix-libwebp.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 733535a..20dfb50 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -150,7 +150,7 @@ AS_IF([test "$with_tools" != no], [ - , - with_webp=yes) - AS_IF([test "$with_webp" != no], [ -- PKG_CHECK_MODULES(WEBP, [libwebpdemux],, -+ PKG_CHECK_MODULES(WEBP, [libwebp libwebpdemux],, - missing_rpms="$missing_rpms libwebp-devel" - missing_debs="$missing_debs libwebp-dev" - with_webp=no)]) diff --git a/srcpkgs/chafa/template b/srcpkgs/chafa/template index 7b0f4c2c7a945..b89258f3f1217 100644 --- a/srcpkgs/chafa/template +++ b/srcpkgs/chafa/template @@ -1,18 +1,18 @@ # Template file for 'chafa' pkgname=chafa -version=1.12.5 +version=1.14.0 revision=1 build_style=gnu-configure configure_args="--enable-man" -hostmakedepends="automake libtool gtk-doc docbook-xml docbook-xsl libxslt pkg-config" -makedepends="libglib-devel libmagick-devel librsvg-devel libwebp-devel libXext-devel libxml2-devel" +hostmakedepends="docbook-xml docbook-xsl libxslt pkg-config" +makedepends="libavif-devel libglib-devel librsvg-devel libwebp-devel libXext-devel libxml2-devel" short_desc="Versatile and fast Unicode/ASCII/ANSI graphics renderer" maintainer="Christian Buschau " license="LGPL-3.0-or-later" homepage="https://hpjansson.org/chafa/" changelog="https://raw.githubusercontent.com/hpjansson/chafa/master/NEWS" distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz" -checksum=0f5490d52a500a6b386f15cc04c6e8702afd0285d422b9575b332e0c683957f2 +checksum=670e55c28b5ecd4c8187bd97f0898762712a480ec8ea439dae4a4836b178e084 case "$XBPS_TARGET_MACHINE" in x86_64*|i686*) ;; @@ -20,9 +20,8 @@ case "$XBPS_TARGET_MACHINE" in ax_cv_gcc_check_x86_cpu_supports=no" ;; esac -pre_configure() { - # needed for the libwebp patch to work - autoreconf -fi +post_install() { + vcompletion tools/completions/zsh-completion.zsh zsh } libchafa_package() {