diff options
| author | Sam James <sam@gentoo.org> | 2025-08-22 04:54:17 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-08-22 05:02:41 +0100 |
| commit | c5adacefe1bb9e8f9ff701dbd06e5e654e1a8421 (patch) | |
| tree | 5ad54306987d268d63d4013881b84d639ddf5d6b | |
| parent | 9191fb112c2a8f20c0dc5c6a41efec3f16b5110b (diff) | |
| download | gentoo-c5adacefe1bb9e8f9ff701dbd06e5e654e1a8421.tar.gz gentoo-c5adacefe1bb9e8f9ff701dbd06e5e654e1a8421.tar.bz2 gentoo-c5adacefe1bb9e8f9ff701dbd06e5e654e1a8421.zip | |
media-libs/harfbuzz: add 11.4.2
Signed-off-by: Sam James <sam@gentoo.org>
| -rw-r--r-- | media-libs/harfbuzz/Manifest | 1 | ||||
| -rw-r--r-- | media-libs/harfbuzz/harfbuzz-11.4.2.ebuild | 91 |
2 files changed, 92 insertions, 0 deletions
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 40ec76699afd..41134b436543 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -2,3 +2,4 @@ DIST harfbuzz-11.2.1.tar.xz 18057576 BLAKE2B 1c2553a02b4254c06f41a429c498439796e DIST harfbuzz-11.3.2.tar.xz 18113460 BLAKE2B 6cbe290d86d592f942235272137ae7d4bb5a9ba6dfc2c496fa2395fc09e9f6fd6e900b6dfcd40d57d477b0bd232253eef46951ebce1bd59358c54b4e998bc970 SHA512 d3ba37b55b04863e75f9af80839f0efe9baad2cde3c7334383e313e863bdc1532c8a6e00669ee8d8d6634e8066d0a66119c0a953df427694a1219d002e4644b5 DIST harfbuzz-11.3.3.tar.xz 18111820 BLAKE2B 9426ac8ebf367086796e35209bbc5543456e568675a1252eb0ecb479b7c51867c14bf73fbd56a24542078e4672d45dd78685cca34a9644dce5c937f53b2f0029 SHA512 56a971c939522bc5edad5f8a578444844b9101321c6bacfb3d96eadf3b13238144d465dd22171b61ef7b3873af88e43297989c289a5fc37e4d390b64c435cff6 DIST harfbuzz-11.4.1.tar.xz 18122072 BLAKE2B a42ded1626234cda2d0f2f4f338742d4b8b45189c41bcbf9bf18063f7d35045e73cbd15300836116800a7677a680e7eca94fc86ce8356b6cacd7dd222c2de258 SHA512 e5f8f903abfde1681d8fcfd1ac56cb01e8d11191abe41e54dc879742fd326681fd589b944bfaa05d76bfa7436e29ddb40367878864fed1b8d41d65ee408eef5d +DIST harfbuzz-11.4.2.tar.xz 18124728 BLAKE2B ce9a124f5fed0c43a3e5e643ba0e5bd969626de7fd78fa5550170fe876183ecdb10ba64bc68e0649737a1fd205494d0df377cf9f1552ef83a186223203a1c0f2 SHA512 63f2447d8eb4b3fe8ea1d9dc9fbfe2b39751b4df2b4edd049a90184c0deea59f610ca5400f3c6016b2e7b93dbb2edf823d8b278891dcfc8921fe297f77308abd diff --git a/media-libs/harfbuzz/harfbuzz-11.4.2.ebuild b/media-libs/harfbuzz/harfbuzz-11.4.2.ebuild new file mode 100644 index 000000000000..9521bf5cc795 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-11.4.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 +} |
