Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/harfbuzz/
Date: Wed, 26 Oct 2016 18:24:00
Message-Id: 1477504445.52d0062d921ce39b3459fdfc793f703ef3761bcd.polynomial-c@gentoo
1 commit: 52d0062d921ce39b3459fdfc793f703ef3761bcd
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 26 17:54:05 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 26 17:54:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d0062d
7
8 media-libs/harfbuzz: Bump to version 1.3.3
9
10 Package-Manager: portage-2.3.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-libs/harfbuzz/Manifest | 1 +
14 media-libs/harfbuzz/harfbuzz-1.3.3.ebuild | 102 ++++++++++++++++++++++++++++++
15 2 files changed, 103 insertions(+)
16
17 diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
18 index ec9264e..7e30b6c 100644
19 --- a/media-libs/harfbuzz/Manifest
20 +++ b/media-libs/harfbuzz/Manifest
21 @@ -3,3 +3,4 @@ DIST harfbuzz-1.1.3.tar.bz2 1294579 SHA256 d93d7cb7979c32672e902fdfa884599e63f07
22 DIST harfbuzz-1.2.7.tar.bz2 1345389 SHA256 bba0600ae08b84384e6d2d7175bea10b5fc246c4583dc841498d01894d479026 SHA512 e1edfa0bf4936f7d47e5622547429b7f573710ac0c4fc023a7b00e1dceca8aa7f02800166eea0c883ae44d2886c50416d61791a8a8240ddaab9f4e389dadfff2 WHIRLPOOL 2ffcdb29b2a0506afb99e337c426c2e71cbc9ebf75add0ad25367fef6162984109260d6434fd1bf4fa9a8faba520eab1d5b1059286cd0d6d8a602dbf13d9181e
23 DIST harfbuzz-1.3.1.tar.bz2 1358437 SHA256 a242206dd119d5e6cc1b2253c116abbae03f9d930cb60b515fb0d248decf89a1 SHA512 7c2dbd1cc3c77646fd7627c4db9ac1a5781fb4babe8a92b276b2f2170f82d7075632253c7498c27735c5aa7331ee22d41e24c3a8cfa07adc2461ece1e36334b9 WHIRLPOOL 764b3f83d99d34dd73b989f57a3afdf0ef94de5a4b287717f4148c4d28976c1311b9c6bfbcfed612e53580c11c2228f0e3011bd689e3fa86b3a12185acd5cba1
24 DIST harfbuzz-1.3.2.tar.bz2 1357986 SHA256 8543a6372f08c5987c632dfaa86210c7edb3f43fbacd96095c609bc3539ce027 SHA512 19f846ee75d8a2d94da2a2b489fa8e54a5120599f998e451187f6695aa3931b28c491bbc0837892eaaebbd1da3441effe01f5f2470454f83cfa6a7c510ebcb32 WHIRLPOOL 507aa5d8f8517ef16d02f052f305b6566c5611c89b7cef904ddd577cc047acdc0b42f9fa5da10eccb56f884d5c20854d0cb4e2cb79ee133f728be7999ad961a5
25 +DIST harfbuzz-1.3.3.tar.bz2 1402836 SHA256 2620987115a4122b47321610dccbcc18f7f121115fd7b88dc8a695c8b66cb3c9 SHA512 d9759f849b892db534da163074b21d444c1558fed31de3b025ff6a8d14af180bd758735fcb9c58ca579a585f168644b5397a85a3767c73c13b2e343a63cd59ed WHIRLPOOL 4d6a90a6dfad81889e833201719c15e08cf862bdfaf64fd6ecd6db1f86e5af66662c3fcae0a244cc636ea3b3d4bf14dd85b363fa7426a5650aa601a8901ec4ab
26
27 diff --git a/media-libs/harfbuzz/harfbuzz-1.3.3.ebuild b/media-libs/harfbuzz/harfbuzz-1.3.3.ebuild
28 new file mode 100644
29 index 00000000..03f88f1
30 --- /dev/null
31 +++ b/media-libs/harfbuzz/harfbuzz-1.3.3.ebuild
32 @@ -0,0 +1,102 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
40 +[[ ${PV} == 9999 ]] && inherit git-r3 autotools
41 +
42 +PYTHON_COMPAT=( python2_7 )
43 +
44 +inherit eutils libtool multilib-minimal python-any-r1 xdg-utils
45 +
46 +DESCRIPTION="An OpenType text shaping engine"
47 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
48 +[[ ${PV} == 9999 ]] || SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
49 +
50 +LICENSE="Old-MIT ISC icu"
51 +SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
52 +[[ ${PV} == 9999 ]] || \
53 +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"
54 +
55 +IUSE="+cairo fontconfig +glib +graphite icu +introspection static-libs test +truetype"
56 +REQUIRED_USE="introspection? ( glib )"
57 +
58 +RDEPEND="
59 + cairo? ( x11-libs/cairo:= )
60 + fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] )
61 + glib? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
62 + graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
63 + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
64 + introspection? ( >=dev-libs/gobject-introspection-1.34:= )
65 + truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
66 +"
67 +DEPEND="${RDEPEND}
68 + dev-util/gtk-doc-am
69 + virtual/pkgconfig
70 + test? ( ${PYTHON_DEPS} )
71 +"
72 +# eautoreconf requires gobject-introspection-common
73 +# ragel needed if regenerating *.hh files from *.rl
74 +[[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
75 + >=dev-libs/gobject-introspection-common-1.34
76 + dev-util/ragel
77 +"
78 +
79 +pkg_setup() {
80 + use test && python-any-r1_pkg_setup
81 +}
82 +
83 +src_prepare() {
84 + default
85 +
86 + xdg_environment_reset
87 +
88 + if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
89 + # on Darwin/Solaris we need to link with g++, like automake defaults
90 + # to, but overridden by upstream because on Linux this is not
91 + # necessary, bug #449126
92 + sed -i \
93 + -e 's/\<LINK\>/CXXLINK/' \
94 + src/Makefile.am || die
95 + sed -i \
96 + -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
97 + src/Makefile.in || die
98 + sed -i \
99 + -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
100 + test/api/Makefile.in || die
101 + fi
102 +
103 + [[ ${PV} == 9999 ]] && eautoreconf
104 + elibtoolize # for Solaris
105 +
106 + # failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190
107 + sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed"
108 +}
109 +
110 +multilib_src_configure() {
111 + ECONF_SOURCE="${S}" \
112 + # harfbuzz-gobject only used for instrospection, bug #535852
113 + econf \
114 + --without-coretext \
115 + --without-uniscribe \
116 + $(use_enable static-libs static) \
117 + $(multilib_native_use_with cairo) \
118 + $(use_with fontconfig) \
119 + $(use_with glib) \
120 + $(use_with introspection gobject) \
121 + $(use_with graphite graphite2) \
122 + $(use_with icu) \
123 + $(multilib_native_use_enable introspection) \
124 + $(use_with truetype freetype)
125 +
126 + if multilib_is_native_abi; then
127 + ln -s "${S}"/docs/html docs/html || die
128 + fi
129 +}
130 +
131 +multilib_src_install_all() {
132 + einstalldocs
133 + prune_libtool_files --modules
134 +}