diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-05-30 17:37:11 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-05-30 17:37:11 +0000 |
commit | af46ef2878b92b58516eca2a4bba2391a72f9277 (patch) | |
tree | 29fd61aca089b0c8355caee6cb710836c1724029 /media-fonts/arphicfonts | |
parent | amd64 stable, bug #220223 (diff) | |
download | gentoo-2-af46ef2878b92b58516eca2a4bba2391a72f9277.tar.gz gentoo-2-af46ef2878b92b58516eca2a4bba2391a72f9277.tar.bz2 gentoo-2-af46ef2878b92b58516eca2a4bba2391a72f9277.zip |
Version bump. Closes bug 220303.
(Portage version: 2.1.5.2)
Diffstat (limited to 'media-fonts/arphicfonts')
-rw-r--r-- | media-fonts/arphicfonts/ChangeLog | 7 | ||||
-rw-r--r-- | media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild | 6 | ||||
-rw-r--r-- | media-fonts/arphicfonts/arphicfonts-0.2.20080216.1.ebuild | 96 |
3 files changed, 104 insertions, 5 deletions
diff --git a/media-fonts/arphicfonts/ChangeLog b/media-fonts/arphicfonts/ChangeLog index 15b4fe4d7115..d7645639ca4f 100644 --- a/media-fonts/arphicfonts/ChangeLog +++ b/media-fonts/arphicfonts/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-fonts/arphicfonts -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/ChangeLog,v 1.45 2007/10/02 01:29:30 dirtyepic Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/ChangeLog,v 1.46 2008/05/30 17:37:11 loki_val Exp $ + + 30 May 2008; Peter Alfredsen <loki_val@gentoo.org> ChangeLog: + Version bump. Closes bug 220303. 02 Oct 2007; Ryan Hill <dirtyepic@gentoo.org> arphicfonts-0.1-r2.ebuild, -arphicfonts-0.1.20060513.ebuild, arphicfonts-0.1.20060928.ebuild: diff --git a/media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild b/media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild index 16fd5ecd1a6c..7e2c8a74e4c4 100644 --- a/media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild +++ b/media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild,v 1.19 2007/10/02 01:29:30 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.1-r2.ebuild,v 1.20 2008/05/30 17:37:11 loki_val Exp $ inherit font @@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz LICENSE="Arphic" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" IUSE="X" S="${WORKDIR}" diff --git a/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1.ebuild b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1.ebuild new file mode 100644 index 000000000000..739012faca04 --- /dev/null +++ b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1.ebuild,v 1.1 2008/05/30 17:37:11 loki_val Exp $ + +inherit font + +DESCRIPTION="Chinese TrueType Arphic Fonts" +HOMEPAGE="http://www.arphic.com.tw/ + http://www.freedesktop.org/wiki/Software/CJKUnifonts" +SRC_URI="mirror://gnu/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz + mirror://gnu/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz + mirror://gnu/non-gnu/chinese-fonts-truetype/bsmi00lp.ttf.gz + mirror://gnu/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz + mirror://ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_${PV}.orig.tar.gz + mirror://ubuntu/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_${PV}.orig.tar.gz" + +LICENSE="Arphic" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +S="${WORKDIR}" + +#No binaries, only fonts +RESTRICT="strip binchecks" + +FONT_S="${S}" +FONT_SUFFIX="ttc ttf" +FONT_CONF=( "25-ttf-arphic-ukai-render.conf" + "35-ttf-arphic-ukai-aliases.conf" + "41-ttf-arphic-ukai.conf" + "75-ttf-arphic-ukai-select.conf" + "90-ttf-arphic-ukai-embolden.conf" + "25-ttf-arphic-uming-bitmaps.conf" + "25-ttf-arphic-uming-render.conf" + "35-ttf-arphic-uming-aliases.conf" + "41-ttf-arphic-uming.conf" + "64-ttf-arphic-uming.conf" + "90-ttf-arphic-uming-embolden.conf" ) + + +src_unpack() { + #All of this is to ensure that we don't overwrite one font's docs + #with another's. + + unpack {gk,bk}ai00mp.ttf.gz {bsmi,gbsn}00lp.ttf.gz + mkdir "${WORKDIR}"/{uming,ukai} + + cd "${WORKDIR}"/uming + unpack ttf-arphic-uming_${PV}.orig.tar.gz + + cd "${WORKDIR}"/ukai + unpack ttf-arphic-ukai_${PV}.orig.tar.gz + + cd "${WORKDIR}" + find "${WORKDIR}" -mindepth 2 -maxdepth 2 -name '*.ttc' -exec mv {} . \; + find "${WORKDIR}" -name '*.conf' -exec mv "{}" . \; +} + +src_install() { + local myfont doc + for myfont in ukai uming + do + cd "${WORKDIR}"/${myfont} + docinto ${myfont} + for doc in FONTLOG KNOWN_ISSUES TODO README README.Bitmap NEWS CONTRIBUTERS + do + [ -f ${doc} ] && dodoc ${doc} + done + done + cd "${S}" + font_src_install +} + +pkg_postinst() { + font_pkg_postinst + if use X + then + elog 'This package supplies fontconfig configuration files' + elog 'which may produce output preferable to the default.' + elog 'These are the files supplied:' + elog ' 25-ttf-arphic-ukai-render.conf' + elog ' 35-ttf-arphic-ukai-aliases.conf' + elog ' 41-ttf-arphic-ukai.conf' + elog ' 75-ttf-arphic-ukai-select.conf' + elog ' 90-ttf-arphic-ukai-embolden.conf' + elog ' 25-ttf-arphic-uming-bitmaps.conf' + elog ' 25-ttf-arphic-uming-render.conf' + elog ' 35-ttf-arphic-uming-aliases.conf' + elog ' 41-ttf-arphic-uming.conf' + elog ' 64-ttf-arphic-uming.conf' + elog ' 90-ttf-arphic-uming-embolden.conf' + elog 'To enable one of them, do (for example):' + elog ' eselect fontconfig 90-ttf-arphic-uming-embolden.conf enable' + fi +} |