From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93A8C158074 for ; Sat, 05 Jul 2025 04:53:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7F81F3420DB for ; Sat, 05 Jul 2025 04:53:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6E42211055F; Sat, 05 Jul 2025 04:53:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6145A110560 for ; Sat, 05 Jul 2025 04:53:31 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F5863420A4 for ; Sat, 05 Jul 2025 04:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2527F2DF7 for ; Sat, 05 Jul 2025 04:53:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1751690968.22b2122ebfa9569083b7e1ac3ec5eb363f04fa00.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/pango/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/pango/pango-1.56.4-r1.ebuild X-VCS-Directories: x11-libs/pango/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 22b2122ebfa9569083b7e1ac3ec5eb363f04fa00 X-VCS-Branch: master Date: Sat, 05 Jul 2025 04:53:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb346e41-978b-4d01-93b7-d76e559affbd X-Archives-Hash: 83a77c91de6b71253c8afda0ff2b60b5 commit: 22b2122ebfa9569083b7e1ac3ec5eb363f04fa00 Author: Chris Mayo gmail com> AuthorDate: Tue Jul 1 18:47:47 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 5 04:49:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22b2122e x11-libs/pango: optionally build and install documentation Signed-off-by: Chris Mayo gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42304 Closes: https://github.com/gentoo/gentoo/pull/42304 Signed-off-by: Sam James gentoo.org> x11-libs/pango/pango-1.56.4-r1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/x11-libs/pango/pango-1.56.4-r1.ebuild b/x11-libs/pango/pango-1.56.4-r1.ebuild index 70f176db6485..ec3f68b0a122 100644 --- a/x11-libs/pango/pango-1.56.4-r1.ebuild +++ b/x11-libs/pango/pango-1.56.4-r1.ebuild @@ -13,7 +13,8 @@ LICENSE="LGPL-2+" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="debug examples +introspection sysprof test X" +IUSE="debug examples gtk-doc +introspection sysprof test X" +REQUIRED_USE="gtk-doc? ( introspection )" RESTRICT="!test? ( test )" RDEPEND=" @@ -38,6 +39,7 @@ BDEPEND=" dev-util/glib-utils virtual/pkgconfig dev-python/docutils + gtk-doc? ( dev-util/gi-docgen ) test? ( media-fonts/cantarell ) " @@ -61,7 +63,7 @@ multilib_src_configure() { # Never use gi-docgen subproject --wrap-mode nofallback - -Ddocumentation=false # we ship pregenerated docs + $(meson_use gtk-doc documentation) $(meson_native_use_feature introspection) -Dman-pages=true $(meson_use test build-testsuite) @@ -80,6 +82,11 @@ multilib_src_install_all() { if use examples; then dodoc -r examples fi + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/Pango* "${ED}"/usr/share/gtk-doc/html/ || die + fi } pkg_postinst() {