diff options
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/Manifest.gz | bin | 17687 -> 17694 bytes | |||
-rw-r--r-- | x11-libs/pango/Manifest | 4 | ||||
-rw-r--r-- | x11-libs/pango/metadata.xml | 1 | ||||
-rw-r--r-- | x11-libs/pango/pango-1.54.0.ebuild | 95 |
4 files changed, 99 insertions, 1 deletions
diff --git a/x11-libs/Manifest.gz b/x11-libs/Manifest.gz Binary files differindex 212226fd883b..e5b098536cb2 100644 --- a/x11-libs/Manifest.gz +++ b/x11-libs/Manifest.gz diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest index 613e46d4ebf4..fdf25bfbf3a8 100644 --- a/x11-libs/pango/Manifest +++ b/x11-libs/pango/Manifest @@ -1,5 +1,7 @@ DIST pango-1.52.1.tar.xz 1956856 BLAKE2B 0b7f58f3d74bd37df285f3fbf14d2d2d776fbcf773568d63f12f26976d2ff505c19616fcee11562933df2594762e9ca30fe96a1d02dcd174381b976d63c68ac1 SHA512 7cddbd61afc3c98ffd09ea08c5d7613e454b6705f72304cb9b3578865b6bda70ca20f98605dea73f2cbca5e264217c8d79e4539e9eb36b8775d5d2a4f769cf32 DIST pango-1.52.2.tar.xz 1963588 BLAKE2B 9367703addcc6805fc14f0c0184d9d1b4093b8947fea9d260c54eb6c86ce56a0d6cfe35c3d6340eaa5d96fb84f0a94c5979ae308bfa79f02e4ce25c4c093556e SHA512 6b3d762d133e7c900c6dfa85f43c950699930f6149cb3c90bf0e787f1b5a126a0b90220b90e649f84e4c244e44c46d4b575d5d7afeb305232c333712effc0981 +DIST pango-1.54.0.tar.xz 1963180 BLAKE2B 92c389ab3f21631c245575e30804ffee6fef7b60bc6acdf08159aa325d878cf335203267720aec9143ea2a4e590578424cd64011f73da22e1b0beca85e85a276 SHA512 b08792a811e033b2dc9ae78278ea522fad1064de3a4d33460271eb0502613ee21d2c82349f8e7d8f59d59e0c020b7a3a8efa194572e16e2e78db422956fd97ea EBUILD pango-1.52.1.ebuild 2357 BLAKE2B a758e3c7b3a2cf3bec16070256cb85b97b69036bb177a02e2734bc9af4565742bef36a517887fcde068978702125bf0f6e9b173b2ecf6098ed9eebc95ac4f87e SHA512 8d1a87cb4fcb4252d1f97563247b5f51d6272f60269486217889a6760038a0ea4f3a475cba8d75c1d4512dc5267241eba8e1b952005ccff9d7bc341d09ca8ff5 EBUILD pango-1.52.2.ebuild 2354 BLAKE2B 33b294276a617e8302dd2e08a7b98cbf8025164db369bbb602065dadb4c44969daa262a1a60d683a4181d80f29e0ebbe1441820e74f336e16a8eb5573e7d6086 SHA512 665bce9ea96384ac0940b0499838185da0c4fc896253906e0739b09bf76ed46cac832eb73e52b8e9929f82c7656f760d349288a9ed9c3bcc30050feff91f95b3 -MISC metadata.xml 604 BLAKE2B 94690ca7900ce8d6418fdbaaabf9da8a85471f575a8bf81ab73523e3910d4c8db227bf653be30fe068f9c7c2e2295aa6af52c3e8da2780aaed0947c2b76b3b2a SHA512 314a9b5ad763a0077acfe0afc46fb82e26b28cec783077765f8b42e0828a059fc18804dfa522f9cb3628bf63cce1ac27af3b244c2b2166cfc9e1e5b465dd2f06 +EBUILD pango-1.54.0.ebuild 2528 BLAKE2B fbe144a5b03356ca89a5a67adcfec29c1184b3affba60162e442400ac7c5946643bfd4976e699582e8aa945a8451c39fb678391579046d161cdfaa6cd0a329a8 SHA512 bba262fb577b930e1ed498fa8b52fadd2bf744be80cf32501255efec9b40ab23e26c570f82edf2b8296ac4e06bffe227f17d1555b582b9a42d66641017b995e7 +MISC metadata.xml 666 BLAKE2B 200a6b70830fd45740b113dca54bd391839367ef35e48cf7878de419e454e4a7efcad286835ccd78587104289a0d0c5e84dba9e36f5cbdba33e48c463c319681 SHA512 adf2dea970f8b3bd6dd1063a78b977067d20e55d0a96cc4193c2969f69702f8d247474ecb6a17ccd8c43d00f7ca0dd383704860c424a3af173eba56cbd7f66bf diff --git a/x11-libs/pango/metadata.xml b/x11-libs/pango/metadata.xml index dfaa55f180f5..4882f116d6ea 100644 --- a/x11-libs/pango/metadata.xml +++ b/x11-libs/pango/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo GNOME Desktop</name> </maintainer> <use> + <flag name="examples">Install source code examples</flag> <flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag> <flag name="X">Build and install the legacy pangoxft library</flag> </use> diff --git a/x11-libs/pango/pango-1.54.0.ebuild b/x11-libs/pango/pango-1.54.0.ebuild new file mode 100644 index 000000000000..7054129b4593 --- /dev/null +++ b/x11-libs/pango/pango-1.54.0.ebuild @@ -0,0 +1,95 @@ +# 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://pango.gnome.org/ 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.62.2:2[${MULTILIB_USEDEP}] + >=dev-libs/fribidi-1.0.6[${MULTILIB_USEDEP}] + >=media-libs/harfbuzz-2.6.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}] + >=media-libs/fontconfig-2.13.0:1.0[${MULTILIB_USEDEP}] + >=x11-libs/cairo-1.12.10[X?,${MULTILIB_USEDEP}] + >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) + 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-util/glib-utils + sys-apps/help2man + virtual/pkgconfig + 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) + $(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 + + insinto /usr/share/gtk-doc/html + # This will install PangoXft API docs regardless of USE=-X, but this is intentional + doins -r "${S}"/docs/Pango* +} + +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 +} |