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, 24 Dec 2020 23:17:55
Message-Id: 1608851868.f3e28f896bf07cc1d56ca398a87bfda8030c300b.polynomial-c@gentoo
1 commit: f3e28f896bf07cc1d56ca398a87bfda8030c300b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 24 23:06:41 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 24 23:17:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3e28f89
7
8 media-libs/harfbuzz: Removed old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-libs/harfbuzz/Manifest | 1 -
14 media-libs/harfbuzz/harfbuzz-2.6.7.ebuild | 116 ------------------------------
15 2 files changed, 117 deletions(-)
16
17 diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
18 index c95b066f39d..d94213fa21e 100644
19 --- a/media-libs/harfbuzz/Manifest
20 +++ b/media-libs/harfbuzz/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST harfbuzz-2.6.7.tar.xz 9001936 BLAKE2B bd3a195506253a1446e877c35c067cc874826fc6fdae3bc3a9bfd2b7682ce12de7e6d7fd4ebe03b8178d8b678c06aa2d71715b27236347224a68e4d98a72039e SHA512 6fdd6e0952a73e1949349aa5416ef8fb3fc351b15c95be4fe1f341b111159fe58113b73a334db2697f4e3aaef5a761bd8f1d8964514406cad40f9862768d59de
23 DIST harfbuzz-2.7.2.tar.gz 16605557 BLAKE2B 246ab64e29afcadc692b57bad84acdea1f9200a63f6f8b1519d12b8515ec65dc45e2edf3abdde473b71364427a689d92ce2ee25c514edf4b1e680dd423d774ee SHA512 2eeb198dab1ed1cc7d10c3890293ff40e9f37372413877a5bd44d66e88d8460a81f51cbe71c328b1300f542ca8de3269749d1d01d0c324c8b95a9c038fbe1521
24 DIST harfbuzz-2.7.3.tar.gz 16696840 BLAKE2B 95eb0fc86caf51f512520ba599e9be08b4a9f6565a3e52280f9454043b524e7b04194e506b5122db066966125fa4583b7be856005b53726a0192d3f08fb5cdcb SHA512 1fa1cfd7b55446309413deb6c139ff9015a013b480da422482e75fa11b130b7dcfaeabfffc513a2027732d0b58fbd39dede2f3eb516214d5efd901a2d1e6af8f
25
26 diff --git a/media-libs/harfbuzz/harfbuzz-2.6.7.ebuild b/media-libs/harfbuzz/harfbuzz-2.6.7.ebuild
27 deleted file mode 100644
28 index 0e2f9fbf250..00000000000
29 --- a/media-libs/harfbuzz/harfbuzz-2.6.7.ebuild
30 +++ /dev/null
31 @@ -1,116 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{6,7,8} )
38 -
39 -inherit autotools flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils
40 -
41 -DESCRIPTION="An OpenType text shaping engine"
42 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
43 -
44 -if [[ ${PV} = 9999 ]] ; then
45 - EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
46 - inherit git-r3
47 -else
48 - SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
49 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -fi
51 -
52 -LICENSE="Old-MIT ISC icu"
53 -SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
54 -
55 -IUSE="+cairo debug +glib +graphite icu +introspection static-libs test +truetype"
56 -RESTRICT="!test? ( test )"
57 -REQUIRED_USE="introspection? ( glib )"
58 -
59 -RDEPEND="
60 - cairo? ( x11-libs/cairo:= )
61 - glib? ( >=dev-libs/glib-2.38: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 - test? ( ${PYTHON_DEPS} )
69 -"
70 -BDEPEND="
71 - dev-util/gtk-doc-am
72 - virtual/pkgconfig
73 -"
74 -# eautoreconf requires gobject-introspection-common
75 -# ragel needed if regenerating *.hh files from *.rl
76 -if [[ ${PV} = 9999 ]] ; then
77 - DEPEND+="
78 - >=dev-libs/gobject-introspection-common-1.34
79 - dev-util/ragel
80 - "
81 -fi
82 -
83 -pkg_setup() {
84 - use test && python-any-r1_pkg_setup
85 - if ! use debug ; then
86 - append-cppflags -DHB_NDEBUG
87 - fi
88 -}
89 -
90 -src_prepare() {
91 - default
92 -
93 - xdg_environment_reset
94 -
95 - if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
96 - # on Darwin/Solaris we need to link with g++, like automake defaults
97 - # to, but overridden by upstream because on Linux this is not
98 - # necessary, bug #449126
99 - sed -i \
100 - -e 's/\<LINK\>/CXXLINK/' \
101 - src/Makefile.am || die
102 - sed -i \
103 - -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
104 - src/Makefile.in || die
105 - sed -i \
106 - -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
107 - test/api/Makefile.in || die
108 - fi
109 -
110 - sed -i \
111 - -e 's:tests/macos.tests::' \
112 - test/shaping/data/in-house/Makefile.sources \
113 - test/shaping/data/in-house/Makefile.in || die # bug 726120
114 -
115 - eautoreconf
116 - elibtoolize # for Solaris
117 -
118 - # bug 618772
119 - append-cxxflags -std=c++14
120 -}
121 -
122 -multilib_src_configure() {
123 - # harfbuzz-gobject only used for instrospection, bug #535852
124 - local myeconfargs=(
125 - --without-coretext
126 - --without-fontconfig #609300
127 - --without-uniscribe
128 - $(use_enable static-libs static)
129 - $(multilib_native_use_with cairo)
130 - $(use_with glib)
131 - $(use_with introspection gobject)
132 - $(use_with graphite graphite2)
133 - $(use_with icu)
134 - $(multilib_native_use_enable introspection)
135 - $(use_with truetype freetype)
136 - )
137 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
138 -
139 - if multilib_is_native_abi; then
140 - ln -s "${S}"/docs/html docs/html || die
141 - fi
142 -}
143 -
144 -multilib_src_install_all() {
145 - einstalldocs
146 - find "${ED}" -type f -name "*.la" -delete || die
147 -}