Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/pango/
Date: Thu, 11 Aug 2022 16:20:38
Message-Id: 1660234819.c352cc1ed35a5c2b8866d7a64e3372b72c27eb84.mattst88@gentoo
1 commit: c352cc1ed35a5c2b8866d7a64e3372b72c27eb84
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 11 15:57:08 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 11 16:20:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c352cc1e
7
8 x11-libs/pango: Version bump to 1.50.9
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/pango/Manifest | 1 +
13 x11-libs/pango/pango-1.50.9.ebuild | 91 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 92 insertions(+)
15
16 diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest
17 index 63caf519d4f8..321a0980b6e5 100644
18 --- a/x11-libs/pango/Manifest
19 +++ b/x11-libs/pango/Manifest
20 @@ -2,3 +2,4 @@ DIST pango-1.42.4-patchset.tar.xz 6040 BLAKE2B ec3f1a6a4de30e0864e7f0bf0950cb7a7
21 DIST pango-1.42.4.tar.xz 833876 BLAKE2B 7de1094a29750b9e59ea1e5c92644fa5d6b835828d027963a53cce3f204ee1ea0042ec492e209de9136f05ca131ccda959bc477d4f6e9c72e5f620ddf4235f26 SHA512 993e97f647eba0c5ed90bcfcb8228bf67fa3f20b1f4331e4e40a30788d7c3ac55eee1209471bf21df125cb8fc6121acc8062a9da2f8a7d6cbe8e9ad13a9320dc
22 DIST pango-1.50.7.tar.xz 4294752 BLAKE2B 049b7c09f2ec35ca229eadcd146513d2b292fac8c2296a1635f32c1e21a2ff14979c4ce4a88f966d2d85dad55e356f089c09e00062d06373f7d0760871333046 SHA512 4d754ed753fc34074c2a8751459406af7eb1eccb227c6158287f7e2921614d918cae47d078d4a2b4c098b641e40274e81bf1ec6b6a1b147efd550626665767d3
23 DIST pango-1.50.8.tar.xz 4298760 BLAKE2B 76531815c5b472823b62e0c7a44d4a6c8cf38d587527cceff46e9e7ad302c53abd5827ed4242db2f754761928632b986517ca2814a1ddb9501b2832bbadb3116 SHA512 81821e5837d5fb78a07ac8f8e360de9a9bf9b2418a3e0654f80ee3dce7f98325ea2483cc7c1d1db4a662886a1244530515d83480f4c3bc0510788a9bbbae2f91
24 +DIST pango-1.50.9.tar.xz 4262208 BLAKE2B 13495015a7b22fb33d6c06e2fd2f325f30a80ee88a9ae7306aea477bc0551762ef20b3ebb4d8c4a45e791f25e675264a1d1973b703e131b4caab42369e4bd293 SHA512 f108274174c0ff5eabedddd8a3ed23ba124c85b72dbc9c003fee388fe8775deb0946ad3dfd7c96e70a30268cbd390e29c4c184ff30300d99add70ba0ead59b3e
25
26 diff --git a/x11-libs/pango/pango-1.50.9.ebuild b/x11-libs/pango/pango-1.50.9.ebuild
27 new file mode 100644
28 index 000000000000..84a85e7a5a68
29 --- /dev/null
30 +++ b/x11-libs/pango/pango-1.50.9.ebuild
31 @@ -0,0 +1,91 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit flag-o-matic gnome2-utils meson-multilib xdg
38 +
39 +DESCRIPTION="Internationalized text layout and rendering library"
40 +HOMEPAGE="https://www.pango.org/ https://gitlab.gnome.org/GNOME/pango"
41 +SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/$(ver_cut 1-2)/${P}.tar.xz"
42 +
43 +LICENSE="LGPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
46 +
47 +IUSE="debug +introspection sysprof test X"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="
51 + >=dev-libs/glib-2.62.2:2[${MULTILIB_USEDEP}]
52 + >=dev-libs/fribidi-1.0.6[${MULTILIB_USEDEP}]
53 + >=media-libs/harfbuzz-2.6.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}]
54 + >=media-libs/fontconfig-2.13.0:1.0=[${MULTILIB_USEDEP}]
55 + >=x11-libs/cairo-1.12.10:=[X?,${MULTILIB_USEDEP}]
56 + >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}]
57 + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
58 + X? (
59 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
60 + >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}]
61 + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
62 + )
63 +"
64 +DEPEND="${RDEPEND}
65 + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
66 + X? ( x11-base/xorg-proto )
67 +"
68 +BDEPEND="
69 + dev-util/glib-utils
70 + sys-apps/help2man
71 + virtual/pkgconfig
72 + test? ( media-fonts/cantarell )
73 +"
74 +
75 +PATCHES=(
76 + "${FILESDIR}"/1.50.8-harfbuzz-4.patch
77 +)
78 +
79 +src_prepare() {
80 + default
81 + xdg_environment_reset
82 + gnome2_environment_reset
83 +}
84 +
85 +multilib_src_configure() {
86 + if use debug; then
87 + append-cflags -DPANGO_ENABLE_DEBUG
88 + else
89 + append-cflags -DG_DISABLE_CAST_CHECKS
90 + fi
91 +
92 + local emesonargs=(
93 + # Never use gi-docgen subproject
94 + --wrap-mode nofallback
95 +
96 + -Dgtk_doc=false # we ship pregenerated docs
97 + $(meson_native_use_feature introspection)
98 + -Dinstall-tests=false
99 + -Dfontconfig=enabled
100 + $(meson_feature sysprof)
101 + -Dlibthai=disabled
102 + -Dcairo=enabled
103 + $(meson_feature X xft)
104 + -Dfreetype=enabled
105 + )
106 + meson_src_configure
107 +}
108 +
109 +multilib_src_install_all() {
110 + insinto /usr/share/gtk-doc/html
111 + # This will install PangoXft API docs regardless of USE=-X, but this is intentional
112 + doins -r "${S}"/docs/Pango*
113 +}
114 +
115 +pkg_postinst() {
116 + xdg_pkg_postinst
117 +
118 + if has_version 'media-libs/freetype[-harfbuzz]' ; then
119 + ewarn "media-libs/freetype is installed without harfbuzz support. This may"
120 + ewarn "lead to minor font rendering problems, see bug 712374."
121 + fi
122 +}