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: Mon, 02 May 2016 13:26:13
Message-Id: 1462195560.8f4ac410147427762f2883998f48366c140d81db.polynomial-c@gentoo
1 commit: 8f4ac410147427762f2883998f48366c140d81db
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 13:25:06 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 13:26:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4ac410
7
8 media-libs/harfbuzz: Bump to version 1.2.7
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-libs/harfbuzz/Manifest | 1 +
14 media-libs/harfbuzz/harfbuzz-1.2.7.ebuild | 102 ++++++++++++++++++++++++++++++
15 2 files changed, 103 insertions(+)
16
17 diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
18 index e50daf7..6ed9c38 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.4.tar.bz2 1320609 SHA256 449dbdf12a8f94aedbdefaac831d8b1bf45e7decaa9192eaa4f74104ef9de491 SHA512 fd721f172b329cb39ae053da77fc4ef9675d9578bf1043647dcdc06d6dd92f43cf39a75a780899364b82363f8271269c6eae71169f5c160c726d65fe3fafd16e WHIRLPOOL 0b751f988eb88bf958a7a7ab7783b9c83952f1b2324434630f43e12e7618afebd045b1499bd5605ebf35ce4f4ed15c12761a2a84a3412248bbd17476e6885b95
23 DIST harfbuzz-1.2.5.tar.bz2 1334740 SHA256 cfca0b6ba42c36a1f7b03fffb926dc4d137be2aa2a2ad8930259072e43a347d5 SHA512 a94b032895490215fdace430f04db02caf79c4ab705edea26844f31a79f4e213558550be216a14fd406cb2aecfab1ae8e1503f7f90b4a38ad498b78554495eb9 WHIRLPOOL 84a41974547eedd8f0306a70092fc06f9d643fcc89eaf2d04fba74f1e0005c36328b44a574723fde2287109813feb314fbbe74d0e8587850751fb0b8458e3d1f
24 DIST harfbuzz-1.2.6.tar.bz2 1336078 SHA256 7537bacccb3524df0cd2a4d5bc7e168bcc10e8171e0324f3cd522583868192c1 SHA512 00963674f41d12fb231c59813693f7b665924a1b57d9410a7a00de533aa6c5693b3852fbf03b8ed07183fb2e648b9250d949df59830e38c6adc0360ae8580edc WHIRLPOOL ae575709ff48c7c4b06417ecdd2712c5e8ce4c6ed789a64fdf50e884ce35258e5d3d35138ee81a232e852694bba96e4f4455827a74aec97d1143979a638cf5ef
25 +DIST harfbuzz-1.2.7.tar.bz2 1345389 SHA256 bba0600ae08b84384e6d2d7175bea10b5fc246c4583dc841498d01894d479026 SHA512 e1edfa0bf4936f7d47e5622547429b7f573710ac0c4fc023a7b00e1dceca8aa7f02800166eea0c883ae44d2886c50416d61791a8a8240ddaab9f4e389dadfff2 WHIRLPOOL 2ffcdb29b2a0506afb99e337c426c2e71cbc9ebf75add0ad25367fef6162984109260d6434fd1bf4fa9a8faba520eab1d5b1059286cd0d6d8a602dbf13d9181e
26
27 diff --git a/media-libs/harfbuzz/harfbuzz-1.2.7.ebuild b/media-libs/harfbuzz/harfbuzz-1.2.7.ebuild
28 new file mode 100644
29 index 0000000..03f88f1
30 --- /dev/null
31 +++ b/media-libs/harfbuzz/harfbuzz-1.2.7.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 +}