diff options
author | PPN-SD <nicolas.parlant@parhuet.fr> | 2024-10-14 13:04:02 +0200 |
---|---|---|
committer | David Roman <davidroman96@gmail.com> | 2024-10-14 14:52:58 +0200 |
commit | e5e3076d807afea1f7ebeb637a44fca36e2bc4c7 (patch) | |
tree | e352897f2e7b655b60168a7cebfdaa5f3e5daf2f | |
parent | app-text/OCRmyPDF: drop 14.2.1 (diff) | |
download | guru-e5e3076d807afea1f7ebeb637a44fca36e2bc4c7.tar.gz guru-e5e3076d807afea1f7ebeb637a44fca36e2bc4c7.tar.bz2 guru-e5e3076d807afea1f7ebeb637a44fca36e2bc4c7.zip |
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>
-rw-r--r-- | dev-cpp/wt/metadata.xml | 3 | ||||
-rw-r--r-- | 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) |