Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/harfbuzz: harfbuzz-0.9.26-r1.ebuild ChangeLog
Date: Sat, 01 Mar 2014 13:33:23
Message-Id: 20140301133320.B76DD2004C@flycatcher.gentoo.org
1 mgorny 14/03/01 13:33:20
2
3 Modified: ChangeLog
4 Added: harfbuzz-0.9.26-r1.ebuild
5 Log:
6 Introduce multilib support as a dependency of pango, bug #488864.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.65 media-libs/harfbuzz/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 22 Feb 2014 22:22:26 -0000 1.64
24 +++ ChangeLog 1 Mar 2014 13:33:20 -0000 1.65
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/harfbuzz
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v 1.64 2014/02/22 22:22:26 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/ChangeLog,v 1.65 2014/03/01 13:33:20 mgorny Exp $
30 +
31 +*harfbuzz-0.9.26-r1 (01 Mar 2014)
32 +
33 + 01 Mar 2014; Michał Górny <mgorny@g.o> +harfbuzz-0.9.26-r1.ebuild:
34 + Introduce multilib support as a dependency of pango, bug #488864.
35
36 22 Feb 2014; Alexandre Rostovtsev <tetromino@g.o>
37 harfbuzz-0.9.23.ebuild, harfbuzz-0.9.26.ebuild, harfbuzz-9999.ebuild:
38
39
40
41 1.1 media-libs/harfbuzz/harfbuzz-0.9.26-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.26-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.26-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: harfbuzz-0.9.26-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.26-r1.ebuild,v 1.1 2014/03/01 13:33:20 mgorny Exp $
51
52 EAPI=5
53
54 EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
55 [[ ${PV} == 9999 ]] && inherit git-2 autotools
56
57 PYTHON_COMPAT=( python{2_6,2_7} )
58
59 inherit eutils libtool multilib-minimal python-any-r1
60
61 DESCRIPTION="An OpenType text shaping engine"
62 HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
63 [[ ${PV} == 9999 ]] || SRC_URI="http://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
64
65 LICENSE="Old-MIT ISC icu"
66 SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
67 [[ ${PV} == 9999 ]] || \
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
69 IUSE="+cairo +glib +graphite icu +introspection static-libs test +truetype"
70 REQUIRED_USE="introspection? ( glib )"
71
72 RDEPEND="
73 cairo? ( x11-libs/cairo:= )
74 glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
75 graphite? ( media-gfx/graphite2:=[${MULTILIB_USEDEP}] )
76 icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
77 introspection? ( >=dev-libs/gobject-introspection-1.34 )
78 truetype? ( media-libs/freetype:2=[${MULTILIB_USEDEP}] )
79 "
80 DEPEND="${RDEPEND}
81 dev-util/gtk-doc-am
82 virtual/pkgconfig
83 test? ( ${PYTHON_DEPS} )
84 "
85 # eautoreconf requires gobject-introspection-common
86 # ragel needed if regenerating *.hh files from *.rl
87 [[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
88 >=dev-libs/gobject-introspection-common-1.34
89 dev-util/ragel
90 "
91
92 pkg_setup() {
93 use test && python-any-r1_pkg_setup
94 }
95
96 src_prepare() {
97 if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
98 # on Darwin/Solaris we need to link with g++, like automake defaults
99 # to, but overridden by upstream because on Linux this is not
100 # necessary, bug #449126
101 sed -i \
102 -e 's/\<LINK\>/CXXLINK/' \
103 src/Makefile.am || die
104 sed -i \
105 -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
106 src/Makefile.in || die
107 sed -i \
108 -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
109 test/api/Makefile.in || die
110 fi
111
112 [[ ${PV} == 9999 ]] && eautoreconf
113 elibtoolize # for Solaris
114 }
115
116 multilib_src_configure() {
117 ECONF_SOURCE="${S}" \
118 econf \
119 --without-coretext \
120 --without-uniscribe \
121 $(use_enable static-libs static) \
122 $(multilib_is_native_abi \
123 && use_with cairo \
124 || echo --without-cairo) \
125 $(use_with glib) \
126 $(use_with glib gobject) \
127 $(use_with graphite graphite2) \
128 $(use_with icu) \
129 $(multilib_is_native_abi \
130 && use_enable introspection \
131 || echo --disable-introspection) \
132 $(use_with truetype freetype)
133 }
134
135 multilib_src_install_all() {
136 prune_libtool_files --modules
137 }