# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="1" # Must be before x-modular eclass is inherited #SNAPSHOT="yes" inherit x-modular flag-o-matic DESCRIPTION="X.Org Xft library" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="+cleartype" RDEPEND="x11-libs/libXrender x11-libs/libX11 x11-libs/libXext x11-proto/xproto media-libs/freetype >=media-libs/fontconfig-2.2" DEPEND="${RDEPEND}" pkg_setup() { # No such function yet # x-modular_pkg_setup # (#125465) Broken with Bdirect support filter-flags -Wl,-Bdirect filter-ldflags -Bdirect filter-ldflags -Wl,-Bdirect } src_unpack() { unpack ${A} cd "${S}"/src # ClearType-like patches applied by ArchLinux use cleartype && epatch "${FILESDIR}"/${PN}-2.1.10-lcd-cleartype.diff } pkg_postinst() { echo elog "DO NOT report bugs to Gentoo's bugzilla" elog "See http://forums.gentoo.org/viewtopic-t-511382.html for support topic on Gentoo forums." echo }