media-libs/freetype: Synced live ebuild
authorLars Wendler <polynomial-c@gentoo.org>
Sun, 10 May 2020 10:00:27 +0000 (12:00 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sun, 10 May 2020 10:01:51 +0000 (12:01 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
media-libs/freetype/freetype-9999.ebuild

index d6f5e68744d350fdec0d4f1f114b50d2f4a43836..37247e155193cffd87f9a7197690caaaa935d943 100644 (file)
@@ -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)