www-client/badwolf: remove webkit4.0 support

net-libs/webkit-gtk:4 was dropped in ::gentoo.

Signed-off-by: Vivian Heisz (vhz) <demize@unstable.systems>
This commit is contained in:
Vivian Heisz (vhz)
2025-05-23 16:12:00 -04:00
parent e12db5c5af
commit 42301b5790
3 changed files with 8 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2023 Gentoo Authors
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,15 +29,14 @@ SLOT="0"
DOCS=("README.md" "KnowledgeBase.md")
IUSE="+webkit41 test"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/glib
dev-libs/libxml2
x11-libs/gtk+:3
webkit41? ( net-libs/webkit-gtk:4.1= )
!webkit41? ( net-libs/webkit-gtk:4= )
net-libs/webkit-gtk:4.1=
"
RDEPEND="${DEPEND}"
BDEPEND="test? ( app-text/mandoc )"
@@ -72,7 +71,7 @@ src_configure() {
CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
LDFLAGS="${LDFLAGS}" \
DOCDIR="/usr/share/doc/${PF}" \
WITH_WEBKITGTK=$(usex webkit41 4.1 4.0) \
WITH_WEBKITGTK="4.1" \
PREFIX="/usr" \
./configure
}

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2023 Gentoo Authors
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,15 +29,14 @@ SLOT="0"
DOCS=("README.md" "KnowledgeBase.md")
IUSE="+webkit41 test"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/glib
dev-libs/libxml2
x11-libs/gtk+:3
webkit41? ( net-libs/webkit-gtk:4.1= )
!webkit41? ( net-libs/webkit-gtk:4= )
net-libs/webkit-gtk:4.1=
"
RDEPEND="${DEPEND}"
BDEPEND="test? ( app-text/mandoc )"
@@ -68,7 +67,7 @@ src_configure() {
CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
LDFLAGS="${LDFLAGS}" \
DOCDIR="/usr/share/doc/${PF}" \
WITH_WEBKITGTK=$(usex webkit41 4.1 4.0) \
WITH_WEBKITGTK="4.1" \
PREFIX="/usr" \
./configure
}

View File

@@ -10,7 +10,4 @@
for first-usage usability. Privacy is the first goal, and it should be
usable (security=usability^(-1) being false).
</longdescription>
<use>
<flag name="webkit41">Use <pkg>net-libs/webkit-gtk</pkg>:4.1 (uses libsoup3 and so allows HTTP/2) instead of <pkg>net-libs/webkit-gtk</pkg>:4</flag>
</use>
</pkgmetadata>