Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/graphite2: graphite2-1.2.4-r1.ebuild ChangeLog
Date: Sat, 01 Mar 2014 13:33:06
Message-Id: 20140301133300.8764D2004C@flycatcher.gentoo.org
1 mgorny 14/03/01 13:33:00
2
3 Modified: ChangeLog
4 Added: graphite2-1.2.4-r1.ebuild
5 Log:
6 Introduce multilib support as a dependency of pango, bug #488860.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.65 media-gfx/graphite2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 25 Jan 2014 21:55:35 -0000 1.64
24 +++ ChangeLog 1 Mar 2014 13:33:00 -0000 1.65
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/graphite2
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.64 2014/01/25 21:55:35 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.65 2014/03/01 13:33:00 mgorny Exp $
30 +
31 +*graphite2-1.2.4-r1 (01 Mar 2014)
32 +
33 + 01 Mar 2014; Michał Górny <mgorny@g.o> +graphite2-1.2.4-r1.ebuild:
34 + Introduce multilib support as a dependency of pango, bug #488860.
35
36 *graphite2-1.2.4 (25 Jan 2014)
37
38
39
40
41 1.1 media-gfx/graphite2/graphite2-1.2.4-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/graphite2-1.2.4-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/graphite2-1.2.4-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: graphite2-1.2.4-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.2.4-r1.ebuild,v 1.1 2014/03/01 13:33:00 mgorny Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_6,2_7} )
55
56 GENTOO_DEPEND_ON_PERL="no"
57 inherit eutils cmake-multilib perl-module python-any-r1
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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
66 IUSE="perl test"
67
68 RDEPEND="
69 perl? ( dev-lang/perl )
70 "
71 DEPEND="${RDEPEND}
72 perl? ( virtual/perl-Module-Build )
73 test? (
74 dev-libs/glib:2
75 media-libs/fontconfig
76 media-libs/silgraphite
77 ${PYTHON_DEPS}
78 )
79 "
80
81 PATCHES=(
82 "${FILESDIR}/${PN}-1.1.0-includes-libs-perl.patch"
83 "${FILESDIR}/${PN}-1.0.2-no_harfbuzz_tests.patch"
84 "${FILESDIR}/${PN}-1.0.3-no-test-binaries.patch"
85 "${FILESDIR}/${PN}-1.2.0-solaris.patch"
86 )
87
88 pkg_setup() {
89 use perl && perl-module_pkg_setup
90 use test && python-any-r1_pkg_setup
91 }
92
93 src_prepare() {
94 cmake-utils_src_prepare
95
96 # fix perl linking
97 if use perl; then
98 _check_build_dir init
99 sed -i \
100 -e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \
101 contrib/perl/Build.PL || die
102 fi
103
104 # make tests optional
105 if ! use test; then
106 sed -i \
107 -e '/tests/d' \
108 CMakeLists.txt || die
109 fi
110 }
111
112 src_configure() {
113 local mycmakeargs=(
114 "-DVM_MACHINE_TYPE=direct"
115 # http://sourceforge.net/p/silgraphite/bugs/49/
116 $([[ ${CHOST} == powerpc*-apple* ]] && \
117 echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON")
118 )
119
120 cmake-multilib_src_configure
121 }
122
123 src_compile() {
124 cmake-multilib_src_compile
125 if use perl; then
126 cd contrib/perl || die
127 perl-module_src_prep
128 perl-module_src_compile
129 fi
130 }
131
132 src_test() {
133 cmake-multilib_src_test
134 if use perl; then
135 cd contrib/perl || die
136 perl-module_src_test
137 fi
138 }
139
140 src_install() {
141 cmake-multilib_src_install
142 if use perl; then
143 cd contrib/perl || die
144 perl-module_src_install
145 fixlocalpod
146 fi
147
148 prune_libtool_files --all
149 }