diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2009-02-22 13:21:29 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2009-02-22 13:21:29 +0000 |
commit | fe3610648e4d5648c35758c00d77ce6e30256ccb (patch) | |
tree | 782329a268d71933a82c39c19e12907e4ce3e358 /media-fonts/aquapfont | |
parent | Version bump. (diff) | |
download | historical-fe3610648e4d5648c35758c00d77ce6e30256ccb.tar.gz historical-fe3610648e4d5648c35758c00d77ce6e30256ccb.tar.bz2 historical-fe3610648e4d5648c35758c00d77ce6e30256ccb.zip |
Provide fontconfig override
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'media-fonts/aquapfont')
-rw-r--r-- | media-fonts/aquapfont/ChangeLog | 10 | ||||
-rw-r--r-- | media-fonts/aquapfont/aquapfont-2.6-r1.ebuild | 38 | ||||
-rw-r--r-- | media-fonts/aquapfont/files/60-aquapfont.conf | 22 |
3 files changed, 68 insertions, 2 deletions
diff --git a/media-fonts/aquapfont/ChangeLog b/media-fonts/aquapfont/ChangeLog index b749386b0b4f..f403e16292d6 100644 --- a/media-fonts/aquapfont/ChangeLog +++ b/media-fonts/aquapfont/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/aquapfont -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquapfont/ChangeLog,v 1.27 2008/01/15 17:18:05 grobian Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquapfont/ChangeLog,v 1.28 2009/02/22 13:21:29 lu_zero Exp $ + +*aquapfont-2.6-r1 (22 Feb 2009) + + 22 Feb 2009; Luca Barbato <lu_zero@gentoo.org> +files/60-aquapfont.conf, + +aquapfont-2.6-r1.ebuild: + Provide fontconfig override 15 Jan 2008; Fabian Groffen <grobian@gentoo.org> aquapfont-2.5-r1.ebuild, aquapfont-2.6.ebuild: diff --git a/media-fonts/aquapfont/aquapfont-2.6-r1.ebuild b/media-fonts/aquapfont/aquapfont-2.6-r1.ebuild new file mode 100644 index 000000000000..00bafa2fb6cd --- /dev/null +++ b/media-fonts/aquapfont/aquapfont-2.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquapfont/aquapfont-2.6-r1.ebuild,v 1.1 2009/02/22 13:21:29 lu_zero Exp $ + +inherit font + +MY_P="${PN/font/}${PV/\./_}" + +DESCRIPTION="Very pretty Japanese proportional truetype font" +HOMEPAGE="http://aquablue.milkcafe.to/" +SRC_URI="http://aquablue.milkcafe.to/tears/font/${MY_P}.zip" + +LICENSE="aquafont" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +S="${WORKDIR}/${MY_P}" +FONT_S="${S}" +FONT_SUFFIX="ttf" +DOCS="readme.txt" + +DEPEND="app-arch/unzip" +RDEPEND="" + +# Only installs fonts +RESTRICT="strip binchecks" + +FONT_CONF=( "${FILESDIR}/60-aquapfont.conf" ) + +pkg_postinst() { + font_pkg_postinst + + echo + elog "To use aquapfont instead of the default font for sans and serif use:" + elog " eselect fontconfig enable 60-aquapfont.conf" + echo +} diff --git a/media-fonts/aquapfont/files/60-aquapfont.conf b/media-fonts/aquapfont/files/60-aquapfont.conf new file mode 100644 index 000000000000..07c60a6afe56 --- /dev/null +++ b/media-fonts/aquapfont/files/60-aquapfont.conf @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>serif</family> + <prefer> + <family>mikachan_o-P</family> <!-- han (ja) --> + </prefer> + </alias> + <alias> + <family>sans-serif</family> + <prefer> + <family>mikachan_o-P</family> <!-- han (ja) --> + </prefer> + </alias> + <alias> + <family>monospace</family> + <prefer> + <family>mikachan_o</family> <!-- han (ja) --> + </prefer> + </alias> +</fontconfig> |