commit:     fce556c0c326f449c1ff20b8ead1e069951cf431
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 21 02:17:38 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 21 02:17:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce556c0

media-libs/harfbuzz: add 11.3.2

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

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

diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
index 0ad35ee76b12..9d5f488dcc9a 100644
--- a/media-libs/harfbuzz/Manifest
+++ b/media-libs/harfbuzz/Manifest
@@ -1,2 +1,3 @@
 DIST harfbuzz-10.4.0.tar.xz 18120656 BLAKE2B 
21a2ed81ead5f06658c6153ad756631aacf5522bf58cdc5a54585cc03b0562c634ecabcd686fa76d2dda3497eb1a7d9e10c771e29da62c5946438d9ed8c46075
 SHA512 
73e202225aeef6174ebd3b8b226ad9d5afb48c40ecdc1bc26d1bc5f0cf1d832a8ffc2fe5b7ae3b7c8f848552dd57116d407f44120c6813b59dbe9faed0c346dc
 DIST harfbuzz-11.2.1.tar.xz 18057576 BLAKE2B 
1c2553a02b4254c06f41a429c498439796e3c307ea2b1325b3ee99a4a87dc817bcc0ceb4ec23f0b1c708e3488249ce5f05913f4ab50fc2a66605b3e238f39d5d
 SHA512 
56d4819f63d6040bff008e64a0d5b597c1cfa105047f7970b1dae2894aeed27a92d0c0780fee0beda53685767d86cb864256d6388cb4439e7d51a7ee717a0bd7
+DIST harfbuzz-11.3.2.tar.xz 18113460 BLAKE2B 
6cbe290d86d592f942235272137ae7d4bb5a9ba6dfc2c496fa2395fc09e9f6fd6e900b6dfcd40d57d477b0bd232253eef46951ebce1bd59358c54b4e998bc970
 SHA512 
d3ba37b55b04863e75f9af80839f0efe9baad2cde3c7334383e313e863bdc1532c8a6e00669ee8d8d6634e8066d0a66119c0a953df427694a1219d002e4644b5

diff --git a/media-libs/harfbuzz/harfbuzz-11.3.2.ebuild 
b/media-libs/harfbuzz/harfbuzz-11.3.2.ebuild
new file mode 100644
index 000000000000..9521bf5cc795
--- /dev/null
+++ b/media-libs/harfbuzz/harfbuzz-11.3.2.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