summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-26 23:19:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-26 23:19:00 +0000
commit63ce30ead5985b077329a46229813d365ce9a4fc (patch)
tree195bb9b569fdde4fb51440a32d28d12ca183b44e
parentStable on ppc64 (diff)
downloadgentoo-2-63ce30ead5985b077329a46229813d365ce9a4fc.tar.gz
gentoo-2-63ce30ead5985b077329a46229813d365ce9a4fc.tar.bz2
gentoo-2-63ce30ead5985b077329a46229813d365ce9a4fc.zip
Add a new revision gzipping the pcf files (1/3 installed size).
(Portage version: 2.1.2_rc2-r2)
-rw-r--r--media-fonts/wqy-bitmapfont/ChangeLog8
-rw-r--r--media-fonts/wqy-bitmapfont/files/digest-wqy-bitmapfont-0.7.0-r13
-rw-r--r--media-fonts/wqy-bitmapfont/wqy-bitmapfont-0.7.0-r1.ebuild29
3 files changed, 39 insertions, 1 deletions
diff --git a/media-fonts/wqy-bitmapfont/ChangeLog b/media-fonts/wqy-bitmapfont/ChangeLog
index d25fd4059a6e..9e6eed8d2456 100644
--- a/media-fonts/wqy-bitmapfont/ChangeLog
+++ b/media-fonts/wqy-bitmapfont/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/wqy-bitmapfont
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-bitmapfont/ChangeLog,v 1.5 2006/11/26 23:10:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-bitmapfont/ChangeLog,v 1.6 2006/11/26 23:19:00 flameeyes Exp $
+
+*wqy-bitmapfont-0.7.0-r1 (26 Nov 2006)
+
+ 26 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +wqy-bitmapfont-0.7.0-r1.ebuild:
+ Add a new revision gzipping the pcf files (1/3 installed size).
26 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
wqy-bitmapfont-0.7.0.ebuild:
diff --git a/media-fonts/wqy-bitmapfont/files/digest-wqy-bitmapfont-0.7.0-r1 b/media-fonts/wqy-bitmapfont/files/digest-wqy-bitmapfont-0.7.0-r1
new file mode 100644
index 000000000000..9698cf164a82
--- /dev/null
+++ b/media-fonts/wqy-bitmapfont/files/digest-wqy-bitmapfont-0.7.0-r1
@@ -0,0 +1,3 @@
+MD5 bb577c26c530a28eab46d944d7391ed7 wqy-bitmapfont-pcf-0.7.0-4.tar.gz 5428710
+RMD160 dfe482678fcf09663aec44bd9a3ac4b4fd802ed7 wqy-bitmapfont-pcf-0.7.0-4.tar.gz 5428710
+SHA256 e3b7c858d13f359fadce659eeb5ee6d1351451d7e3a340ee95feb4fa6bd82b56 wqy-bitmapfont-pcf-0.7.0-4.tar.gz 5428710
diff --git a/media-fonts/wqy-bitmapfont/wqy-bitmapfont-0.7.0-r1.ebuild b/media-fonts/wqy-bitmapfont/wqy-bitmapfont-0.7.0-r1.ebuild
new file mode 100644
index 000000000000..a1f711e6d561
--- /dev/null
+++ b/media-fonts/wqy-bitmapfont/wqy-bitmapfont-0.7.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/wqy-bitmapfont/wqy-bitmapfont-0.7.0-r1.ebuild,v 1.1 2006/11/26 23:19:00 flameeyes Exp $
+
+inherit font
+
+DESCRIPTION="WenQuanYi Bitmap Song CJK font"
+HOMEPAGE="http://wqy.sourceforge.net/en/"
+SRC_URI="mirror://sourceforge/wqy/${PN}-pcf-${PV}-4.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND=""
+S="${WORKDIR}/${PN}"
+FONT_S="${S}"
+
+FONT_SUFFIX="pcf.gz"
+DOCS="INSTALL* LATEST-IS* STAT README LOGO.PNG CREDIT ChangeLog"
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+src_compile() {
+ cd "${FONT_S}"
+ for file in *.pcf; do
+ gzip -9 ${file} || die "gzip failed"
+ done
+}