summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-13 23:35:42 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-13 23:35:42 +0000
commit726449e90d1782a3ef95e2b38725321588bf7d4e (patch)
treede90f2d6375535a6a2da3108763f8aa1ac206f4c /media-gfx/fontforge
parentppc love (diff)
downloadgentoo-2-726449e90d1782a3ef95e2b38725321588bf7d4e.tar.gz
gentoo-2-726449e90d1782a3ef95e2b38725321588bf7d4e.tar.bz2
gentoo-2-726449e90d1782a3ef95e2b38725321588bf7d4e.zip
Version bump.
(Portage version: 2.2_pre2)
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r--media-gfx/fontforge/ChangeLog8
-rw-r--r--media-gfx/fontforge/fontforge-20080309.ebuild54
2 files changed, 61 insertions, 1 deletions
diff --git a/media-gfx/fontforge/ChangeLog b/media-gfx/fontforge/ChangeLog
index a0231fd7ae6a..e791f11044de 100644
--- a/media-gfx/fontforge/ChangeLog
+++ b/media-gfx/fontforge/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fontforge
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.77 2008/03/13 01:09:50 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.78 2008/03/13 23:35:42 vapier Exp $
+
+*fontforge-20080309 (13 Mar 2008)
+
+ 13 Mar 2008; Mike Frysinger <vapier@gentoo.org>
+ +fontforge-20080309.ebuild:
+ Version bump.
13 Mar 2008; Ryan Hill <dirtyepic@gentoo.org>
+files/fontforge-20080302-bad-apple.patch, fontforge-20080302.ebuild:
diff --git a/media-gfx/fontforge/fontforge-20080309.ebuild b/media-gfx/fontforge/fontforge-20080309.ebuild
new file mode 100644
index 000000000000..7748800ab0c2
--- /dev/null
+++ b/media-gfx/fontforge/fontforge-20080309.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20080309.ebuild,v 1.1 2008/03/13 23:35:42 vapier Exp $
+
+inherit 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 ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="gif jpeg nls png python tiff truetype svg unicode X"
+
+RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 )
+ jpeg? ( >=media-libs/jpeg-6b-r2 )
+ png? ( >=media-libs/libpng-1.2.4 )
+ python? ( dev-lang/python )
+ 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 '3i#undef X_DISPLAY_MISSING' inc/config.h.in || die #205455
+}
+
+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 python) \
+ $(use_with X x) \
+ || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS README*
+
+ # install cidmaps needed for editing fonts with lots of characters #129518
+ insinto /usr/share/fontforge
+ doins "${WORKDIR}"/*.cidmap
+}