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