1 |
commit: e64826f51ac0df5a5ce0b0a447e1eb164a78bc1a |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 16:38:59 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 16:40:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64826f5 |
7 |
|
8 |
media-libs/harfbuzz: Version bump to 4.4.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-libs/harfbuzz/Manifest | 1 + |
13 |
media-libs/harfbuzz/harfbuzz-4.4.1.ebuild | 98 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 99 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest |
17 |
index 9a10f8e8a202..463591e449a0 100644 |
18 |
--- a/media-libs/harfbuzz/Manifest |
19 |
+++ b/media-libs/harfbuzz/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST harfbuzz-4.2.1.tar.gz 29096419 BLAKE2B eb523c2e3c956559e2445bd12719b14c244cfdedd239041afec71a17912e489adb94c0b6fe148c60ae9e908cc3e740752de2a33a255c123ef937debe6008d78b SHA512 de14b673f6bd03d561c45f94e9bda44ee41897a643ab8837493260a83b1eb1f1ca0fe105c1bee241f2ecd6ab869dbccf3ffba8e2c4ee9a3a1fca4e1c6c7ca4f3 |
22 |
DIST harfbuzz-4.3.0.tar.gz 29200217 BLAKE2B dfe5e3b47e3d89a5ad7c6eaf6d274027a0eb05d1994b922d3124c97270f34353384c0161d8815fb2e379e82c8bdf046843902ba53db38daa4348e99d99255900 SHA512 bccf7cfb06ac18a9a9bf465c30dbfb51d73762a6667b3a069a85f9f597e6d27858e9e39a36cce12e23ec5b002b9e572638bf00c76bdea66545ae67a2bb7915f4 |
23 |
DIST harfbuzz-4.4.0.tar.gz 29226048 BLAKE2B 6534002bc750f12b960289aaff7129b15b2d53a043e67f6273f65fc311cb1767b9649eeb885b90358b595a12ac2f20e83dbe9252518852c8d0e2b213ff004004 SHA512 dd0a9768fa6c60c100d8b053ebc2ce06d236c9b06af0b99ca30ac6567298e94744d22d94ea1c8d8a0af8dcefaeda9328804964b80b8d278dab8978f933ef66d1 |
24 |
+DIST harfbuzz-4.4.1.tar.gz 29231251 BLAKE2B 3947084ea2eedd76d64acfc5286ecd14d772ce0507163bc2c54a86579556a8799959ff4d47ea2919ee8472f8fe50d0266d325e3d0a7024f2ae8dcdf48d14f37e SHA512 bbc415d7b74408b1e8d34bfbc19a3cab002471fdd56d71b469c3129f0eae5532d5c7aaae7bb5cc3942fea6008d2ed9e96a7b20b10f4f5e46db63cecfa5c0248e |
25 |
|
26 |
diff --git a/media-libs/harfbuzz/harfbuzz-4.4.1.ebuild b/media-libs/harfbuzz/harfbuzz-4.4.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..c0e115b06945 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/harfbuzz/harfbuzz-4.4.1.ebuild |
31 |
@@ -0,0 +1,98 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+ |
39 |
+inherit flag-o-matic meson-multilib 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}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="Old-MIT ISC icu" |
53 |
+# 0.9.18 introduced the harfbuzz-icu split; bug #472416 |
54 |
+# 3.0.0 dropped some unstable APIs; bug #813705 |
55 |
+SLOT="0/4.0.0" |
56 |
+ |
57 |
+IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype" |
58 |
+RESTRICT="!test? ( test )" |
59 |
+REQUIRED_USE="introspection? ( glib )" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ cairo? ( x11-libs/cairo:= ) |
63 |
+ glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) |
64 |
+ graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) |
65 |
+ icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) |
66 |
+ introspection? ( >=dev-libs/gobject-introspection-1.34:= ) |
67 |
+ truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) |
68 |
+" |
69 |
+DEPEND="${RDEPEND} |
70 |
+ >=dev-libs/gobject-introspection-common-1.34 |
71 |
+" |
72 |
+BDEPEND=" |
73 |
+ ${PYTHON_DEPS} |
74 |
+ virtual/pkgconfig |
75 |
+ doc? ( dev-util/gtk-doc ) |
76 |
+ introspection? ( dev-util/glib-utils ) |
77 |
+" |
78 |
+ |
79 |
+pkg_setup() { |
80 |
+ python-any-r1_pkg_setup |
81 |
+ if ! use debug ; then |
82 |
+ append-cppflags -DHB_NDEBUG |
83 |
+ fi |
84 |
+} |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ default |
88 |
+ |
89 |
+ xdg_environment_reset |
90 |
+ |
91 |
+ sed -i \ |
92 |
+ -e '/tests\/macos\.tests/d' \ |
93 |
+ test/shape/data/in-house/Makefile.sources \ |
94 |
+ || die # bug 726120 |
95 |
+ |
96 |
+ # bug 618772 |
97 |
+ append-cxxflags -std=c++14 |
98 |
+ |
99 |
+ # bug 790359 |
100 |
+ filter-flags -fexceptions -fthreadsafe-statics |
101 |
+ |
102 |
+ # bug 762415 |
103 |
+ local pyscript |
104 |
+ for pyscript in $(find -type f -name "*.py") ; do |
105 |
+ python_fix_shebang -q "${pyscript}" |
106 |
+ done |
107 |
+} |
108 |
+ |
109 |
+multilib_src_configure() { |
110 |
+ # harfbuzz-gobject only used for introspection, bug #535852 |
111 |
+ local emesonargs=( |
112 |
+ -Dcoretext="disabled" |
113 |
+ -Dchafa="disabled" |
114 |
+ |
115 |
+ $(meson_feature glib) |
116 |
+ $(meson_feature graphite graphite2) |
117 |
+ $(meson_feature icu) |
118 |
+ $(meson_feature introspection gobject) |
119 |
+ $(meson_feature test tests) |
120 |
+ $(meson_feature truetype freetype) |
121 |
+ |
122 |
+ $(meson_native_use_feature cairo) |
123 |
+ $(meson_native_use_feature doc docs) |
124 |
+ $(meson_native_use_feature introspection) |
125 |
+ |
126 |
+ $(meson_use experimental experimental_api) |
127 |
+ ) |
128 |
+ meson_src_configure |
129 |
+} |