commit: a8eb973f55d83f88dbf22124a5e30b75ec547899
Author: James Calligeros <jcalligeros99 <AT> gmail <DOT> com>
AuthorDate: Sat Jun 29 06:39:40 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 08:25:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8eb973f
dev-python/pillow: fix build with USE="-truetype"
Build fails if USE="-truetype" due to implied flags conflicing with the
vendor_{raqm,fribidi} = False flags. Guard them behind a usex so that
they are only enabled if USE="truetype"
Closes: https://bugs.gentoo.org/935124
Signed-off-by: James Calligeros <jcalligeros99 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37345
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pillow/pillow-10.3.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/pillow/pillow-10.3.0.ebuild
b/dev-python/pillow/pillow-10.3.0.ebuild
index cb13d5f02390..c1d84827dc09 100644
--- a/dev-python/pillow/pillow-10.3.0.ebuild
+++ b/dev-python/pillow/pillow-10.3.0.ebuild
@@ -82,8 +82,8 @@ python_configure_all() {
[build_ext]
debug = True
disable_platform_guessing = True
- vendor_raqm = False
- vendor_fribidi = False
+ $(usex truetype "vendor_raqm = False" "") # BUG 935124
+ $(usex truetype "vendor_fribidi = False" "") # ditto
$(usepil truetype)_freetype = True
$(usepil jpeg)_jpeg = True
$(usepil jpeg2k)_jpeg2000 = True