From: | "Peter Volkov (pva)" <pva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-fonts/culmus-ancient: metadata.xml ChangeLog culmus-ancient-0.05.1.ebuild |
Date: | Sun, 01 Mar 2009 09:35:57 |
Message-Id: | E1Ldi5T-0008OY-Jb@stork.gentoo.org |
1 | pva 09/03/01 09:35:55 |
2 | |
3 | Added: metadata.xml ChangeLog culmus-ancient-0.05.1.ebuild |
4 | Log: |
5 | Initial import. |
6 | (Portage version: 2.2_rc23/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-fonts/culmus-ancient/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/culmus-ancient/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/culmus-ancient/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>fonts</herd> |
20 | <use> |
21 | <flag name='fontforge'>Use <pkg>media-gfx/fontforge</pkg> to build fonts from source</flag> |
22 | </use> |
23 | </pkgmetadata> |
24 | |
25 | |
26 | |
27 | 1.1 media-fonts/culmus-ancient/ChangeLog |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/culmus-ancient/ChangeLog?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/culmus-ancient/ChangeLog?rev=1.1&content-type=text/plain |
31 | |
32 | Index: ChangeLog |
33 | =================================================================== |
34 | # ChangeLog for media-fonts/culmus-ancient |
35 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
36 | # $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus-ancient/ChangeLog,v 1.1 2009/03/01 09:35:55 pva Exp $ |
37 | |
38 | *culmus-ancient-0.05.1 (01 Mar 2009) |
39 | |
40 | 01 Mar 2009; Peter Volkov <pva@g.o> +metadata.xml, |
41 | +culmus-ancient-0.05.1.ebuild: |
42 | Initial import. History began. |
43 | |
44 | |
45 | |
46 | |
47 | 1.1 media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild |
48 | |
49 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild?rev=1.1&view=markup |
50 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild?rev=1.1&content-type=text/plain |
51 | |
52 | Index: culmus-ancient-0.05.1.ebuild |
53 | =================================================================== |
54 | # Copyright 1999-2009 Gentoo Foundation |
55 | # Distributed under the terms of the GNU General Public License v2 |
56 | # $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild,v 1.1 2009/03/01 09:35:55 pva Exp $ |
57 | |
58 | inherit font versionator |
59 | |
60 | MY_P=AncientSemiticFonts-$(replace_version_separator 2 '-') |
61 | |
62 | DESCRIPTION="Ancient Semitic Scripts" |
63 | HOMEPAGE="http://culmus.sourceforge.net/" |
64 | SRC_URI="!fontforge? ( mirror://sourceforge/culmus/${MY_P}.TTF.tgz ) |
65 | fontforge? ( mirror://sourceforge/culmus/${MY_P}.tgz )" |
66 | |
67 | KEYWORDS="~amd64 ~x86" |
68 | SLOT="0" |
69 | LICENSE="GPL-2 MIT" |
70 | IUSE="fontforge" |
71 | |
72 | DEPEND="fontforge? ( media-gfx/fontforge )" |
73 | RDEPEND="" |
74 | |
75 | FONT_SUFFIX="ttf" |
76 | DOCS="CHANGES README" |
77 | |
78 | if use fontforge; then |
79 | S=${WORKDIR}/${MY_P} |
80 | FONT_S=${S}/src |
81 | else |
82 | S=${WORKDIR}/${MY_P}.TTF |
83 | FONT_S=${S}/fonts |
84 | fi |
85 | |
86 | src_compile() { |
87 | if use fontforge; then |
88 | cd src |
89 | export FONTFORGE_LANGUAGE=ff |
90 | make clean |
91 | make all || die "Failed to build fonts" |
92 | fi |
93 | } |
94 | |
95 | pkg_postinst() { |
96 | elog "This font contains support for fontconfig, which may make" |
97 | elog "it render more smoothly. To enable it, do:" |
98 | elog "eselect fontconfig enable 65-culmus.conf" |
99 | } |