commit: d1fdc9fcee9f26e4267846eb7d072eddcb8b64fa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 25 04:51:18 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 25 04:51:18 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1fdc9fc
media-libs/harfbuzz: add 12.3.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/harfbuzz/Manifest | 1 +
media-libs/harfbuzz/harfbuzz-12.3.2.ebuild | 91 ++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
index 48432b0e5279..8bad4cafe3d7 100644
--- a/media-libs/harfbuzz/Manifest
+++ b/media-libs/harfbuzz/Manifest
@@ -3,3 +3,4 @@ DIST harfbuzz-12.1.0.tar.xz 18208424 BLAKE2B
126fd2f5028a2b99652dfca2948b43bf83f
DIST harfbuzz-12.2.0.tar.xz 18221900 BLAKE2B
011ce54ee0f312dbe6fff600ff986309c3ca8935f79dc8e7aa4fa29c61a364b62b097eba1bfafdcb337475a86bd50ea75ad2eb9315c7f188069e7c5370b53434
SHA512
7e7cd5dfdbf8848c3c078628f2cf355db6dcc938083fa7d2f69ab6f174041dc64fae1973f97a1649dfcf9f2bf143517329efb3f67ccfe8996eb84b6ff52f4029
DIST harfbuzz-12.3.0.tar.xz 18580220 BLAKE2B
65e0b6076cae1e324fd87e4a08c53c1649df2afd8f290f5b6a5553a2a91ae932b197c103484fcd576fa0ad5baef57ff78a12c865c00eb1126709fc9aaef21210
SHA512
7452379ee35b312cb83b5365e480dd2cc73813fa5eb489988ea7b02fa7e8137de66ea10ef71fcbbfb3275013247c46ede3f28ac9ef92c1213424ea0b0a077b03
DIST harfbuzz-12.3.1.tar.xz 19234980 BLAKE2B
c5779190441647a916b8d96fbe1499f821123cde52371b93355f8e53d2d8d5c349a7868cef4a65ed9d188ae37089af17172468551733cefa7b9980e69253c7ce
SHA512
dba86b70a26c9364f8a91833a438d8a2f142d785de37ed45d23fb23e021eaeff032f4b9439367562b18741b054fef8ec8513d6b5974e1af7a73305abaab27a6b
+DIST harfbuzz-12.3.2.tar.xz 19282952 BLAKE2B
13371f7717eb33c6c1abee376a98c1b25d1205a51c8f7fab05f84fac9a2fd26d7d1f3480fe017760dbec45c0a6707c3b22673f0382835644461f2dc1ed04387e
SHA512
2bb907d206edb93a9fb0856dc2e767d491f79f20cd8e8eeeb65f284f10b67ca9ae16b6a8e72ebbfedfeaa0199af7c12dbe675eb08b7c1fb61d2f5ca1fa406782
diff --git a/media-libs/harfbuzz/harfbuzz-12.3.2.ebuild
b/media-libs/harfbuzz/harfbuzz-12.3.2.ebuild
new file mode 100644
index 000000000000..6727400a6a88
--- /dev/null
+++ b/media-libs/harfbuzz/harfbuzz-12.3.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2026 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 ~arm64-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.82.0-r2:= )
+ 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
+}