# ChangeLog for x11-libs/xft
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xft/ChangeLog,v 1.1 2002/10/27 15:19:16 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xft/ChangeLog,v 1.2 2002/10/28 02:17:12 foser Exp $
*xft-2.0 (27 Oct 2002)
Gnome 2.1 commit
This package provides xft2 support, as used by the pango devel series
Usage will probably break a lot of other things
+
+ 28 Oct 2002; foser <foser@gentoo.org> xft-2.0.ebuild :
+ Now properly detects fontconfig.h, which allows for runtime
+ fontaddition/removal. Thanks to Azarah for noticing and fixing.
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xft/xft-2.0.ebuild,v 1.1 2002/10/27 15:19:16 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xft/xft-2.0.ebuild,v 1.2 2002/10/28 02:17:12 foser Exp $
PROVIDE="virtual/xft"
DESCRIPTION="Xft2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
-DEPEND="x11-base/xfree"
+DEPEND="x11-base/xfree
+ >=sys-devel/autoconf-2.53a
+ media-libs/fontconfig"
S="${WORKDIR}/fcpackage.${PV/\./_}/Xft"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ export WANT_AUTOCONF_2_5=1
+ autoconf --force
+}
+
src_compile() {
econf || die "Xft2 config failed"
emake || die "Xft2 make failed"