summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-27 14:51:06 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-03-29 10:06:16 +0200
commit5137420296af254f24781ddf852b5ae27ef2c244 (patch)
tree22c3c6f12685ace2a611e48a9fc1758c843dc31a /media-libs/freetype
parentmedia-libs/freetype: Drop IUSE=bindist and bindist restriction (diff)
downloadgentoo-5137420296af254f24781ddf852b5ae27ef2c244.tar.gz
gentoo-5137420296af254f24781ddf852b5ae27ef2c244.tar.bz2
gentoo-5137420296af254f24781ddf852b5ae27ef2c244.zip
media-libs/freetype: IUSE=cleartype_hinting -> cleartype-hinting
Bug: https://bugs.gentoo.org/695072 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20146 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/freetype-9999.ebuild6
-rw-r--r--media-libs/freetype/metadata.xml2
2 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/freetype/freetype-9999.ebuild b/media-libs/freetype/freetype-9999.ebuild
index 505575341da4..91ed8bacd80b 100644
--- a/media-libs/freetype/freetype-9999.ebuild
+++ b/media-libs/freetype/freetype-9999.ebuild
@@ -7,7 +7,7 @@ inherit flag-o-matic libtool multilib-build multilib-minimal toolchain-funcs
DESCRIPTION="High-quality and portable font engine"
HOMEPAGE="https://www.freetype.org/"
-IUSE="X +adobe-cff brotli bzip2 +cleartype_hinting debug fontforge harfbuzz infinality +png static-libs utils"
+IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug fontforge harfbuzz infinality +png static-libs utils"
if [[ "${PV}" != 9999 ]] ; then
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.xz
@@ -124,11 +124,11 @@ src_prepare() {
# Will be the new default for >=freetype-2.7.0
disable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2"
- if use infinality && use cleartype_hinting; then
+ if use infinality && use cleartype-hinting; then
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )"
elif use infinality; then
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 1"
- elif use cleartype_hinting; then
+ elif use cleartype-hinting; then
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2"
fi
diff --git a/media-libs/freetype/metadata.xml b/media-libs/freetype/metadata.xml
index 8ee62c35ac89..d27bf8abe71c 100644
--- a/media-libs/freetype/metadata.xml
+++ b/media-libs/freetype/metadata.xml
@@ -12,6 +12,8 @@
<use>
<flag name="adobe-cff">Use Adobe CFF as default font-renderer</flag>
<flag name="brotli">Enable brotli decompression support via <pkg>app-arch/brotli</pkg></flag>
+ <flag name="cleartype-hinting">Bytecode hinting mode for TrueType fonts that
+ activates subpixel hinting (a.k.a. ClearType hinting) by default</flag>
<flag name="cleartype_hinting">New bytecode hinting mode for TrueType fonts that
activates subpixel hinting (a.k.a. ClearType hinting) by default</flag>
<flag name="bindist">Disable ClearType support (see http://freetype.org/patents.html)</flag>