summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-06-11 20:16:52 +0000
committerPeter Volkov <pva@gentoo.org>2010-06-11 20:16:52 +0000
commite4d87010edc2d954f429f6c1403fac8e2aaa072d (patch)
treec8e5309cc63cb2cca4bace3485a09a3ef273e5e2 /media-fonts
parentRevoking ~amd64 from 10.1.53.64 due to major browser issues, and increasing w... (diff)
downloadgentoo-2-e4d87010edc2d954f429f6c1403fac8e2aaa072d.tar.gz
gentoo-2-e4d87010edc2d954f429f6c1403fac8e2aaa072d.tar.bz2
gentoo-2-e4d87010edc2d954f429f6c1403fac8e2aaa072d.zip
Added hack to avoid installation of files in cp949 encoding, bug 322041, thank Alexander Bezrukov for report.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/nanumfont/ChangeLog10
-rw-r--r--media-fonts/nanumfont/nanumfont-2.0-r1.ebuild32
2 files changed, 40 insertions, 2 deletions
diff --git a/media-fonts/nanumfont/ChangeLog b/media-fonts/nanumfont/ChangeLog
index 0a6e1f7b44a0..c42e4d80c165 100644
--- a/media-fonts/nanumfont/ChangeLog
+++ b/media-fonts/nanumfont/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/nanumfont
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/nanumfont/ChangeLog,v 1.2 2009/11/14 16:09:21 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/nanumfont/ChangeLog,v 1.3 2010/06/11 20:16:52 pva Exp $
+
+*nanumfont-2.0-r1 (11 Jun 2010)
+
+ 11 Jun 2010; Peter Volkov <pva@gentoo.org> +nanumfont-2.0-r1.ebuild:
+ Added hack to avoid installation of files in cp949 encoding, bug 322041,
+ thank Alexander Bezrukov for report.
14 Nov 2009; Markus Meier <maekke@gentoo.org> nanumfont-2.0.ebuild:
amd64/x86 stable, bug #286234
diff --git a/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild b/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
new file mode 100644
index 000000000000..efadc990cee5
--- /dev/null
+++ b/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild,v 1.1 2010/06/11 20:16:52 pva Exp $
+
+EAPI=2
+inherit font
+
+MY_P="NanumGothicCoding-${PV}"
+DESCRIPTION="Korean monospace font distributed by NHN"
+HOMEPAGE="http://dev.naver.com/projects/nanumfont"
+SRC_URI="http://dev.naver.com/frs/download.php/441/${MY_P}.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+S="${WORKDIR}"
+FONT_S="${S}"
+
+FONT_SUFFIX="ttf"
+
+src_prepare() {
+ # Rename names in cp949 encoding, bug #322041
+ mkdir recode || die
+ mv *-Bold.ttf recode/${PN}-Bold.ttf || die
+ mv *.ttf recode/${PN}.ttf || die
+ mv recode/* .
+}