From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/graphite2: metadata.xml ChangeLog graphite2-0.9.4.ebuild |
Date: | Tue, 26 Jul 2011 19:07:26 |
Message-Id: | 20110726190219.D8EE12004B@flycatcher.gentoo.org |
1 | scarabeus 11/07/26 19:02:19 |
2 | |
3 | Added: metadata.xml ChangeLog graphite2-0.9.4.ebuild |
4 | Log: |
5 | Add graphite which is optional dependency for libreoffice. |
6 | |
7 | (Portage version: 2.2.0_alpha47/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/graphite2/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>openoffice</herd> |
21 | </pkgmetadata> |
22 | |
23 | |
24 | |
25 | 1.1 media-gfx/graphite2/ChangeLog |
26 | |
27 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?rev=1.1&content-type=text/plain |
29 | |
30 | Index: ChangeLog |
31 | =================================================================== |
32 | # ChangeLog for media-gfx/graphite2 |
33 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
34 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.1 2011/07/26 19:02:19 scarabeus Exp $ |
35 | |
36 | *graphite2-0.9.4 (26 Jul 2011) |
37 | |
38 | 26 Jul 2011; Tomáš Chvátal <scarabeus@g.o> +graphite2-0.9.4.ebuild, |
39 | +metadata.xml: |
40 | Add graphite which is optional dependency for libreoffice. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 media-gfx/graphite2/graphite2-0.9.4.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: graphite2-0.9.4.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2011 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4.ebuild,v 1.1 2011/07/26 19:02:19 scarabeus Exp $ |
55 | |
56 | EAPI=4 |
57 | |
58 | inherit cmake-utils |
59 | |
60 | DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" |
61 | HOMEPAGE="http://graphite.sil.org/" |
62 | SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz" |
63 | |
64 | LICENSE="LGPL-2.1" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
67 | IUSE="doc" |
68 | |
69 | RDEPEND=" |
70 | dev-libs/glib:2 |
71 | media-libs/fontconfig |
72 | " |
73 | DEPEND="${RDEPEND} |
74 | doc? ( |
75 | app-doc/doxygen |
76 | dev-texlive/texlive-latex |
77 | ) |
78 | " |
79 | |
80 | src_configure() { |
81 | local mycmakeargs=( |
82 | "-DVM_MACHINE_TYPE=direct" |
83 | ) |
84 | |
85 | cmake-utils_src_configure |
86 | } |
87 | |
88 | src_compile() { |
89 | cmake-utils_src_compile |
90 | use doc && Icmake-utils_src_compile docs |
91 | } |
92 | |
93 | src_install() { |
94 | cmake-utils_src_install |
95 | |
96 | find "${ED}" -name '*.la' -exec rm -f {} + |
97 | |
98 | use doc && dodoc ${CMAKE_BUILD_DIR}/{manual.html,doxygen/latex/refman.pdf} |
99 | } |