commit:     9fa64d79be37d83fd11f6e3762f68d981e79f05e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 28 05:57:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 06:03:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa64d79

x11-libs/pango: add 1.56.4

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

 x11-libs/pango/Manifest            |  1 +
 x11-libs/pango/pango-1.56.4.ebuild | 93 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest
index c7be1de7113f..ae686586f79d 100644
--- a/x11-libs/pango/Manifest
+++ b/x11-libs/pango/Manifest
@@ -1,3 +1,4 @@
 DIST pango-1.52.2.tar.xz 1963588 BLAKE2B 
9367703addcc6805fc14f0c0184d9d1b4093b8947fea9d260c54eb6c86ce56a0d6cfe35c3d6340eaa5d96fb84f0a94c5979ae308bfa79f02e4ce25c4c093556e
 SHA512 
6b3d762d133e7c900c6dfa85f43c950699930f6149cb3c90bf0e787f1b5a126a0b90220b90e649f84e4c244e44c46d4b575d5d7afeb305232c333712effc0981
 DIST pango-1.54.0.tar.xz 1963180 BLAKE2B 
92c389ab3f21631c245575e30804ffee6fef7b60bc6acdf08159aa325d878cf335203267720aec9143ea2a4e590578424cd64011f73da22e1b0beca85e85a276
 SHA512 
b08792a811e033b2dc9ae78278ea522fad1064de3a4d33460271eb0502613ee21d2c82349f8e7d8f59d59e0c020b7a3a8efa194572e16e2e78db422956fd97ea
 DIST pango-1.56.3.tar.xz 1883584 BLAKE2B 
02b12409a0d16090ebde13e6d92b2053468e32b4b97eb0f758e05ea2ffc44141367b77cef7bb2b701785a4f9f9071d06e47a6d4974e2aa5839571fd0de19efc3
 SHA512 
adb5aa66ea0c45f7bb112867a77f25d31d39bbb18fd8d41df0c1fd329714def874aa3cb8a49847561a75b0824c2abf8ce09a610d088e88d7de015c36a1536ac0
+DIST pango-1.56.4.tar.xz 1883988 BLAKE2B 
727261844a914af5229379f7a0b41c2cc05df106523189f31112e50ba01a94bf45f17eacfb3e91fe51a2ea1d09132b6021cf51b8a0986ba258e651fc48e3f468
 SHA512 
19471618a66b68e19786c458387f2bc8027ecbda5aaf29efcc025a99b3a74402765c6c4c6ea2997d8f1219ef7f1bea817e6ca55e494dff24780f5d3f2a6242a2

diff --git a/x11-libs/pango/pango-1.56.4.ebuild 
b/x11-libs/pango/pango-1.56.4.ebuild
new file mode 100644
index 000000000000..f1ca9336857d
--- /dev/null
+++ b/x11-libs/pango/pango-1.56.4.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic gnome2-utils meson-multilib xdg
+
+DESCRIPTION="Internationalized text layout and rendering library"
+HOMEPAGE="https://www.gtk.org/docs/architecture/pango 
https://gitlab.gnome.org/GNOME/pango";
+SRC_URI="https://download.gnome.org/sources/pango/$(ver_cut 1-2)/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+IUSE="debug examples +introspection sysprof test X"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.82:2[${MULTILIB_USEDEP}]
+       >=dev-libs/fribidi-1.0.6[${MULTILIB_USEDEP}]
+       
>=media-libs/harfbuzz-8.4.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}]
+       >=media-libs/fontconfig-2.15.0:1.0[${MULTILIB_USEDEP}]
+       >=x11-libs/cairo-1.18.0[X?,${MULTILIB_USEDEP}]
+       >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}]
+       introspection? ( >=dev-libs/gobject-introspection-1.83.2:= )
+       X? (
+               >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+               >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}]
+               >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
+       )
+"
+DEPEND="${RDEPEND}
+       sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+       X? ( x11-base/xorg-proto )
+"
+BDEPEND="
+       >=dev-build/meson-1.2.0
+       dev-util/glib-utils
+       virtual/pkgconfig
+       dev-python/docutils
+       test? ( media-fonts/cantarell )
+"
+
+src_prepare() {
+       default
+       xdg_environment_reset
+       gnome2_environment_reset
+
+       # get rid of a win32 example
+       rm examples/pangowin32tobmp.c || die
+}
+
+multilib_src_configure() {
+       if use debug; then
+               append-cflags -DPANGO_ENABLE_DEBUG
+       else
+               append-cflags -DG_DISABLE_CAST_CHECKS
+       fi
+
+       local emesonargs=(
+               # Never use gi-docgen subproject
+               --wrap-mode nofallback
+
+               -Ddocumentation=false # we ship pregenerated docs
+               $(meson_native_use_feature introspection)
+               -Dman-pages=true
+               $(meson_use test build-testsuite)
+               -Dbuild-examples=false
+               -Dfontconfig=enabled
+               $(meson_feature sysprof)
+               -Dlibthai=disabled
+               -Dcairo=enabled
+               $(meson_feature X xft)
+               -Dfreetype=enabled
+       )
+       meson_src_configure
+}
+
+multilib_src_install_all() {
+       if use examples; then
+               dodoc -r examples
+       fi
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       if has_version 'media-libs/freetype[-harfbuzz]' ; then
+               ewarn "media-libs/freetype is installed without harfbuzz 
support. This may"
+               ewarn "lead to minor font rendering problems, see bug 712374."
+       fi
+}

Reply via email to