summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-08-16 16:54:04 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-08-16 16:54:04 +0200
commite027737c5ece2ab97e2429bd20e88d5391f72883 (patch)
tree030b131c6328e67aab0f0b9c0d33d28cf1c4c49e /media-fonts/dejavu
parentmedia-sound/pamix: Bump to version 1.2 (diff)
downloadgentoo-e027737c5ece2ab97e2429bd20e88d5391f72883.tar.gz
gentoo-e027737c5ece2ab97e2429bd20e88d5391f72883.tar.bz2
gentoo-e027737c5ece2ab97e2429bd20e88d5391f72883.zip
media-fonts/dejavu: Bump to version 2.37 (bug #591204).
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-fonts/dejavu')
-rw-r--r--media-fonts/dejavu/Manifest2
-rw-r--r--media-fonts/dejavu/dejavu-2.37.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/media-fonts/dejavu/Manifest b/media-fonts/dejavu/Manifest
index d5d66f0a0a9f..c81e0a0f3d9f 100644
--- a/media-fonts/dejavu/Manifest
+++ b/media-fonts/dejavu/Manifest
@@ -1,4 +1,6 @@
DIST dejavu-fonts-2.34.tar.bz2 11329547 SHA256 b5ca9e671635a9fe04c791cdc82c707ba57380c2cc8de3f92451a039134b9027 SHA512 7142b083fbabe11a060e3ae43d0f929cc1bc90692d9a31acd4996ee2f6eeadcebab6e9733a78d944271eccf3d89646ccb40a2e8e4660d7e40feed0f0f42890d8 WHIRLPOOL 56d9a762a1ae2aea87679f65cab70c71998d2127adcdd4eda16f242db5b12195b071b4b91e1d4ba59ad6447250a96d2cc5a8f3cbc5d7e15cd834e99fa3bf94ab
DIST dejavu-fonts-2.35.tar.bz2 11493699 SHA256 646f5f52fbba7c6c82580a22cedb487f31ecf28aa28c71da5c38e04c2989abf5 SHA512 a00ad39b3f02dc3866b54b522b299d65a571bf7c0625b8aa4f7095fa15010cebecb8b2a51a3716336c48531acf617b557dd4114b670910560e69d2b315715cb4 WHIRLPOOL 698b1486e3ddc61f9ddfc5608540d71cd5aaa9348a3c698217b5339c7ad7615236f6529e76c1da725cb4891358341ee9a48f660fb1becaa59bb3d0f89e3a92e4
+DIST dejavu-fonts-2.37.tar.bz2 12050109 SHA256 4b21c5203f792343d5e90ab1cb0cf07e99887218abe3d83cd9a98cea9085e799 SHA512 e61fc8c675ef76edb49dd9a8caee62087280929bb8144b52aca2f8def30025c56246589ad8a6a806b9574e6876eedd16d57c70a6ce9c86817a2dfe39d8a2bb2b WHIRLPOOL 5642794ed3ee3fed64fd01444d835354c2d61d995091b656d6cae2b8ec7b3ee652c06d45f559aebbe3a6b54e5ba5ec2b9bdbd3b45aa49c3bf626778efce7f8cc
DIST dejavu-fonts-ttf-2.34.tar.bz2 4706932 SHA256 d0a72c3ae99f5b8d7470daf091ec43f78dc942795aed5c996ab1aa678702eb5d SHA512 3a79adeeebdc4fb26c9d48d042fd8f42428aaf95e289bb9842aecf728e269792a90a68d3651fb8b0cceea394daaa824c353722dc2b9577a819265f9159bb17ef WHIRLPOOL 98934554c4c96e45e761267c09639a8561f6a9652faf81160d907a803f59f26bd0ca4b738752eaed5f34b5dcdda15de7a58e92791da8af7e07a4a1fe29e4bcbd
DIST dejavu-fonts-ttf-2.35.tar.bz2 5092541 SHA256 f6d7965586101ff3a8a5c3ec503e082bb6a9604ff53413e10702e5917c194d88 SHA512 af0120e4c409cdcf31994499b2f24cb34e07961d5e48a70959ce6309df219e19bf35d0bb2a11f6ef5e24aa5788136998ec94fc2608bb6f409ba324595e858006 WHIRLPOOL 2b4685cd99d31dc29a8c703d27c2c7037872afcc8fa4d78ebb514640ad056a767795c8e29e5ec015994135df04d291b1689129d4a9c4ae46528f935fd7cc5530
+DIST dejavu-fonts-ttf-2.37.tar.bz2 5429777 SHA256 fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7 SHA512 bafa39321021097432777f0825d700190c23f917d754a4504722cd8946716c22c083836294dab7f3ae7cf20af63c4d0944f3423bf4aa25dbca562d1f30e00654 WHIRLPOOL c2e8a147eae50a91b696b91e2d205b66f02dc3dfa47f932553e9b02229b5d73216b1953da59fd1006c8711f396ab8dfeedaf2a5e4a07f6d8f04ae08957939c43
diff --git a/media-fonts/dejavu/dejavu-2.37.ebuild b/media-fonts/dejavu/dejavu-2.37.ebuild
new file mode 100644
index 000000000000..567aae83c83b
--- /dev/null
+++ b/media-fonts/dejavu/dejavu-2.37.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit font versionator
+
+DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
+HOMEPAGE="http://dejavu.sourceforge.net/"
+
+# 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
+ SRC_URI="!fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_BP}-${snapv}.tar.bz2 )
+ fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_SP}-${snapv}.tar.bz2 )"
+fi
+
+LICENSE="BitstreamVera"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 )"
+
+FONT_CONF=(
+ fontconfig/20-unhint-small-dejavu-sans-mono.conf
+ fontconfig/20-unhint-small-dejavu-sans.conf
+ fontconfig/20-unhint-small-dejavu-serif.conf
+ fontconfig/57-dejavu-sans-mono.conf
+ fontconfig/57-dejavu-sans.conf
+ fontconfig/57-dejavu-serif.conf
+)
+
+FONT_S="ttf"
+FONT_SUFFIX="ttf"
+DOCS="AUTHORS NEWS README.md status.txt langcover.txt unicover.txt"
+
+src_unpack() {
+ default
+ if use fontforge; then
+ mv "${MY_SP}" "${P}" || die
+ else
+ mv "${MY_BP}" "${P}" || die
+ fi
+}
+
+src_compile() {
+ if use fontforge; then
+ emake \
+ BUILDDIR=ttf \
+ 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 ttf/*.txt
+ fi
+}