Skip to content

Commit

Permalink
Revert "media-fonts/nanumfont: renamed to media-fonts/nanum, remove o…
Browse files Browse the repository at this point in the history
…ld versions"

This reverts commit d391643.
The old ebuild contained monospaced fonts that are not in the
new ebuild yet. Reverting until the new ebuild contains all
fonts.
  • Loading branch information
amadio committed Nov 11, 2015
1 parent 2ff55b9 commit 3ffe331
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-fonts/nanumfont/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST NanumGothicCoding-2.0.zip 2038498 SHA256 177317f060e305fa1dca079d453584d9ca7880153c992b188128c6b3b75ece2a SHA512 c69cf0dc2d72cac4f38a9ddfa90fb268b0d6673a9b74d728bf3fd08811d5cc8599cb17dae2a0e63e064aca0b733a56da27ae2fcc1efe2b02da631b14a54e1f3f WHIRLPOOL bbee1dff0ea8d276f5e22ef080d5b1ce9b0bd53c588e9cc619b7b46cb4a042aafc93aed3ad427923cd6e70849f18171e563bcd93c264b873428f83a28d47a568
6 changes: 6 additions & 0 deletions media-fonts/nanumfont/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>
35 changes: 35 additions & 0 deletions media-fonts/nanumfont/nanumfont-2.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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/* .
}
23 changes: 23 additions & 0 deletions media-fonts/nanumfont/nanumfont-2.0.ebuild
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 3ffe331

Please sign in to comment.