From e3af7ff8352b7a0da45e475ecabf578864f4bd9a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 20 Aug 2005 03:51:09 +0000 Subject: Add support for USE=fontconfig #79375 by Jung Tae-young. (Portage version: 2.0.51.22-r2) --- media-libs/gd/ChangeLog | 7 +++++-- media-libs/gd/gd-2.0.32.ebuild | 18 +++++++----------- 2 files changed, 12 insertions(+), 13 deletions(-) (limited to 'media-libs/gd') diff --git a/media-libs/gd/ChangeLog b/media-libs/gd/ChangeLog index cb228e2cb86e..5ace5c51d3c1 100644 --- a/media-libs/gd/ChangeLog +++ b/media-libs/gd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/gd -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/ChangeLog,v 1.20 2005/02/10 01:50:35 j4rg0n Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/ChangeLog,v 1.21 2005/08/20 03:51:09 vapier Exp $ + + 20 Aug 2005; Mike Frysinger gd-2.0.32.ebuild: + Add support for USE=fontconfig #79375 by Jung Tae-young. 09 Feb 2005; Lina Pezzella gd-2.0.28.ebuild, gd-2.0.32.ebuild: diff --git a/media-libs/gd/gd-2.0.32.ebuild b/media-libs/gd/gd-2.0.32.ebuild index f94adff8f1c9..c92b7255008f 100644 --- a/media-libs/gd/gd-2.0.32.ebuild +++ b/media-libs/gd/gd-2.0.32.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.32.ebuild,v 1.4 2005/02/10 01:50:35 j4rg0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.32.ebuild,v 1.5 2005/08/20 03:51:09 vapier Exp $ -inherit gnuconfig eutils +inherit eutils DESCRIPTION="A graphics library for fast image creation" HOMEPAGE="http://www.boutell.com/gd/" @@ -11,21 +11,17 @@ SRC_URI="http://www.boutell.com/gd/http/${P}.tar.gz" LICENSE="|| ( as-is BSD )" SLOT="2" KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sparc x86" -IUSE="jpeg png X truetype" +IUSE="fontconfig jpeg png X truetype" -DEPEND="jpeg? ( >=media-libs/jpeg-6b ) +DEPEND="fontconfig? ( media-libs/fontconfig ) + jpeg? ( >=media-libs/jpeg-6b ) png? ( >=media-libs/libpng-1.2.5 sys-libs/zlib ) truetype? ( >=media-libs/freetype-2.1.5 ) X? ( virtual/x11 )" -src_unpack() { - unpack ${A} - cd ${S} - gnuconfig_update -} - src_compile() { econf \ + $(use_with fontconfig) \ $(use_with png) \ $(use_with truetype freetype) \ $(use_with jpeg) \ @@ -35,7 +31,7 @@ src_compile() { } src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die dodoc INSTALL README* dohtml -r ./ } -- cgit v1.2.3-65-gdbad