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