summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2009-02-21 13:49:00 +0000
committerLuca Barbato <lu_zero@gentoo.org>2009-02-21 13:49:00 +0000
commit0da337bc909a4472ae5796b6b602dc85bbd2e044 (patch)
tree38abd647d88faa75a31dcf35b88e0f658aa5d11b /media-fonts/mikachan-font-otf
parentProvide a fontconfig override (diff)
downloadgentoo-2-0da337bc909a4472ae5796b6b602dc85bbd2e044.tar.gz
gentoo-2-0da337bc909a4472ae5796b6b602dc85bbd2e044.tar.bz2
gentoo-2-0da337bc909a4472ae5796b6b602dc85bbd2e044.zip
Provide fontconfig override
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/mikachan-font-otf')
-rw-r--r--media-fonts/mikachan-font-otf/ChangeLog10
-rw-r--r--media-fonts/mikachan-font-otf/files/60-mikachan_o.conf22
-rw-r--r--media-fonts/mikachan-font-otf/mikachan-font-otf-9.1-r1.ebuild33
-rw-r--r--media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild4
4 files changed, 65 insertions, 4 deletions
diff --git a/media-fonts/mikachan-font-otf/ChangeLog b/media-fonts/mikachan-font-otf/ChangeLog
index b5bbf70513a7..af6c551297c9 100644
--- a/media-fonts/mikachan-font-otf/ChangeLog
+++ b/media-fonts/mikachan-font-otf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/mikachan-font-otf
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/mikachan-font-otf/ChangeLog,v 1.16 2007/01/22 20:57:09 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/mikachan-font-otf/ChangeLog,v 1.17 2009/02/21 13:49:00 lu_zero Exp $
+
+*mikachan-font-otf-9.1-r1 (21 Feb 2009)
+
+ 21 Feb 2009; Luca Barbato <lu_zero@gentoo.org> +files/60-mikachan_o.conf,
+ +mikachan-font-otf-9.1-r1.ebuild:
+ Provide fontconfig override
22 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
mikachan-font-otf-9.1.ebuild:
diff --git a/media-fonts/mikachan-font-otf/files/60-mikachan_o.conf b/media-fonts/mikachan-font-otf/files/60-mikachan_o.conf
new file mode 100644
index 000000000000..07c60a6afe56
--- /dev/null
+++ b/media-fonts/mikachan-font-otf/files/60-mikachan_o.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>
diff --git a/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1-r1.ebuild b/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1-r1.ebuild
new file mode 100644
index 000000000000..a7c0c1cc7ec5
--- /dev/null
+++ b/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1-r1.ebuild,v 1.1 2009/02/21 13:49:00 lu_zero Exp $
+
+inherit font
+
+DESCRIPTION="Mikachan Japanese TrueType Collection fonts"
+HOMEPAGE="http://mikachan-font.com/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~flameeyes/dist/${P}.tar.bz2"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+FONT_SUFFIX="otf"
+FONT_S="${WORKDIR}/${P}"
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+FONT_CONF=( "${FILESDIR}/60-mikachan_o.conf" )
+
+pkg_postinst() {
+ font_pkg_postinst
+
+ echo
+ elog "To use mikachan otf instead of the default font for sans, serif and"
+ elog "monospace, use:"
+ elog " eselect fontconfig enable 60-mikachan_o.conf"
+ echo
+}
diff --git a/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild b/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild
index 0b1e3ae10cbb..303c6912647e 100644
--- a/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild
+++ b/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild,v 1.17 2007/02/17 13:41:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/mikachan-font-otf/mikachan-font-otf-9.1.ebuild,v 1.18 2009/02/21 13:49:00 lu_zero Exp $
inherit font