From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1487844-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 1404B15800F
	for <garchives@archives.gentoo.org>; Fri, 17 Feb 2023 22:56:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 22991E07C9;
	Fri, 17 Feb 2023 22:56:28 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F1879E07C9
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 Feb 2023 22:56:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E626A335D7F
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 Feb 2023 22:56:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 746D18A7
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 Feb 2023 22:56:24 +0000 (UTC)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org>
Message-ID: <1676674578.c6b41f893687fb2260649d97d84bb97ec4e63947.mattst88@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/yelp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gnome-extra/yelp/yelp-42.2-r1.ebuild
X-VCS-Directories: gnome-extra/yelp/
X-VCS-Committer: mattst88
X-VCS-Committer-Name: Matt Turner
X-VCS-Revision: c6b41f893687fb2260649d97d84bb97ec4e63947
X-VCS-Branch: master
Date: Fri, 17 Feb 2023 22:56:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d7591bea-3bf4-40a0-b518-d7fb7b759aff
X-Archives-Hash: d674413412aa3fe853cb339108a19a54

commit:     c6b41f893687fb2260649d97d84bb97ec4e63947
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Fri Feb 17 19:54:28 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 22:56:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b41f89

gnome-extra/yelp: migrate to net-libs/webkit-gtk:4.1

If you omit the parameter for configure --with-webkit2gtk-4-0 it
automagically links against webkit-gtk:4.1 instead of version 4.0.

The change for this option was introduced in the following commit, and
it's valid since yelp version 41.0.

https://gitlab.gnome.org/GNOME/yelp/-/commit/47b0dc96dc0e82102600365b83353d7922f1a94d

Bug: https://bugs.gentoo.org/893694
Closes: https://github.com/gentoo/gentoo/pull/29640
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 gnome-extra/yelp/yelp-42.2-r1.ebuild | 57 ++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnome-extra/yelp/yelp-42.2-r1.ebuild b/gnome-extra/yelp/yelp-42.2-r1.ebuild
new file mode 100644
index 000000000000..75a1f09987ab
--- /dev/null
+++ b/gnome-extra/yelp/yelp-42.2-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2
+
+DESCRIPTION="Help browser for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Yelp"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+
+RDEPEND="
+	app-arch/bzip2:=
+	>=app-arch/xz-utils-4.9:=
+	dev-db/sqlite:3=
+	>=dev-libs/glib-2.67.4:2
+	>=dev-libs/libxml2-2.6.5:2
+	>=dev-libs/libxslt-1.1.4
+	>=gnome-extra/yelp-xsl-41.0
+	net-libs/webkit-gtk:4.1
+	>=x11-libs/gtk+-3.13.3:3
+	>=gui-libs/libhandy-1.5.0:1
+	x11-themes/adwaita-icon-theme
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-libs/appstream-glib
+	>=dev-util/gtk-doc-am-1.13
+	dev-util/glib-utils
+	dev-util/itstool
+	>=sys-devel/gettext-0.19.8
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	# Fix compatibility with Gentoo's sys-apps/man
+	# https://bugzilla.gnome.org/show_bug.cgi?id=648854
+	"${FILESDIR}"/${PN}-3.20.0-man-compatibility.patch # needs eautoreconf
+)
+
+src_configure() {
+	gnome2_src_configure \
+		--disable-static \
+		--enable-bz2 \
+		--enable-lzma \
+		APPSTREAM_UTIL=$(type -P true)
+}
+
+src_install() {
+	gnome2_src_install
+	exeinto /usr/libexec/
+	doexe "${S}"/libyelp/yelp-groff
+}