public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/wt/
Date: Mon, 14 Oct 2024 13:17:06 +0000 (UTC)	[thread overview]
Message-ID: <1728910378.e5e3076d807afea1f7ebeb637a44fca36e2bc4c7.davidroman@gentoo> (raw)
Message-ID: <20241014131706.KhtGUu0KFtnZLJLnVIv5M8kTKL_FSM12VCScDgKIBwA@z> (raw)

commit:     e5e3076d807afea1f7ebeb637a44fca36e2bc4c7
Author:     PPN-SD <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Oct 14 11:04:02 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Oct 14 12:52:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5e3076d

dev-cpp/wt: add pango useflag, enabled by default

Allows to reduce dependencies. Pango may not be necessary for some use cases of wt.

Signed-off-by: PPN-SD <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/guru/pull/250
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-cpp/wt/metadata.xml     | 3 +++
 dev-cpp/wt/wt-4.11.0.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/wt/metadata.xml b/dev-cpp/wt/metadata.xml
index a637183f1..f8c1c1ffb 100644
--- a/dev-cpp/wt/metadata.xml
+++ b/dev-cpp/wt/metadata.xml
@@ -5,6 +5,9 @@
 		<email>davidroman96@gmail.com</email>
 		<name>David Roman</name>
 	</maintainer>
+	<use>
+		<flag name="pango">Enable <pkg>x11-libs/pango</pkg>, wich is used for improved font support (WPdfImage and WRasterImage)</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">emweb/wt</remote-id>
 	</upstream>

diff --git a/dev-cpp/wt/wt-4.11.0.ebuild b/dev-cpp/wt/wt-4.11.0.ebuild
index a97475298..f2d2d5ec2 100644
--- a/dev-cpp/wt/wt-4.11.0.ebuild
+++ b/dev-cpp/wt/wt-4.11.0.ebuild
@@ -12,18 +12,18 @@ SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="doc firebird mysql opengl pdf postgres ssl"
+IUSE="doc firebird mysql opengl +pango pdf postgres ssl"
 
 DEPEND="
 	firebird? ( dev-db/firebird )
 	mysql? ( virtual/mysql )
 	opengl? ( virtual/opengl )
+	pango? ( x11-libs/pango )
 	postgres? ( dev-db/postgresql )
 	ssl? ( dev-libs/openssl )
 	dev-libs/boost:=
 	media-libs/libharu
 	media-gfx/graphicsmagick[jpeg,png]
-	x11-libs/pango
 	sys-libs/zlib
 "
 RDEPEND="${DEPEND}"
@@ -50,7 +50,7 @@ src_configure() {
 		-DDOCUMENTATION_DESTINATION="share/doc/${PF}"
 		-DENABLE_SSL=$(usex ssl)
 		-DENABLE_HARU=$(usex pdf)
-		-DENABLE_PANGO=ON
+		-DENABLE_PANGO=$(usex pango)
 		-DENABLE_SQLITE=ON
 		-DENABLE_POSTGRES=$(usex postgres)
 		-DENABLE_FIREBIRD=$(usex firebird)


             reply	other threads:[~2024-10-14 13:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 12:53 David Roman [this message]
2024-10-14 13:17 ` [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/wt/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-11-12 11:05 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-11-05 12:36 David Roman
2024-11-05 12:36 David Roman
2024-10-14  9:04 David Roman
2024-10-07  9:14 David Roman
2024-10-01 14:58 [gentoo-commits] repo/proj/guru:master " David Roman
2024-10-01 14:10 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-06-10 15:09 David Roman
2024-06-10 15:03 David Roman
2024-03-22 20:55 David Roman
2024-03-22 13:37 David Roman
2024-03-11 17:31 [gentoo-commits] repo/proj/guru:master " David Roman
2024-03-11 13:50 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-03-11 14:06 David Roman
2024-02-28  1:31 David Roman
2024-02-22 15:53 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1728910378.e5e3076d807afea1f7ebeb637a44fca36e2bc4c7.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox