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, 07 Sep 2021 14:26:15
Message-Id: 1631024762.1d66643e9ef7857b2afb7cdc9e74e81827988fcc.polynomial-c@gentoo
1 commit: 1d66643e9ef7857b2afb7cdc9e74e81827988fcc
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 7 14:25:28 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 7 14:26:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d66643e
7
8 media-libs/harfbuzz: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 media-libs/harfbuzz/harfbuzz-2.8.2.ebuild | 93 -------------------------------
13 1 file changed, 93 deletions(-)
14
15 diff --git a/media-libs/harfbuzz/harfbuzz-2.8.2.ebuild b/media-libs/harfbuzz/harfbuzz-2.8.2.ebuild
16 deleted file mode 100644
17 index 91e50bcaf5b..00000000000
18 --- a/media-libs/harfbuzz/harfbuzz-2.8.2.ebuild
19 +++ /dev/null
20 @@ -1,93 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -PYTHON_COMPAT=( python3_{7..9} )
27 -
28 -inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
29 -
30 -DESCRIPTION="An OpenType text shaping engine"
31 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
32 -
33 -if [[ ${PV} = 9999 ]] ; then
34 - EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
35 - inherit git-r3
36 -else
37 - SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
38 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
39 -fi
40 -
41 -LICENSE="Old-MIT ISC icu"
42 -SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
43 -
44 -IUSE="+cairo debug doc +glib +graphite icu +introspection static-libs test +truetype"
45 -RESTRICT="!test? ( test )"
46 -REQUIRED_USE="introspection? ( glib )"
47 -
48 -RDEPEND="
49 - cairo? ( x11-libs/cairo:= )
50 - glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
51 - graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
52 - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
53 - introspection? ( >=dev-libs/gobject-introspection-1.34:= )
54 - truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
55 -"
56 -DEPEND="${RDEPEND}
57 - >=dev-libs/gobject-introspection-common-1.34
58 -"
59 -BDEPEND="
60 - ${PYTHON_DEPS}
61 - virtual/pkgconfig
62 - doc? ( dev-util/gtk-doc )
63 - introspection? ( dev-util/glib-utils )
64 -"
65 -
66 -pkg_setup() {
67 - python-any-r1_pkg_setup
68 - if ! use debug ; then
69 - append-cppflags -DHB_NDEBUG
70 - fi
71 -}
72 -
73 -src_prepare() {
74 - default
75 -
76 - xdg_environment_reset
77 -
78 - sed -i \
79 - -e 's:tests/macos.tests::' \
80 - test/shaping/data/in-house/Makefile.sources \
81 - || die # bug 726120
82 -
83 - # bug 618772
84 - append-cxxflags -std=c++14
85 -
86 - # bug 790359
87 - filter-flags -fexceptions -fthreadsafe-statics
88 -
89 - # bug 762415
90 - local pyscript
91 - for pyscript in $(find -type f -name "*.py") ; do
92 - python_fix_shebang -q "${pyscript}"
93 - done
94 -}
95 -
96 -multilib_src_configure() {
97 - # harfbuzz-gobject only used for instrospection, bug #535852
98 - local emesonargs=(
99 - $(meson_native_use_feature cairo)
100 - -Dcoretext="disabled"
101 - $(meson_native_use_feature doc docs)
102 - -Dfontconfig="disabled" #609300
103 - $(meson_native_use_feature introspection)
104 - $(meson_use static-libs static)
105 - $(meson_feature glib)
106 - $(meson_feature graphite)
107 - $(meson_feature icu)
108 - $(meson_feature introspection gobject)
109 - $(meson_feature test tests)
110 - $(meson_feature truetype freetype)
111 - )
112 - meson_src_configure
113 -}