Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-fonts/mplus-outline-fonts: metadata.xml ChangeLog mplus-outline-fonts-0_pre024.ebuild
Date: Mon, 15 Jun 2009 15:45:14
Message-Id: E1MGEMw-0007Bo-Cs@stork.gentoo.org
1 matsuu 09/06/15 15:45:10
2
3 Modified: metadata.xml ChangeLog
4 Added: mplus-outline-fonts-0_pre024.ebuild
5 Log:
6 Version bumped. Added ipafont USE flag.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 media-fonts/mplus-outline-fonts/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 23 Dec 2005 15:06:23 -0000 1.1
23 +++ metadata.xml 15 Jun 2009 15:45:10 -0000 1.2
24 @@ -3,4 +3,7 @@
25 <pkgmetadata>
26 <herd>cjk</herd>
27 <herd>fonts</herd>
28 +<use>
29 + <flag name='ipafont'>Generates new fonts merged with <pkg>media-fonts/ja-ipafonts</pkg></flag>
30 +</use>
31 </pkgmetadata>
32
33
34
35 1.14 media-fonts/mplus-outline-fonts/ChangeLog
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog?rev=1.14&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog?rev=1.14&content-type=text/plain
39 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog?r1=1.13&r2=1.14
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v
44 retrieving revision 1.13
45 retrieving revision 1.14
46 diff -u -r1.13 -r1.14
47 --- ChangeLog 22 Apr 2009 15:17:52 -0000 1.13
48 +++ ChangeLog 15 Jun 2009 15:45:10 -0000 1.14
49 @@ -1,6 +1,12 @@
50 # ChangeLog for media-fonts/mplus-outline-fonts
51 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.13 2009/04/22 15:17:52 matsuu Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/ChangeLog,v 1.14 2009/06/15 15:45:10 matsuu Exp $
54 +
55 +*mplus-outline-fonts-0_pre024 (15 Jun 2009)
56 +
57 + 15 Jun 2009; MATSUU Takuto <matsuu@g.o>
58 + +mplus-outline-fonts-0_pre024.ebuild:
59 + Version bumped. Added ipafont USE flag.
60
61 *mplus-outline-fonts-0_pre023 (22 Apr 2009)
62
63
64
65
66 1.1 media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre024.ebuild
67
68 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre024.ebuild?rev=1.1&view=markup
69 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre024.ebuild?rev=1.1&content-type=text/plain
70
71 Index: mplus-outline-fonts-0_pre024.ebuild
72 ===================================================================
73 # Copyright 1999-2009 Gentoo Foundation
74 # Distributed under the terms of the GNU General Public License v2
75 # $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre024.ebuild,v 1.1 2009/06/15 15:45:10 matsuu Exp $
76
77 inherit font
78
79 MY_P="mplus-${PV/0_pre/TESTFLIGHT-}"
80 DESCRIPTION="M+ Japanese outline fonts with IPA font"
81 HOMEPAGE="http://mplus-fonts.sourceforge.jp/ https://sourceforge.jp/projects/opfc/"
82 SRC_URI="mirror://sourceforge.jp/mplus-fonts/6650/${MY_P}.tar.gz"
83
84 LICENSE="mplus-fonts IPAfont"
85 SLOT="0"
86 #KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"
87 KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
88 IUSE="ipafont"
89
90 DEPEND="ipafont? (
91 media-gfx/fontforge
92 >=media-fonts/ja-ipafonts-003.01
93 )"
94 RDEPEND=""
95
96 S="${WORKDIR}/${MY_P}"
97
98 FONT_SUFFIX="ttf"
99 FONT_S="${S}"
100
101 DOCS="README_J README_J"
102
103 RESTRICT="strip binchecks"
104
105 IPAFONT_DIR="/usr/share/fonts/ja-ipafonts"
106 src_unpack() {
107 unpack ${A}
108 if use ipafont ; then
109 cp -p "${IPAFONT_DIR}/ipag.otf" "${S}" || die
110 fi
111 }
112
113 src_compile() {
114 if use ipafont ; then
115 fontforge -script m++ipa.pe || die
116 rm -f ipag.otf || die
117 fi
118 }