summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2009-02-22 13:17:25 +0000
committerLuca Barbato <lu_zero@gentoo.org>2009-02-22 13:17:25 +0000
commita686654d1a01fcac800dd6cbf0fa8fef30038e79 (patch)
treede18b340f62c66ab3ab2da115b6e9b7312670369 /media-fonts/aquafont
parentVersion bump (diff)
downloadgentoo-2-a686654d1a01fcac800dd6cbf0fa8fef30038e79.tar.gz
gentoo-2-a686654d1a01fcac800dd6cbf0fa8fef30038e79.tar.bz2
gentoo-2-a686654d1a01fcac800dd6cbf0fa8fef30038e79.zip
Provide fontconfig override
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/aquafont')
-rw-r--r--media-fonts/aquafont/ChangeLog10
-rw-r--r--media-fonts/aquafont/aquafont-2.7-r4.ebuild39
-rw-r--r--media-fonts/aquafont/files/60-aquafont.conf10
3 files changed, 57 insertions, 2 deletions
diff --git a/media-fonts/aquafont/ChangeLog b/media-fonts/aquafont/ChangeLog
index 85e0c9d14e26..f78ef338e8fb 100644
--- a/media-fonts/aquafont/ChangeLog
+++ b/media-fonts/aquafont/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/aquafont
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquafont/ChangeLog,v 1.24 2008/09/04 17:08:33 matsuu Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquafont/ChangeLog,v 1.25 2009/02/22 13:17:25 lu_zero Exp $
+
+*aquafont-2.7-r4 (22 Feb 2009)
+
+ 22 Feb 2009; Luca Barbato <lu_zero@gentoo.org> +files/60-aquafont.conf,
+ +aquafont-2.7-r4.ebuild:
+ Provide fontconfig override
*aquafont-2.7-r3 (04 Sep 2008)
diff --git a/media-fonts/aquafont/aquafont-2.7-r4.ebuild b/media-fonts/aquafont/aquafont-2.7-r4.ebuild
new file mode 100644
index 000000000000..4943c8947414
--- /dev/null
+++ b/media-fonts/aquafont/aquafont-2.7-r4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquafont/aquafont-2.7-r4.ebuild,v 1.1 2009/02/22 13:17:25 lu_zero Exp $
+
+inherit font
+
+MY_P="${PN/font/}${PV/\./_}"
+
+DESCRIPTION="Handwritten Japanese fixed-width TrueType font"
+HOMEPAGE="http://www.geocities.jp/teardrops_in_aquablue/"
+SRC_URI="http://www.geocities.jp/teardrops_in_aquablue/fnt/${MY_P}.zip"
+
+LICENSE="aquafont"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="X"
+
+S="${WORKDIR}/${MY_P}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+DOCS="readme.txt"
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+FONT_CONF=( "${FILESDIR}/60-aquafont.conf" )
+
+pkg_postinst() {
+ font_pkg_postinst
+
+ echo
+ elog "To use aquafont instead of the default font for monospace use:"
+ elog " eselect fontconfig enable 60-aquafont.conf"
+ echo
+}
diff --git a/media-fonts/aquafont/files/60-aquafont.conf b/media-fonts/aquafont/files/60-aquafont.conf
new file mode 100644
index 000000000000..f160f4acf454
--- /dev/null
+++ b/media-fonts/aquafont/files/60-aquafont.conf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>aquafont</family> <!-- han (ja) -->
+ </prefer>
+ </alias>
+</fontconfig>