summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-06-20 09:45:03 +0000
committerPeter Volkov <pva@gentoo.org>2011-06-20 09:45:03 +0000
commitaa2f5a85eacc9e645016186ac73eb65d6675b48b (patch)
tree8196056800c7f9ef3b3aab002c70c636b1687cad /media-fonts/corefonts
parentMake init script openrc compatible, bug 371575 thank Laszlo Valko for report.... (diff)
downloadgentoo-2-aa2f5a85eacc9e645016186ac73eb65d6675b48b.tar.gz
gentoo-2-aa2f5a85eacc9e645016186ac73eb65d6675b48b.tar.bz2
gentoo-2-aa2f5a85eacc9e645016186ac73eb65d6675b48b.zip
Use updated Microsoft's fonts that have some Bulgarian and Romanian letters added, bug 363847 thank sulfinu AT gmail DOT com for report.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/corefonts')
-rw-r--r--media-fonts/corefonts/ChangeLog8
-rw-r--r--media-fonts/corefonts/corefonts-1-r6.ebuild45
2 files changed, 52 insertions, 1 deletions
diff --git a/media-fonts/corefonts/ChangeLog b/media-fonts/corefonts/ChangeLog
index 79817dafe64e..8b6a8f83ef9b 100644
--- a/media-fonts/corefonts/ChangeLog
+++ b/media-fonts/corefonts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/corefonts
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/corefonts/ChangeLog,v 1.35 2011/02/23 10:11:09 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/corefonts/ChangeLog,v 1.36 2011/06/20 09:45:03 pva Exp $
+
+*corefonts-1-r6 (20 Jun 2011)
+
+ 20 Jun 2011; Peter Volkov <pva@gentoo.org> +corefonts-1-r6.ebuild:
+ Use updated Microsoft's fonts that have some Bulgarian and Romanian letters
+ added, bug 363847 thank sulfinu AT gmail DOT com for report.
*corefonts-1-r5 (23 Feb 2011)
diff --git a/media-fonts/corefonts/corefonts-1-r6.ebuild b/media-fonts/corefonts/corefonts-1-r6.ebuild
new file mode 100644
index 000000000000..0b9c557c14fd
--- /dev/null
+++ b/media-fonts/corefonts/corefonts-1-r6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/corefonts/corefonts-1-r6.ebuild,v 1.1 2011/06/20 09:45:03 pva Exp $
+
+inherit font
+
+DESCRIPTION="Microsoft's TrueType core fonts"
+HOMEPAGE="http://corefonts.sourceforge.net/"
+SRC_URI="mirror://gentoo/EUupdate.EXE
+ mirror://sourceforge/corefonts/andale32.exe
+ mirror://sourceforge/corefonts/arialb32.exe
+ mirror://sourceforge/corefonts/comic32.exe
+ mirror://sourceforge/corefonts/courie32.exe
+ mirror://sourceforge/corefonts/georgi32.exe
+ mirror://sourceforge/corefonts/impact32.exe
+ mirror://sourceforge/corefonts/webdin32.exe"
+
+LICENSE="MSttfEULA"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="X"
+
+DEPEND="app-arch/cabextract"
+RDEPEND=""
+
+S=${WORKDIR}
+FONT_S=${WORKDIR}
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ for exe in ${A} ; do
+ echo ">>> Unpacking ${exe} to ${WORKDIR}"
+ cabextract --lowercase "${DISTDIR}"/${exe} > /dev/null \
+ || die "failed to unpack ${exe}"
+ done
+}
+
+src_install() {
+ font_src_install
+ # The license explicitly states that the license must be distributed with the
+ # fonts. The only way to do that for the binpkg is to include it.
+ # We just have to copy it from the portdir because it's not actually inside
+ # upstream's own files...
+ dodoc "${PORTDIR}"/licenses/"${LICENSE}"
+}