summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-12-11 20:06:04 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-12-11 20:06:04 +0000
commit85804d6c8ad8d9605caf0ea61bb4eab69081d0c8 (patch)
treec1de0dffbd0b6bb5ffd67688f9154044f407c635 /x11-libs/xft
parentnew version (diff)
downloadgentoo-2-85804d6c8ad8d9605caf0ea61bb4eab69081d0c8.tar.gz
gentoo-2-85804d6c8ad8d9605caf0ea61bb4eab69081d0c8.tar.bz2
gentoo-2-85804d6c8ad8d9605caf0ea61bb4eab69081d0c8.zip
new version
Diffstat (limited to 'x11-libs/xft')
-rw-r--r--x11-libs/xft/ChangeLog9
-rw-r--r--x11-libs/xft/files/digest-xft-2.0.11
-rw-r--r--x11-libs/xft/xft-2.0.1.ebuild55
3 files changed, 63 insertions, 2 deletions
diff --git a/x11-libs/xft/ChangeLog b/x11-libs/xft/ChangeLog
index 59ee196ac851..318bb9df2d11 100644
--- a/x11-libs/xft/ChangeLog
+++ b/x11-libs/xft/ChangeLog
@@ -1,8 +1,13 @@
# 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.6 2002/12/04 22:57:03 doctomoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xft/ChangeLog,v 1.7 2002/12/11 20:06:04 azarah Exp $
- 04 Dec 2002; Olivier Reisch <doctomoe@gentoo.org> xft-2.0-r1.ebuild:
+*xft-2.0.1 (11 Dec 2002)
+
+ 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org> xft-2.0.1.ebuild :
+ New version.
+
+ 04 Dec 2002; Olivier Reisch <doctomoe@gentoo.org> xft-2.0-r1.ebuild :
Added ppc keyword
02 Dec 2002; Martin Schlemmer <azarah@gentoo.org> xft-2.0-r1.ebuild :
diff --git a/x11-libs/xft/files/digest-xft-2.0.1 b/x11-libs/xft/files/digest-xft-2.0.1
new file mode 100644
index 000000000000..1952672e6a0d
--- /dev/null
+++ b/x11-libs/xft/files/digest-xft-2.0.1
@@ -0,0 +1 @@
+MD5 2f2852c80924a9b5356c3037a471c1a1 fcpackage.2_1.tar.gz 544661
diff --git a/x11-libs/xft/xft-2.0.1.ebuild b/x11-libs/xft/xft-2.0.1.ebuild
new file mode 100644
index 000000000000..852474cf57d2
--- /dev/null
+++ b/x11-libs/xft/xft-2.0.1.ebuild
@@ -0,0 +1,55 @@
+# 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.1.ebuild,v 1.1 2002/12/11 20:06:04 azarah Exp $
+
+IUSE=""
+
+S="${WORKDIR}/fcpackage.${PV/\.0\./_}/Xft"
+PROVIDE="virtual/xft"
+DESCRIPTION="X FreeType library, also known as Xft2.0"
+SRC_URI="http://fontconfig.org/release/fcpackage.${PV/\.0\./_}.tar.gz"
+HOMEPAGE="http://fontconfig.org/"
+
+LICENSE="fontconfig"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+RDEPEND="x11-base/xfree
+ >=media-libs/fontconfig-2.1"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.53a"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ export WANT_AUTOCONF_2_5=1
+ autoconf --force
+}
+
+src_compile() {
+ econf --x-includes=/usr/X11R6/include \
+ --x-libraries=/usr/X11R6/lib \
+ || die "Xft2 config failed"
+ emake || die "Xft2 make failed"
+}
+
+src_install() {
+ einstall confdir=${D}/etc/fonts \
+ datadir=${D}/usr/share || die
+
+ dodir /usr/X11R6/lib
+ dosym ../../lib/libXft.so.2.0 /usr/X11R6/lib/libXft.so
+}
+
+pkg_preinst() {
+ if [ "${ROOT}" = "/" -a ! -d /root/.Xft ]
+ then
+ mv -f /usr/X11R6/include/X11/Xft /root/.Xft
+ fi
+}
+
+pkg_postinst() {
+ einfo "Your old Xft includes have been saved to /root/.Xft"
+}