commit:     d1a6000b796c2df64210da789c6976e7bd54268d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 30 16:20:04 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 30 22:45:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a6000b

media-libs/harfbuzz: add 11.4.5

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/harfbuzz/Manifest               |  1 +
 media-libs/harfbuzz/harfbuzz-11.4.5.ebuild | 91 ++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
index 4cce6a744d2f..6da60b110728 100644
--- a/media-libs/harfbuzz/Manifest
+++ b/media-libs/harfbuzz/Manifest
@@ -5,3 +5,4 @@ DIST harfbuzz-11.4.1.tar.xz 18122072 BLAKE2B 
a42ded1626234cda2d0f2f4f338742d4b8b
 DIST harfbuzz-11.4.2.tar.xz 18124728 BLAKE2B 
ce9a124f5fed0c43a3e5e643ba0e5bd969626de7fd78fa5550170fe876183ecdb10ba64bc68e0649737a1fd205494d0df377cf9f1552ef83a186223203a1c0f2
 SHA512 
63f2447d8eb4b3fe8ea1d9dc9fbfe2b39751b4df2b4edd049a90184c0deea59f610ca5400f3c6016b2e7b93dbb2edf823d8b278891dcfc8921fe297f77308abd
 DIST harfbuzz-11.4.3.tar.xz 18122692 BLAKE2B 
88b2e29e28fd604457f40d26b85fc368823a08cdb2060138764534621d25620e0e25018719c9f64fcecca5051dcf4760bbcd05038cf32caa1902e27173ee1232
 SHA512 
2472bf2958c5a3fbdf5bc1dc81b13658c3c5d1851a2d6f7ae9e9ee19c6a3f0452da2e2f0e38ff5b840a59c27e86fde194cfeb80d0849264a3f60c476217cf261
 DIST harfbuzz-11.4.4.tar.xz 18150208 BLAKE2B 
33341e01704d3f9738dfaaf5b57fb2e2928f9a52e42d8f822a2aad7826f2cfebe21422edddbd9a8b8351f6a6b7591e3f44717479d50d3fa7070866e8af886e8f
 SHA512 
9163ac83d8444ff12aecf83aa90a4bdf43ccf4663874e482ef39c7377d7ad3a624e4abfd701b2e95cd24a75ede60be23739c28b6d8a65359cdf9e9c9a27ef163
+DIST harfbuzz-11.4.5.tar.xz 18150652 BLAKE2B 
a4a392c238857c414ee7659926a8e5c857e35079d47f65d69713b1c77c0e12b12ad34b432dbf339a3aed2160e7f23e1403d5036d66e47c9748b9eda3b95484a2
 SHA512 
c0c55a2201538a9e9365b175ccc7d4df2b0e321f9a723c7c83879bdc8b40cb9fac3ed257cecf9960cc3a17ceac0dc0220a6b9dfa976ce3dd7cb03154a55ad868

diff --git a/media-libs/harfbuzz/harfbuzz-11.4.5.ebuild 
b/media-libs/harfbuzz/harfbuzz-11.4.5.ebuild
new file mode 100644
index 000000000000..9521bf5cc795
--- /dev/null
+++ b/media-libs/harfbuzz/harfbuzz-11.4.5.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
+
+DESCRIPTION="An OpenType text shaping engine"
+HOMEPAGE="https://harfbuzz.github.io/";
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git";
+       inherit git-r3
+else
+       
SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+fi
+
+LICENSE="Old-MIT ISC icu"
+# 0.9.18 introduced the harfbuzz-icu split; bug #472416
+# 3.0.0 dropped some unstable APIs; bug #813705
+# 6.0.0 changed libharfbuzz-subset.so ABI
+SLOT="0/6.0.0"
+
+IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test 
+truetype"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="introspection? ( glib )"
+
+RDEPEND="
+       cairo? ( x11-libs/cairo:=[${MULTILIB_USEDEP}] )
+       glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
+       graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
+       icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
+       introspection? ( >=dev-libs/gobject-introspection-1.34:= )
+       truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       ${PYTHON_DEPS}
+       sys-apps/help2man
+       virtual/pkgconfig
+       doc? ( dev-util/gtk-doc )
+       introspection? ( dev-util/glib-utils )
+"
+
+src_prepare() {
+       default
+
+       xdg_environment_reset
+
+       # bug #790359
+       filter-flags -fexceptions -fthreadsafe-statics
+
+       if ! use debug ; then
+               append-cppflags -DHB_NDEBUG
+       fi
+}
+
+multilib_src_configure() {
+       # harfbuzz-gobject only used for introspection, bug #535852
+       local emesonargs=(
+               -Dcoretext=disabled
+               -Dchafa=disabled
+               -Dfontations=disabled
+               -Dwasm=disabled
+
+               $(meson_feature cairo)
+               $(meson_feature glib)
+               $(meson_feature graphite graphite2)
+               $(meson_feature icu)
+               $(meson_feature introspection gobject)
+               $(meson_feature test tests)
+               $(meson_feature truetype freetype)
+
+               $(meson_native_use_feature doc docs)
+               $(meson_native_use_feature introspection)
+               # Breaks building tests..
+               #$(meson_native_use_feature utilities)
+
+               $(meson_use experimental experimental_api)
+       )
+
+       meson_src_configure
+}
+
+multilib_src_test() {
+       # harfbuzz:src / check-static-inits times out on hppa
+       meson_src_test --timeout-multiplier 5
+}

Reply via email to