Lines 21-27
LICENSE="|| ( FTL GPL-2+ )"
Link Here
|
21 |
SLOT="2" |
21 |
SLOT="2" |
22 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
22 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
23 |
IUSE="X +adobe-cff bindist bzip2 cleartype_hinting debug doc fontforge harfbuzz |
23 |
IUSE="X +adobe-cff bindist bzip2 cleartype_hinting debug doc fontforge harfbuzz |
24 |
infinality png static-libs utils" |
24 |
infinality png static-libs utils hinting" |
25 |
RESTRICT="!bindist? ( bindist )" # bug 541408 |
25 |
RESTRICT="!bindist? ( bindist )" # bug 541408 |
26 |
|
26 |
|
27 |
CDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
27 |
CDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
Lines 41-47
RDEPEND="${CDEPEND}
Link Here
|
41 |
abi_x86_32? ( utils? ( !app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] ) )" |
41 |
abi_x86_32? ( utils? ( !app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] ) )" |
42 |
PDEPEND="infinality? ( media-libs/fontconfig-infinality )" |
42 |
PDEPEND="infinality? ( media-libs/fontconfig-infinality )" |
43 |
|
43 |
|
44 |
REQUIRED_USE="?? ( cleartype_hinting infinality )" |
44 |
REQUIRED_USE="cleartype_hinting? ( hinting ) infinality? ( hinting )" |
45 |
|
45 |
|
46 |
PATCHES=( |
46 |
PATCHES=( |
47 |
# This is the same as the 01 patch from infinality |
47 |
# This is the same as the 01 patch from infinality |
Lines 65-78
src_prepare() {
Link Here
|
65 |
|
65 |
|
66 |
default |
66 |
default |
67 |
|
67 |
|
68 |
if use infinality; then |
68 |
if use hinting; then |
69 |
# FT_CONFIG_OPTION_SUBPIXEL_RENDERING is already enabled in freetype-2.4.11 |
69 |
local h=0 |
70 |
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 1" |
70 |
use infinality && h=$((h|1)) && append-cppflags -DTT_SUPPORT_SUBPIXEL_HINTING_INFINALITY |
71 |
fi |
71 |
use cleartype_hinting && h=$((h|2)) && append-cppflags -DTT_SUPPORT_SUBPIXEL_HINTING_MINIMAL |
72 |
|
72 |
append-cppflags -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=$h |
73 |
if use cleartype_hinting; then |
|
|
74 |
# Will be the new default for >=freetype-2.7.0 |
75 |
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2" |
76 |
fi |
73 |
fi |
77 |
|
74 |
|
78 |
if ! use bindist; then |
75 |
if ! use bindist; then |