Lines 11-22
Link Here
|
11 |
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2 |
11 |
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2 |
12 |
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 ) |
12 |
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 ) |
13 |
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 ) |
13 |
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 ) |
14 |
infinality? ( http://dev.gentoo.org/~polynomial-c/${P}-infinality-patches.tar.xz )" |
14 |
infinality? ( http://dev.gentoo.org/~polynomial-c/${PN}-2.4.11-infinality-patches.tar.xz )" |
15 |
|
15 |
|
16 |
LICENSE="|| ( FTL GPL-2+ )" |
16 |
LICENSE="|| ( FTL GPL-2+ )" |
17 |
SLOT="2" |
17 |
SLOT="2" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~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 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~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 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
19 |
IUSE="X auto-hinter bindist bzip2 debug doc fontforge infinality static-libs utils" |
19 |
IUSE="X auto-hinter bindist bzip2 cff debug doc fontforge infinality static-libs utils" |
20 |
|
20 |
|
21 |
# Note: replace emul-linux dep when bzip2 becomes multilib-aware |
21 |
# Note: replace emul-linux dep when bzip2 becomes multilib-aware |
22 |
# (and all [${MULTILIB_USEDEP}] on it then!) |
22 |
# (and all [${MULTILIB_USEDEP}] on it then!) |
Lines 54-66
Link Here
|
54 |
enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING |
54 |
enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING |
55 |
fi |
55 |
fi |
56 |
|
56 |
|
|
|
57 |
if use cff; then |
58 |
epatch ${FILESDIR}/freetype-2.4.12-set-cff-hinting-as-default.patch |
59 |
fi |
60 |
|
57 |
if use debug; then |
61 |
if use debug; then |
58 |
enable_option FT_DEBUG_LEVEL_TRACE |
62 |
enable_option FT_DEBUG_LEVEL_TRACE |
59 |
enable_option FT_DEBUG_MEMORY |
63 |
enable_option FT_DEBUG_MEMORY |
60 |
fi |
64 |
fi |
61 |
|
65 |
|
62 |
disable_option FT_CONFIG_OPTION_OLD_INTERNALS |
|
|
63 |
|
64 |
if use infinality; then |
66 |
if use infinality; then |
65 |
epatch "${WORKDIR}"/patches/freetype-enable-subpixel-hinting-infinality.patch |
67 |
epatch "${WORKDIR}"/patches/freetype-enable-subpixel-hinting-infinality.patch |
66 |
epatch "${WORKDIR}"/patches/freetype-entire-infinality-patchset.patch |
68 |
epatch "${WORKDIR}"/patches/freetype-entire-infinality-patchset.patch |
Lines 72-80
Link Here
|
72 |
|
74 |
|
73 |
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch |
75 |
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch |
74 |
|
76 |
|
75 |
epatch "${FILESDIR}"/${P}-auto-hinter_compile_fix.patch # 453956 |
77 |
epatch "${FILESDIR}"/${PN}-2.4.11-sizeof-types.patch # 459966 |
76 |
epatch "${FILESDIR}"/${P}-locale.patch # 454804 |
|
|
77 |
epatch "${FILESDIR}"/${P}-sizeof-types.patch # 459966 |
78 |
|
78 |
|
79 |
if use utils; then |
79 |
if use utils; then |
80 |
cd "${WORKDIR}/ft2demos-${PV}" || die |
80 |
cd "${WORKDIR}/ft2demos-${PV}" || die |