Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/graphite2: ChangeLog graphite2-0.9.4-r1.ebuild graphite2-0.9.4.ebuild
Date: Wed, 27 Jul 2011 15:51:50
Message-Id: 20110727155125.B55432004B@flycatcher.gentoo.org
1 scarabeus 11/07/27 15:51:25
2
3 Modified: ChangeLog
4 Added: graphite2-0.9.4-r1.ebuild
5 Removed: graphite2-0.9.4.ebuild
6 Log:
7 Revision bump to fix multilib strictness. Fixes bug #376627.
8
9 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.4 media-gfx/graphite2/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 27 Jul 2011 10:06:52 -0000 1.3
25 +++ ChangeLog 27 Jul 2011 15:51:25 -0000 1.4
26 @@ -1,6 +1,13 @@
27 # ChangeLog for media-gfx/graphite2
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.3 2011/07/27 10:06:52 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.4 2011/07/27 15:51:25 scarabeus Exp $
31 +
32 +*graphite2-0.9.4-r1 (27 Jul 2011)
33 +
34 + 27 Jul 2011; Tomáš Chvátal <scarabeus@g.o>
35 + +files/graphite2-multilib-strict.patch, -graphite2-0.9.4.ebuild,
36 + +graphite2-0.9.4-r1.ebuild:
37 + Revision bump to fix multilib strictness. Fixes bug #376627.
38
39 27 Jul 2011; Tomáš Chvátal <scarabeus@g.o> graphite2-0.9.4.ebuild:
40 Fix CFLAGS parameters. Should fix build on gcc-4.6. Fixes bug #376567.
41
42
43
44 1.1 media-gfx/graphite2/graphite2-0.9.4-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: graphite2-0.9.4-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4-r1.ebuild,v 1.1 2011/07/27 15:51:25 scarabeus Exp $
54
55 EAPI=4
56
57 inherit base cmake-utils perl-module
58
59 DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
60 HOMEPAGE="http://graphite.sil.org/"
61 SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
66 IUSE="doc perl"
67
68 RDEPEND="
69 dev-libs/glib:2
70 media-libs/fontconfig
71 perl? ( dev-lang/perl )
72 "
73 DEPEND="${RDEPEND}
74 doc? (
75 app-doc/doxygen
76 dev-texlive/texlive-latex
77 )
78 perl? ( virtual/perl-Module-Build )
79 "
80
81 PATCHES=(
82 "${FILESDIR}/${PN}-includes-libs-perl.patch"
83 "${FILESDIR}/${PN}-disablefonttest.patch"
84 "${FILESDIR}/${PN}-multilib-strict.patch"
85 )
86
87 pkg_setup() {
88 use perl && perl-module_pkg_setup
89 }
90
91 src_prepare() {
92 base_src_prepare
93
94 # fix CFLAGS
95 sed -i \
96 -e 's:-nodefaultlibs -nostdlibs::' \
97 src/CMakeLists.txt || die
98
99 # fix perl linking
100 if use perl; then
101 _check_build_dir init
102 sed -i \
103 -e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \
104 perl/Build.PL || die
105 fi
106 }
107
108 src_configure() {
109 local mycmakeargs=(
110 "-DVM_MACHINE_TYPE=direct"
111 )
112
113 cmake-utils_src_configure
114 }
115
116 src_compile() {
117 cmake-utils_src_compile
118 use doc && Icmake-utils_src_compile docs
119 if use perl; then
120 cd perl
121 perl-module_src_prep
122 perl-module_src_compile
123 fi
124 }
125
126 src_test() {
127 cmake-utils_src_test
128 if use perl; then
129 cd perl
130 perl-module_src_test
131 fi
132 }
133
134 src_install() {
135 cmake-utils_src_install
136 if use perl; then
137 cd perl
138 perl-module_src_install
139 fixlocalpod
140 fi
141
142 find "${ED}" -name '*.la' -exec rm -f {} +
143
144 use doc && dodoc ${CMAKE_BUILD_DIR}/{manual.html,doxygen/latex/refman.pdf}
145 }