1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit x-modular flag-o-matic
9 DESCRIPTION
="X.Org Xft library"
11 KEYWORDS
="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
15 RDEPEND
="x11-libs/libXrender
20 >=media-libs/freetype-2.3.5-r2
21 >=media-libs/fontconfig-2.5.0-r1
25 >=media-libs/fontconfig-2.2
31 ! built_with_use
--missing false media-libs
/fontconfig ubuntu
; then
32 eerror
"You need to rebuild fontconfig with ubuntu USE enabled"
33 eerror
"before you can compile libXft with newspr."
34 die
"Please rebuild fontconfig with ubuntu enabled."
37 # No such function yet
40 # (#125465) Broken with Bdirect support
41 filter-flags
-Wl,-Bdirect
42 filter-ldflags
-Bdirect
43 filter-ldflags
-Wl,-Bdirect
49 epatch
"${FILESDIR}"/${PN}-dont_interfere_with_newspr.
patch.bz2 || die
54 elog
"DO NOT report bugs to Gentoo's bugzilla"
55 elog
"See http://forums.gentoo.org/viewtopic-t-511382.html for support topic on Gentoo forums."