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@parhuet.fr>
Closes: https://github.com/gentoo/guru/pull/250
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
PPN-SD
2024-10-14 13:04:02 +02:00
committed by David Roman
parent 1f0c1c85d2
commit e5e3076d80
2 changed files with 6 additions and 3 deletions

View File

@@ -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>

View File

@@ -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)