mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
yad: build with libwebkit2gtk41
This commit is contained in:
parent
6aa41335b8
commit
8b385d2830
2 changed files with 24 additions and 2 deletions
22
srcpkgs/yad/patches/find-webkit2gtk.patch
Normal file
22
srcpkgs/yad/patches/find-webkit2gtk.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'yad'
|
# Template file for 'yad'
|
||||||
pkgname=yad
|
pkgname=yad
|
||||||
version=13.0
|
version=13.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-icon-browser"
|
configure_args="--enable-icon-browser"
|
||||||
hostmakedepends="automake gettext-devel glib-devel intltool pkg-config"
|
hostmakedepends="automake gettext-devel glib-devel intltool pkg-config"
|
||||||
makedepends="gtk+3-devel webkit2gtk-devel gtksourceview-devel gspell-devel"
|
makedepends="gtk+3-devel libwebkit2gtk41-devel gtksourceview-devel gspell-devel"
|
||||||
short_desc="Yet Another Dialog - create/interact with GTK+ dialog boxes"
|
short_desc="Yet Another Dialog - create/interact with GTK+ dialog boxes"
|
||||||
maintainer="Benjamin Slade <slade@lambda-y.net>"
|
maintainer="Benjamin Slade <slade@lambda-y.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
|
Loading…
Add table
Reference in a new issue