diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-03 00:23:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-05-03 00:23:12 +0000 |
commit | b3ae2175c2ed4d828d46987abf1e3803c9c92132 (patch) | |
tree | 116631f2a011157d420f1922cf2ec57f0c43f13c /media-gfx | |
parent | Version bump. (diff) | |
download | gentoo-2-b3ae2175c2ed4d828d46987abf1e3803c9c92132.tar.gz gentoo-2-b3ae2175c2ed4d828d46987abf1e3803c9c92132.tar.bz2 gentoo-2-b3ae2175c2ed4d828d46987abf1e3803c9c92132.zip |
Version bump and add support USE=nls #175450 by Frederik 'Freso' S. Olesen.
(Portage version: 2.1.2.5)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/fontforge/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/fontforge/files/digest-fontforge-20070501 | 6 | ||||
-rw-r--r-- | media-gfx/fontforge/fontforge-20070501.ebuild | 53 |
3 files changed, 66 insertions, 1 deletions
diff --git a/media-gfx/fontforge/ChangeLog b/media-gfx/fontforge/ChangeLog index 1f094419fd93..476d98a43135 100644 --- a/media-gfx/fontforge/ChangeLog +++ b/media-gfx/fontforge/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/fontforge # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.48 2007/03/18 21:29:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.49 2007/05/03 00:23:12 vapier Exp $ + +*fontforge-20070501 (03 May 2007) + + 03 May 2007; Mike Frysinger <vapier@gentoo.org> + +fontforge-20070501.ebuild: + Version bump and add support USE=nls #175450 by Frederik 'Freso' S. Olesen. *fontforge-20070312 (18 Mar 2007) diff --git a/media-gfx/fontforge/files/digest-fontforge-20070501 b/media-gfx/fontforge/files/digest-fontforge-20070501 new file mode 100644 index 000000000000..054e5c5e6b75 --- /dev/null +++ b/media-gfx/fontforge/files/digest-fontforge-20070501 @@ -0,0 +1,6 @@ +MD5 5f00607e4bbe014cdfd5b23bb0943666 cidmaps-20041222.tgz 313755 +RMD160 c25b1a4f0d8ed0634402d2ce2b36ba47e0c2ef1b cidmaps-20041222.tgz 313755 +SHA256 e0c16072d4c0fea3614073306ba243aa974a00130c5201651892950d855641f3 cidmaps-20041222.tgz 313755 +MD5 6973e42c6fa939bb7ab2e3ab4ef23155 fontforge_full-20070501.tar.bz2 3892086 +RMD160 030804a4bbdd9153943db946b43ad1db46fee177 fontforge_full-20070501.tar.bz2 3892086 +SHA256 5ee94f939439fc4e6b666aa8f172c9f7b2d44c700d97620699425134e08bf31e fontforge_full-20070501.tar.bz2 3892086 diff --git a/media-gfx/fontforge/fontforge-20070501.ebuild b/media-gfx/fontforge/fontforge-20070501.ebuild new file mode 100644 index 000000000000..57599b9dfddd --- /dev/null +++ b/media-gfx/fontforge/fontforge-20070501.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20070501.ebuild,v 1.1 2007/05/03 00:23:12 vapier Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="postscript font editor and converter" +HOMEPAGE="http://fontforge.sourceforge.net/" +SRC_URI="mirror://sourceforge/fontforge/${PN}_full-${PV}.tar.bz2 + mirror://gentoo/cidmaps-20041222.tgz" # http://fontforge.sf.net/cidmaps.tgz + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="gif jpeg nls png tiff truetype svg unicode X" + +RDEPEND="png? ( >=media-libs/libpng-1.2.4 ) + gif? ( >=media-libs/giflib-4.1.0-r1 ) + jpeg? ( >=media-libs/jpeg-6b-r2 ) + tiff? ( >=media-libs/tiff-3.5.7-r1 ) + truetype? ( >=media-libs/freetype-2.1.4 ) + svg? ( >=dev-libs/libxml2-2.6.7 ) + unicode? ( >=media-libs/libuninameslist-030713 ) + !media-gfx/pfaedit" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e 's:ungif:gif:g' configure* || die + sed -i -e 's:"libungif":"libgif":g' gdraw/gimagereadgif.c || die +} + +src_compile() { + # no real way of disabling gettext/nls ... + use nls || export ac_cv_header_libintl_h=no + econf \ + --with-multilayer \ + --without-freetype-src \ + $(use_with X x) \ + || die "econf failed" + emake || die +} + +src_install() { + einstall || die + dodoc AUTHORS README* + + # install cidmaps needed for editing fonts with lots of characters #129518 + insinto /usr/share/fontforge + doins "${WORKDIR}"/*.cidmap +} |