Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/harfbuzz: harfbuzz-0.9.40.ebuild ChangeLog harfbuzz-9999.ebuild harfbuzz-0.9.37.ebuild
Date: Sat, 28 Mar 2015 18:06:30
Message-Id: 20150328180624.A338714B86@oystercatcher.gentoo.org
1 tetromino 15/03/28 18:06:23
2
3 Modified: ChangeLog harfbuzz-9999.ebuild
4 Added: harfbuzz-0.9.40.ebuild
5 Removed: harfbuzz-0.9.37.ebuild
6 Log:
7 Version bump, drop old.
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)
10
11 Revision Changes Path
12 1.100 media-libs/harfbuzz/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?rev=1.100&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?rev=1.100&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?r1=1.99&r2=1.100
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v
21 retrieving revision 1.99
22 retrieving revision 1.100
23 diff -u -r1.99 -r1.100
24 --- ChangeLog 3 Mar 2015 08:36:27 -0000 1.99
25 +++ ChangeLog 28 Mar 2015 18:06:23 -0000 1.100
26 @@ -1,6 +1,13 @@
27 # ChangeLog for media-libs/harfbuzz
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v 1.99 2015/03/03 08:36:27 dlan Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v 1.100 2015/03/28 18:06:23 tetromino Exp $
31 +
32 +*harfbuzz-0.9.40 (28 Mar 2015)
33 +
34 + 28 Mar 2015; Alexandre Rostovtsev <tetromino@g.o>
35 + -harfbuzz-0.9.37.ebuild, +harfbuzz-0.9.40.ebuild, harfbuzz-9999.ebuild,
36 + -files/harfbuzz-0.9.12-hb-version.h.patch:
37 + Version bump, drop old.
38
39 03 Mar 2015; Yixun Lan <dlan@g.o> harfbuzz-0.9.38.ebuild:
40 add arm64 support, tested on A53 board
41
42
43
44 1.33 media-libs/harfbuzz/harfbuzz-9999.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-9999.ebuild?rev=1.33&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-9999.ebuild?rev=1.33&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-9999.ebuild?r1=1.32&r2=1.33
49
50 Index: harfbuzz-9999.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-9999.ebuild,v
53 retrieving revision 1.32
54 retrieving revision 1.33
55 diff -u -r1.32 -r1.33
56 --- harfbuzz-9999.ebuild 17 Feb 2015 17:19:34 -0000 1.32
57 +++ harfbuzz-9999.ebuild 28 Mar 2015 18:06:23 -0000 1.33
58 @@ -1,6 +1,6 @@
59 # Copyright 1999-2015 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-9999.ebuild,v 1.32 2015/02/17 17:19:34 tetromino Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-9999.ebuild,v 1.33 2015/03/28 18:06:23 tetromino Exp $
63
64 EAPI=5
65
66 @@ -18,7 +18,7 @@
67 LICENSE="Old-MIT ISC icu"
68 SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
69 [[ ${PV} == 9999 ]] || \
70 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
71 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
72 IUSE="+cairo +glib +graphite icu +introspection static-libs test +truetype"
73 REQUIRED_USE="introspection? ( glib )"
74
75
76
77
78 1.1 media-libs/harfbuzz/harfbuzz-0.9.40.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.40.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.40.ebuild?rev=1.1&content-type=text/plain
82
83 Index: harfbuzz-0.9.40.ebuild
84 ===================================================================
85 # Copyright 1999-2015 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.40.ebuild,v 1.1 2015/03/28 18:06:23 tetromino Exp $
88
89 EAPI=5
90
91 EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
92 [[ ${PV} == 9999 ]] && inherit git-r3 autotools
93
94 PYTHON_COMPAT=( python{2_6,2_7} )
95
96 inherit eutils libtool multilib-minimal python-any-r1
97
98 DESCRIPTION="An OpenType text shaping engine"
99 HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
100 [[ ${PV} == 9999 ]] || SRC_URI="http://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
101
102 LICENSE="Old-MIT ISC icu"
103 SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
104 [[ ${PV} == 9999 ]] || \
105 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
106 IUSE="+cairo +glib +graphite icu +introspection static-libs test +truetype"
107 REQUIRED_USE="introspection? ( glib )"
108
109 RDEPEND="
110 cairo? ( x11-libs/cairo:= )
111 glib? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
112 graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
113 icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
114 introspection? ( >=dev-libs/gobject-introspection-1.34 )
115 truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
116 "
117 DEPEND="${RDEPEND}
118 dev-util/gtk-doc-am
119 virtual/pkgconfig
120 test? ( ${PYTHON_DEPS} )
121 "
122 # eautoreconf requires gobject-introspection-common
123 # ragel needed if regenerating *.hh files from *.rl
124 [[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
125 >=dev-libs/gobject-introspection-common-1.34
126 dev-util/ragel
127 "
128
129 pkg_setup() {
130 use test && python-any-r1_pkg_setup
131 }
132
133 src_prepare() {
134 if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
135 # on Darwin/Solaris we need to link with g++, like automake defaults
136 # to, but overridden by upstream because on Linux this is not
137 # necessary, bug #449126
138 sed -i \
139 -e 's/\<LINK\>/CXXLINK/' \
140 src/Makefile.am || die
141 sed -i \
142 -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
143 src/Makefile.in || die
144 sed -i \
145 -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
146 test/api/Makefile.in || die
147 fi
148
149 [[ ${PV} == 9999 ]] && eautoreconf
150 elibtoolize # for Solaris
151
152 # failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190
153 sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed"
154 }
155
156 multilib_src_configure() {
157 ECONF_SOURCE="${S}" \
158 # harfbuzz-gobject only used for instrospection, bug #535852
159 econf \
160 --without-coretext \
161 --without-uniscribe \
162 $(use_enable static-libs static) \
163 $(multilib_native_use_with cairo) \
164 $(use_with glib) \
165 $(use_with introspection gobject) \
166 $(use_with graphite graphite2) \
167 $(use_with icu) \
168 $(multilib_native_use_enable introspection) \
169 $(use_with truetype freetype)
170
171 if multilib_is_native_abi; then
172 ln -s "${S}"/docs/reference/html docs/reference/html || die
173 fi
174 }
175
176 multilib_src_install_all() {
177 einstalldocs
178 prune_libtool_files --modules
179 }