Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/harfbuzz: harfbuzz-0.9.41.ebuild ChangeLog harfbuzz-0.9.35.ebuild
Date: Sun, 05 Jul 2015 08:18:44
Message-Id: 20150705081838.E021874E@oystercatcher.gentoo.org
1 pacho 15/07/05 08:18:38
2
3 Modified: ChangeLog
4 Added: harfbuzz-0.9.41.ebuild
5 Removed: harfbuzz-0.9.35.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.112 media-libs/harfbuzz/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?rev=1.112&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?rev=1.112&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?r1=1.111&r2=1.112
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v
21 retrieving revision 1.111
22 retrieving revision 1.112
23 diff -u -r1.111 -r1.112
24 --- ChangeLog 31 May 2015 10:56:39 -0000 1.111
25 +++ ChangeLog 5 Jul 2015 08:18:38 -0000 1.112
26 @@ -1,6 +1,12 @@
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.111 2015/05/31 10:56:39 maekke Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v 1.112 2015/07/05 08:18:38 pacho Exp $
31 +
32 +*harfbuzz-0.9.41 (05 Jul 2015)
33 +
34 + 05 Jul 2015; Pacho Ramos <pacho@g.o> +harfbuzz-0.9.41.ebuild,
35 + -harfbuzz-0.9.35.ebuild:
36 + Version bump, drop old
37
38 31 May 2015; Markus Meier <maekke@g.o> harfbuzz-0.9.38.ebuild:
39 arm stable, bug #544792
40
41
42
43 1.1 media-libs/harfbuzz/harfbuzz-0.9.41.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.41.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.41.ebuild?rev=1.1&content-type=text/plain
47
48 Index: harfbuzz-0.9.41.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.41.ebuild,v 1.1 2015/07/05 08:18:38 pacho Exp $
53
54 EAPI=5
55
56 EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
57 [[ ${PV} == 9999 ]] && inherit git-r3 autotools
58
59 PYTHON_COMPAT=( python2_7 )
60
61 inherit eutils libtool multilib-minimal python-any-r1
62
63 DESCRIPTION="An OpenType text shaping engine"
64 HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
65 [[ ${PV} == 9999 ]] || SRC_URI="http://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
66
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 ~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"
71
72 IUSE="+cairo fontconfig +glib +graphite icu +introspection static-libs test +truetype"
73 REQUIRED_USE="introspection? ( glib )"
74
75 RDEPEND="
76 cairo? ( x11-libs/cairo:= )
77 fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] )
78 glib? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
79 graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
80 icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
81 introspection? ( >=dev-libs/gobject-introspection-1.34 )
82 truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
83 "
84 DEPEND="${RDEPEND}
85 dev-util/gtk-doc-am
86 virtual/pkgconfig
87 test? ( ${PYTHON_DEPS} )
88 "
89 # eautoreconf requires gobject-introspection-common
90 # ragel needed if regenerating *.hh files from *.rl
91 [[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
92 >=dev-libs/gobject-introspection-common-1.34
93 dev-util/ragel
94 "
95
96 pkg_setup() {
97 use test && python-any-r1_pkg_setup
98 }
99
100 src_prepare() {
101 if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
102 # on Darwin/Solaris we need to link with g++, like automake defaults
103 # to, but overridden by upstream because on Linux this is not
104 # necessary, bug #449126
105 sed -i \
106 -e 's/\<LINK\>/CXXLINK/' \
107 src/Makefile.am || die
108 sed -i \
109 -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
110 src/Makefile.in || die
111 sed -i \
112 -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
113 test/api/Makefile.in || die
114 fi
115
116 [[ ${PV} == 9999 ]] && eautoreconf
117 elibtoolize # for Solaris
118
119 # failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190
120 sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed"
121 }
122
123 multilib_src_configure() {
124 ECONF_SOURCE="${S}" \
125 # harfbuzz-gobject only used for instrospection, bug #535852
126 econf \
127 --without-coretext \
128 --without-uniscribe \
129 $(use_enable static-libs static) \
130 $(multilib_native_use_with cairo) \
131 $(use_with fontconfig) \
132 $(use_with glib) \
133 $(use_with introspection gobject) \
134 $(use_with graphite graphite2) \
135 $(use_with icu) \
136 $(multilib_native_use_enable introspection) \
137 $(use_with truetype freetype)
138
139 if multilib_is_native_abi; then
140 ln -s "${S}"/docs/reference/html docs/reference/html || die
141 fi
142 }
143
144 multilib_src_install_all() {
145 einstalldocs
146 prune_libtool_files --modules
147 }