summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2015-11-11 09:13:19 +0100
committerGuilherme Amadio <amadio@gentoo.org>2015-11-11 09:15:34 +0100
commit3ffe331d30e71cfcc575ab60798b69ebbcf77425 (patch)
tree93c084185dc80db57256a0e4afa580ef1c9d6d2b /media-fonts
parentx11-terms/roxterm: set block against SLOT value 0 (diff)
downloadgentoo-3ffe331d30e71cfcc575ab60798b69ebbcf77425.tar.gz
gentoo-3ffe331d30e71cfcc575ab60798b69ebbcf77425.tar.bz2
gentoo-3ffe331d30e71cfcc575ab60798b69ebbcf77425.zip
Revert "media-fonts/nanumfont: renamed to media-fonts/nanum, remove old versions"
This reverts commit d391643289097344a0b18ab2665bb26198a0e3a1. The old ebuild contained monospaced fonts that are not in the new ebuild yet. Reverting until the new ebuild contains all fonts.
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/nanumfont/Manifest1
-rw-r--r--media-fonts/nanumfont/metadata.xml6
-rw-r--r--media-fonts/nanumfont/nanumfont-2.0-r1.ebuild35
-rw-r--r--media-fonts/nanumfont/nanumfont-2.0.ebuild23
4 files changed, 65 insertions, 0 deletions
diff --git a/media-fonts/nanumfont/Manifest b/media-fonts/nanumfont/Manifest
new file mode 100644
index 00000000000..455f85a5206
--- /dev/null
+++ b/media-fonts/nanumfont/Manifest
@@ -0,0 +1 @@
+DIST NanumGothicCoding-2.0.zip 2038498 SHA256 177317f060e305fa1dca079d453584d9ca7880153c992b188128c6b3b75ece2a SHA512 c69cf0dc2d72cac4f38a9ddfa90fb268b0d6673a9b74d728bf3fd08811d5cc8599cb17dae2a0e63e064aca0b733a56da27ae2fcc1efe2b02da631b14a54e1f3f WHIRLPOOL bbee1dff0ea8d276f5e22ef080d5b1ce9b0bd53c588e9cc619b7b46cb4a042aafc93aed3ad427923cd6e70849f18171e563bcd93c264b873428f83a28d47a568
diff --git a/media-fonts/nanumfont/metadata.xml b/media-fonts/nanumfont/metadata.xml
new file mode 100644
index 00000000000..89a87a77fa9
--- /dev/null
+++ b/media-fonts/nanumfont/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <herd>cjk</herd>
+</pkgmetadata>
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 00000000000..ba1c378635b
--- /dev/null
+++ b/media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+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/* .
+}
diff --git a/media-fonts/nanumfont/nanumfont-2.0.ebuild b/media-fonts/nanumfont/nanumfont-2.0.ebuild
new file mode 100644
index 00000000000..51ae8e2d840
--- /dev/null
+++ b/media-fonts/nanumfont/nanumfont-2.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"