media-libs/harfbuzz: add 11.2.0

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-04-29 01:08:41 +01:00
parent cf70db8f5c
commit db4876c7e9
2 changed files with 92 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST harfbuzz-10.4.0.tar.xz 18120656 BLAKE2B 21a2ed81ead5f06658c6153ad756631aacf5522bf58cdc5a54585cc03b0562c634ecabcd686fa76d2dda3497eb1a7d9e10c771e29da62c5946438d9ed8c46075 SHA512 73e202225aeef6174ebd3b8b226ad9d5afb48c40ecdc1bc26d1bc5f0cf1d832a8ffc2fe5b7ae3b7c8f848552dd57116d407f44120c6813b59dbe9faed0c346dc
DIST harfbuzz-11.0.1.tar.xz 18158636 BLAKE2B db36c39915a96e82ba1aefe48dd753e925ff32c05b5ac96a737da4c55e6416e18898c2cc9aa8aa8c24ea996a8fdf57838d4de274f0a583ad54c3a7ed04168cb6 SHA512 0eca477c9c2225fdfa2c571a302606aa5026ba809ca1b61b9edd7397b601c57fc1f7919068e9e193cc49b6ea643a8918934aa7cab1ac59947358e06fb1ad645d
DIST harfbuzz-11.1.0.tar.xz 18049188 BLAKE2B e59bacf346740d464eef0d6b8172f88e020512519163799a9da8d0b4f30e14a5b065870725ab6f0ea7bf83a06d7cc3065267763dc66a3a5387eea81836fa5d6c SHA512 fefaa5a388f26afce63dc78954efe4b51304874e964238487715c6c3eae90b116619c7bd21a430f3f3ece0e6668bd61d4d672021bcfb07c5b5b7aaf94500c078
DIST harfbuzz-11.2.0.tar.xz 18050160 BLAKE2B 112693a42120407c25b8bf84ed14f7a481810f34557132e5902e5eeaa967071d0aa785961541b7779b7d36f353c54b6f3167c3ab6bdb81238a69d385dab3ebfe SHA512 108a164e5277f76f535bbd1c3744b1f78897e714376c2f61c1171b95d5004a0ab99179efdd92063f7677b30d5c1ab4e0a40612bf60d672af9f03bdd24b1edefa

View File

@@ -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_{10..13} )
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
}