summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-05-10 11:59:20 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-05-10 12:01:50 +0200
commitfd2a336f25420bc0b05dcdc93fab758d6e8c7e7b (patch)
treea225833e50da80b56399f3853c1c9ff7e08b79b1 /media-libs/freetype
parentriscv/package.use.mask: Masked brotli USE flag in media-libs/freetype (diff)
downloadgentoo-fd2a336f25420bc0b05dcdc93fab758d6e8c7e7b.tar.gz
gentoo-fd2a336f25420bc0b05dcdc93fab758d6e8c7e7b.tar.bz2
gentoo-fd2a336f25420bc0b05dcdc93fab758d6e8c7e7b.zip
media-libs/freetype: Revbump adding "brotli" USE flag
Thanks-to: Ulrich Müller <ulm@gentoo.org> Closes: https://bugs.gentoo.org/721966 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/freetype-2.10.2-r1.ebuild (renamed from media-libs/freetype/freetype-2.10.2.ebuild)4
-rw-r--r--media-libs/freetype/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/freetype/freetype-2.10.2.ebuild b/media-libs/freetype/freetype-2.10.2-r1.ebuild
index d6f5e68744d3..37247e155193 100644
--- a/media-libs/freetype/freetype-2.10.2.ebuild
+++ b/media-libs/freetype/freetype-2.10.2-r1.ebuild
@@ -7,7 +7,7 @@ inherit flag-o-matic libtool multilib-build multilib-minimal toolchain-funcs
DESCRIPTION="A high-quality and portable font engine"
HOMEPAGE="https://www.freetype.org/"
-IUSE="X +adobe-cff bindist bzip2 +cleartype_hinting debug fontforge harfbuzz infinality png static-libs utils"
+IUSE="X +adobe-cff bindist brotli bzip2 +cleartype_hinting debug fontforge harfbuzz infinality png static-libs utils"
if [[ "${PV}" != 9999 ]] ; then
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.xz
@@ -28,6 +28,7 @@ RESTRICT="!bindist? ( bindist )" # bug 541408
RDEPEND="
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ brotli? ( app-arch/brotli[${MULTILIB_USEDEP}] )
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
harfbuzz? ( >=media-libs/harfbuzz-1.3.0[truetype,${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.2.51:0=[${MULTILIB_USEDEP}] )
@@ -168,6 +169,7 @@ multilib_src_configure() {
--disable-freetype-config
--enable-biarch-config
--enable-shared
+ $(use_with brotli)
$(use_with bzip2)
$(use_with harfbuzz)
$(use_with png)
diff --git a/media-libs/freetype/metadata.xml b/media-libs/freetype/metadata.xml
index 39066b8a1a07..8ee62c35ac89 100644
--- a/media-libs/freetype/metadata.xml
+++ b/media-libs/freetype/metadata.xml
@@ -11,6 +11,7 @@
</maintainer>
<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">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>