summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-01 21:28:00 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-01 21:28:00 +0000
commite50360944fc794131bdfe44b8da5473c1d947ca8 (patch)
treead32bb8931abdfaaff9fe6cb14f85f385dc7bf46 /media-fonts/dejavu
parentmysql_config did not return correct output, per bug #224451. Revision bump wi... (diff)
downloadgentoo-2-e50360944fc794131bdfe44b8da5473c1d947ca8.tar.gz
gentoo-2-e50360944fc794131bdfe44b8da5473c1d947ca8.tar.bz2
gentoo-2-e50360944fc794131bdfe44b8da5473c1d947ca8.zip
Commit masked version for keywording and testing
(Portage version: 2.1.5.2)
Diffstat (limited to 'media-fonts/dejavu')
-rw-r--r--media-fonts/dejavu/ChangeLog7
-rw-r--r--media-fonts/dejavu/dejavu-2.25-r1.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/media-fonts/dejavu/ChangeLog b/media-fonts/dejavu/ChangeLog
index 2d32465ffef6..2d97572a9e0c 100644
--- a/media-fonts/dejavu/ChangeLog
+++ b/media-fonts/dejavu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/dejavu
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.111 2008/05/19 12:56:50 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.112 2008/06/01 21:28:00 loki_val Exp $
+
+*dejavu-2.25-r1 (01 Jun 2008)
+
+ 01 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> +dejavu-2.25-r1.ebuild:
+ Commit masked version for keywording and testing
*dejavu-2.25 (19 May 2008)
diff --git a/media-fonts/dejavu/dejavu-2.25-r1.ebuild b/media-fonts/dejavu/dejavu-2.25-r1.ebuild
new file mode 100644
index 000000000000..f0e078663198
--- /dev/null
+++ b/media-fonts/dejavu/dejavu-2.25-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/dejavu-2.25-r1.ebuild,v 1.1 2008/06/01 21:28:00 loki_val Exp $
+
+EAPI=1
+
+inherit font
+
+DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
+HOMEPAGE="http://dejavu.sourceforge.net/"
+LICENSE="BitstreamVera"
+
+MY_BP=${PN}-fonts-ttf-${PV}
+MY_SP=${PN}-fonts-${PV}
+SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 )
+ fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )"
+
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="+fontforge"
+DEPEND="fontforge? ( x11-apps/mkfontscale
+ >=media-gfx/fontforge-20080429
+ x11-apps/mkfontdir
+ dev-perl/Font-TTF
+ app-i18n/unicode-data
+ >media-libs/fontconfig-2.5.93 )"
+RDEPEND=""
+
+if use fontforge
+then
+ S=${WORKDIR}/${MY_SP}
+ FONT_S=${S}/build
+else
+ S=${WORKDIR}/${MY_BP}
+ FONT_S=${S}/ttf
+fi
+FONT_CONF=( "${S}/fontconfig/20-unhint-small-dejavu.conf"
+ "${S}/fontconfig/20-unhint-small-dejavu-experimental.conf"
+ "${S}/fontconfig/57-dejavu.conf"
+ "${S}/fontconfig/61-dejavu-experimental.conf" )
+FONT_SUFFIX="ttf"
+DOCS="AUTHORS NEWS README status.txt langcover.txt unicover.txt"
+
+src_compile() {
+ if use fontforge
+ then
+ emake -j1 \
+ BLOCKS=/usr/share/unicode-data/Blocks.txt \
+ UNICODEDATA=/usr/share/unicode-data/UnicodeData.txt \
+ FC-LANG=/usr/share/fc-lang \
+ full sans \
+ || die "emake failed"
+ fi
+}
+
+src_install() {
+ font_src_install
+ if use fontforge
+ then
+ dodoc build/*.txt
+ fi
+
+}
+
+pkg_postinst() {
+ font_pkg_postinst
+
+ ewarn
+ ewarn "Starting with ${PN}-2.22 font ligatures were re-imported in DejaVu"
+ ewarn "That means that you'll possibly encounter the infamous ligature bug"
+ ewarn "with pango-enabled Firefox (e.g. 'fi' and 'fl' will occasionally"
+ ewarn "overlap). This will be fixed in Firefox-3.x. Until this happens"
+ ewarn "either use Firefox without pango (MOZ_DISABLE_PANGO=1), or use"
+ ewarn "${PN}-2.21"
+ ewarn
+}
+