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: Tue, 23 Feb 2016 22:39:06
Message-Id: 1456267134.c387639fdbb8a48757487975f163e20b19df601b.polynomial-c@gentoo
1 commit: c387639fdbb8a48757487975f163e20b19df601b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 23 22:38:36 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 22:38:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c387639f
7
8 media-libs/harfbuzz: Bump to version 1.2.1
9
10 Package-Manager: portage-2.2.27
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.1.ebuild | 100 ++++++++++++++++++++++++++++++
15 2 files changed, 101 insertions(+)
16
17 diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
18 index 8697f08..7bbafc7 100644
19 --- a/media-libs/harfbuzz/Manifest
20 +++ b/media-libs/harfbuzz/Manifest
21 @@ -2,3 +2,4 @@ DIST harfbuzz-0.9.41.tar.bz2 1188176 SHA256 d81aa53d0c02b437beeaac159d7fc16394d6
22 DIST harfbuzz-1.0.6.tar.bz2 1240522 SHA256 f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26 SHA512 20ee169389a784e4ad4e2ff006a59a36879dba0a37a999ff51c2b4d76da9496a1a747d5176e9611998187452e6d18f880295bdfb9f45338acddf772fc3f16021 WHIRLPOOL 63eab91311674417b66fa92e0b92a5482321dfa8dc48edcc3ae1ed459483222ab08229438356245cc183234a65388fbb6bdb73222359dea0ec2a35a1bf141c78
23 DIST harfbuzz-1.1.3.tar.bz2 1294579 SHA256 d93d7cb7979c32672e902fdfa884599e63f07f2fa5b06c66147d20c516d4b8f7 SHA512 e418a1543ec2a1e58e5d8d0ba9a40e8675eda13c94c664ff83ed6303c724f078cf1744883b454c46ec40157db8dc05e7f2cf5e52200601bb1e13827d8dfbaccf WHIRLPOOL 9d18d985df77ff841b1a87d25f17eb472517e109a051f2ed213b44ec91de3a499853cf7d93e23f5ac4c199ec65f2dd02300e05097cb4983565ebb9227c8d3810
24 DIST harfbuzz-1.2.0.tar.bz2 1333335 SHA256 79ff5305153d15931fbdda80c9612783b0283dee44f4c2af71aa37353daaa685 SHA512 92a2203ab3491992081c3cbcb7b151e1c632a98c9b2cc27863df377e08d3951387f513c7f5184a05b0523b99517775e083edfccac8386981c242ed02d34052c5 WHIRLPOOL ddcb6b3afb3b56bc326086e01450da978cdfe3832b2f2eb136cec0a6a089f701a0e572b5a3a256a186ef88a2232d336279fd8348223bcbf1eccc42db2338ff07
25 +DIST harfbuzz-1.2.1.tar.bz2 1335074 SHA256 0c189aa386c5ea8d7c315adf273f56f48f412081a367b3f92abc2d0855fa2226 SHA512 537da15b217096a3acf3ac6077e5fab1c9c7d473a924ba241ccdcf5f375051e9d34be9f309165daae8db05ca1819204e8b95b95a7508216526145b0c2d46d0dc WHIRLPOOL 1b05eb7e511b8405358dfd1d1317cdb793b6931568bc86f6808595a9cc51ec38b5775d33b15a34623fff7ba086a2ec75a34c10920b84d43ee7de8c4dcb9429df
26
27 diff --git a/media-libs/harfbuzz/harfbuzz-1.2.1.ebuild b/media-libs/harfbuzz/harfbuzz-1.2.1.ebuild
28 new file mode 100644
29 index 0000000..5c0e26b
30 --- /dev/null
31 +++ b/media-libs/harfbuzz/harfbuzz-1.2.1.ebuild
32 @@ -0,0 +1,100 @@
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
45 +
46 +DESCRIPTION="An OpenType text shaping engine"
47 +HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
48 +[[ ${PV} == 9999 ]] || SRC_URI="http://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 + if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
87 + # on Darwin/Solaris we need to link with g++, like automake defaults
88 + # to, but overridden by upstream because on Linux this is not
89 + # necessary, bug #449126
90 + sed -i \
91 + -e 's/\<LINK\>/CXXLINK/' \
92 + src/Makefile.am || die
93 + sed -i \
94 + -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
95 + src/Makefile.in || die
96 + sed -i \
97 + -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
98 + test/api/Makefile.in || die
99 + fi
100 +
101 + [[ ${PV} == 9999 ]] && eautoreconf
102 + elibtoolize # for Solaris
103 +
104 + # failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190
105 + sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed"
106 +}
107 +
108 +multilib_src_configure() {
109 + ECONF_SOURCE="${S}" \
110 + # harfbuzz-gobject only used for instrospection, bug #535852
111 + econf \
112 + --without-coretext \
113 + --without-uniscribe \
114 + $(use_enable static-libs static) \
115 + $(multilib_native_use_with cairo) \
116 + $(use_with fontconfig) \
117 + $(use_with glib) \
118 + $(use_with introspection gobject) \
119 + $(use_with graphite graphite2) \
120 + $(use_with icu) \
121 + $(multilib_native_use_enable introspection) \
122 + $(use_with truetype freetype)
123 +
124 + if multilib_is_native_abi; then
125 + ln -s "${S}"/docs/html docs/html || die
126 + fi
127 +}
128 +
129 +multilib_src_install_all() {
130 + einstalldocs
131 + prune_libtool_files --modules
132 +}