1 |
commit: 8f3da124ff78ea8c12ddff052fd6b541d193ab04 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jul 3 06:39:38 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 9 08:39:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3da124 |
7 |
|
8 |
media-libs/harfbuzz: add experimental useflag |
9 |
|
10 |
EAPI 8 |
11 |
bump python implementations |
12 |
|
13 |
Bug: https://bugs.gentoo.org/800109 |
14 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
15 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
16 |
Closes: https://github.com/gentoo/gentoo/pull/21510 |
17 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
18 |
|
19 |
media-libs/harfbuzz/harfbuzz-9999.ebuild | 18 +++++++++++------- |
20 |
media-libs/harfbuzz/metadata.xml | 5 +++-- |
21 |
2 files changed, 14 insertions(+), 9 deletions(-) |
22 |
|
23 |
diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild |
24 |
index 9f52c19d342..e77ca3c2cf7 100644 |
25 |
--- a/media-libs/harfbuzz/harfbuzz-9999.ebuild |
26 |
+++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild |
27 |
@@ -1,9 +1,9 @@ |
28 |
# Copyright 1999-2021 Gentoo Authors |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
|
31 |
-EAPI=7 |
32 |
+EAPI=8 |
33 |
|
34 |
-PYTHON_COMPAT=( python3_{7..9} ) |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
|
37 |
inherit flag-o-matic meson-multilib python-any-r1 xdg-utils |
38 |
|
39 |
@@ -21,7 +21,7 @@ fi |
40 |
LICENSE="Old-MIT ISC icu" |
41 |
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416 |
42 |
|
43 |
-IUSE="+cairo debug doc +glib +graphite icu +introspection static-libs test +truetype" |
44 |
+IUSE="+cairo debug doc experimental +glib +graphite icu +introspection static-libs test +truetype" |
45 |
RESTRICT="!test? ( test )" |
46 |
REQUIRED_USE="introspection? ( glib )" |
47 |
|
48 |
@@ -76,18 +76,22 @@ src_prepare() { |
49 |
multilib_src_configure() { |
50 |
# harfbuzz-gobject only used for instrospection, bug #535852 |
51 |
local emesonargs=( |
52 |
- $(meson_native_use_feature cairo) |
53 |
-Dcoretext="disabled" |
54 |
- $(meson_native_use_feature doc) |
55 |
-Dfontconfig="disabled" #609300 |
56 |
- $(meson_native_use_feature introspection) |
57 |
- $(meson_use static-libs static) |
58 |
+ |
59 |
$(meson_feature glib) |
60 |
$(meson_feature graphite) |
61 |
$(meson_feature icu) |
62 |
$(meson_feature introspection gobject) |
63 |
$(meson_feature test tests) |
64 |
$(meson_feature truetype freetype) |
65 |
+ |
66 |
+ $(meson_native_use_feature cairo) |
67 |
+ $(meson_native_use_feature doc) |
68 |
+ $(meson_native_use_feature introspection) |
69 |
+ |
70 |
+ $(meson_use experimental experimental_api) |
71 |
+ $(meson_use static-libs static) |
72 |
) |
73 |
meson_src_configure |
74 |
} |
75 |
|
76 |
diff --git a/media-libs/harfbuzz/metadata.xml b/media-libs/harfbuzz/metadata.xml |
77 |
index 1c768f83411..6d22e736895 100644 |
78 |
--- a/media-libs/harfbuzz/metadata.xml |
79 |
+++ b/media-libs/harfbuzz/metadata.xml |
80 |
@@ -17,7 +17,8 @@ |
81 |
<remote-id type="cpe">cpe:/a:harfbuzz_project:harfbuzz</remote-id> |
82 |
</upstream> |
83 |
<use> |
84 |
- <flag name="glib">Compile with GLib Unicode support</flag> |
85 |
- <flag name="graphite">Use graphite to render complex non-Roman writing systems</flag> |
86 |
+ <flag name="experimental">Enable experimental APIs</flag> |
87 |
+ <flag name="glib">Enable <pkg>dev-libs/glib</pkg> unicode functions</flag> |
88 |
+ <flag name="graphite">Enable <pkg>media-gfx/graphite2</pkg> complementary shaper</flag> |
89 |
</use> |
90 |
</pkgmetadata> |