summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2013-09-05 08:26:54 +0000
committerPeter Volkov <pva@gentoo.org>2013-09-05 08:26:54 +0000
commitc5e5b810cecd67382d7480a2788161f70702a103 (patch)
tree2bcd92daf8ece19b72cbf6566fbda015b2c83ae3 /media-fonts/dejavu
parentVersion bump. (diff)
downloadgentoo-2-c5e5b810cecd67382d7480a2788161f70702a103.tar.gz
gentoo-2-c5e5b810cecd67382d7480a2788161f70702a103.tar.bz2
gentoo-2-c5e5b810cecd67382d7480a2788161f70702a103.zip
Version bump, bug #483116 wrt Agostino Sarubbo.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key F1989B07)
Diffstat (limited to 'media-fonts/dejavu')
-rw-r--r--media-fonts/dejavu/ChangeLog7
-rw-r--r--media-fonts/dejavu/dejavu-2.34.ebuild82
2 files changed, 88 insertions, 1 deletions
diff --git a/media-fonts/dejavu/ChangeLog b/media-fonts/dejavu/ChangeLog
index 3baad5572958..6fc50914483e 100644
--- a/media-fonts/dejavu/ChangeLog
+++ b/media-fonts/dejavu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/dejavu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.169 2013/02/22 17:27:07 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.170 2013/09/05 08:26:54 pva Exp $
+
+*dejavu-2.34 (05 Sep 2013)
+
+ 05 Sep 2013; Peter Volkov <pva@gentoo.org> +dejavu-2.34.ebuild:
+ Version bump, bug #483116 wrt Agostino Sarubbo.
22 Feb 2013; Zac Medico <zmedico@gentoo.org> dejavu-2.33.ebuild:
Add ~arm-linux keyword.
diff --git a/media-fonts/dejavu/dejavu-2.34.ebuild b/media-fonts/dejavu/dejavu-2.34.ebuild
new file mode 100644
index 000000000000..cbb6f69450ff
--- /dev/null
+++ b/media-fonts/dejavu/dejavu-2.34.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/dejavu-2.34.ebuild,v 1.1 2013/09/05 08:26:54 pva Exp $
+
+EAPI="4"
+
+inherit font versionator
+
+DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
+HOMEPAGE="http://dejavu.sourceforge.net/"
+LICENSE="BitstreamVera"
+
+# If you want to test snapshot from dejavu.sf.net/snapshots/
+# just rename ebuild to dejavu-2.22.20071220.2156.ebuild
+MY_PV=$(get_version_component_range 1-2)
+snapv=$(get_version_component_range 3-4)
+snapv=${snapv/./-}
+MY_BP=${PN}-fonts-ttf-${MY_PV}
+MY_SP=${PN}-fonts-${MY_PV}
+
+if [ -z ${snapv} ]
+then
+ SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 )
+ fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )"
+else
+ MY_BP=${MY_BP}-${snapv}
+ MY_SP=${MY_SP}-${snapv}
+ SRC_URI="!fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_BP}.tar.bz2 )
+ fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_SP}.tar.bz2 )"
+fi
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+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.6.0 )"
+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-sans-mono.conf
+ "${S}"/fontconfig/20-unhint-small-dejavu-sans.conf
+ "${S}"/fontconfig/20-unhint-small-dejavu-serif.conf
+ "${S}"/fontconfig/57-dejavu-sans-mono.conf
+ "${S}"/fontconfig/57-dejavu-sans.conf
+ "${S}"/fontconfig/57-dejavu-serif.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
+}