yad: update to 14.1

Closes: #51109 [via git-merge-pr]
This commit is contained in:
zenobit 2024-07-04 12:07:40 +02:00 committed by classabbyamp
parent 917680951e
commit 2af76e7870
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 3 additions and 25 deletions

View File

@ -1,22 +0,0 @@
From 1185fed36da8aaa2e06a8229ea308a63fe0a5c75 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sat, 24 Feb 2024 19:04:38 -0800
Subject: [PATCH] allow building with webkit2gtk-4.1
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 252cace..e6f72c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ AC_ARG_ENABLE([html],
[Build YAD with HTML widget])],
[build_html=$enableval], [build_html=yes])
if test x$build_html = xyes; then
- PKG_CHECK_MODULES([HTML], [webkit2gtk-4.0], [have_html=yes], [have_html=no])
+ PKG_CHECK_MODULES([HTML], [webkit2gtk-4.1], [have_html=yes], [PKG_CHECK_MODULES([HTML], [webkit2gtk-4.0], [have_html=yes], [have_html=no])])
else
have_html=no
fi

View File

@ -1,7 +1,7 @@
# Template file for 'yad'
pkgname=yad
version=13.0
revision=2
version=14.1
revision=1
build_style=gnu-configure
configure_args="--enable-icon-browser"
hostmakedepends="automake gettext-devel glib-devel intltool pkg-config"
@ -12,7 +12,7 @@ license="GPL-3.0-or-later"
homepage="https://github.com/v1cont/yad"
changelog="https://raw.githubusercontent.com/v1cont/yad/master/NEWS"
distfiles="https://github.com/v1cont/yad/releases/download/v${version}/yad-${version}.tar.xz"
checksum=194198c4a58e20ceffd9a3206633c3726d962d7d4219edb77aeb748897403e34
checksum=dde047a915cd8d3892c32b6ba031876f5cda673e01882c99613f043867c88133
pre_configure() {
autoreconf -ivf