summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-09-19 20:40:26 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-09-19 20:40:26 +0000
commitbfaf698595535ad53b59df2686a09e09758b0584 (patch)
tree45659caa559a21c82e204ab7f40a6767122b2287 /media-fonts
parentia64/s390/sh/sparc stable wrt #327777 (diff)
downloadgentoo-2-bfaf698595535ad53b59df2686a09e09758b0584.tar.gz
gentoo-2-bfaf698595535ad53b59df2686a09e09758b0584.tar.bz2
gentoo-2-bfaf698595535ad53b59df2686a09e09758b0584.zip
Remove trailing space from font file name (bug #338057 by Faustus).
(Portage version: 2.2_rc84/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/khmer/ChangeLog9
-rw-r--r--media-fonts/khmer/khmer-5.0-r1.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/media-fonts/khmer/ChangeLog b/media-fonts/khmer/ChangeLog
index f06b2e709e13..c394f8c503dd 100644
--- a/media-fonts/khmer/ChangeLog
+++ b/media-fonts/khmer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/khmer
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/khmer/ChangeLog,v 1.2 2008/09/28 14:28:57 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/khmer/ChangeLog,v 1.3 2010/09/19 20:40:26 dirtyepic Exp $
+
+*khmer-5.0-r1 (19 Sep 2010)
+
+ 19 Sep 2010; Ryan Hill <dirtyepic@gentoo.org> +khmer-5.0-r1.ebuild:
+ Remove trailing space from font file name (bug #338057 by Faustus).
28 Sep 2008; Markus Meier <maekke@gentoo.org> khmer-5.0.ebuild:
amd64/x86 stable, bug #238606
diff --git a/media-fonts/khmer/khmer-5.0-r1.ebuild b/media-fonts/khmer/khmer-5.0-r1.ebuild
new file mode 100644
index 000000000000..30bf6eb1b8e9
--- /dev/null
+++ b/media-fonts/khmer/khmer-5.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/khmer/khmer-5.0-r1.ebuild,v 1.1 2010/09/19 20:40:26 dirtyepic Exp $
+
+inherit font
+
+DESCRIPTION="Fonts for the Khmer language of Cambodia"
+HOMEPAGE="http://www.khmeros.info/drupal/?q=en/download/fonts"
+SRC_URI="mirror://sourceforge/khmer/All_KhmerOS_${PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}/All_KhmerOS_${PV}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ [[ -f "KhmerOS .ttf" ]] && mv "KhmerOS .ttf" "KhmerOS.ttf" # 338057
+}
+
+pkg_postinst() {
+ font_pkg_postinst
+ echo
+ elog "To prefer using Khmer OS fonts, run:"
+ elog
+ elog " eselect fontconfig enable 65-khmer.conf"
+ echo
+}