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