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 20:18:14
Message-Id: 1640204283.23ad8b2608ae2451503909a8d02fed9afab308b2.mattst88@gentoo
1 commit: 23ad8b2608ae2451503909a8d02fed9afab308b2
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 22 20:16:52 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 22 20:18:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ad8b26
7
8 x11-libs/pango: Version bump to 1.50.3
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.3.ebuild | 84 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 85 insertions(+)
15
16 diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest
17 index 4fd2bfbddf5f..f1b96da9c31e 100644
18 --- a/x11-libs/pango/Manifest
19 +++ b/x11-libs/pango/Manifest
20 @@ -5,3 +5,4 @@ DIST pango-1.48.5.tar.xz 1819476 BLAKE2B 8529e8cbcf0f33be56cf09229abe45fb3525e12
21 DIST pango-1.48.7.tar.xz 2050880 BLAKE2B 2ee048d9713aed0972ffdf3feb96c7c0683ffa1494ac2b798a4f6b1f5797d689b0e0c06bcc3f4a10130d23279ed295a3a59141c75bd3a0f2da7facf62d6c3baa SHA512 e5680d628f531bea7633945bd74dc51a93c4c881dec58fcf9f6271043e77b82a4805e311355cb4d9f8cdfcdf52785a5a6391517a264b62416c26e82dff4aca39
22 DIST pango-1.48.9.tar.xz 2063756 BLAKE2B d1610aaac783b95a35ad3e083b4bab33f3d4beff533386817addcb5eb9022de242087ffe4e62c043870b4aac1fbc0fe3e1c5d18744909a5a05015a702dfea2e3 SHA512 e3bba743bb596b0a34cedc893f9af0216bcc9fec521c2da09cfdeec9ad80a05b5c53c3fce1a225ab27536e9335725cffb87c66867d0522fd4632df00b1d4c056
23 DIST pango-1.50.2.tar.xz 4089160 BLAKE2B 3b752d72ab3c656c23efa591a8508ed52475e73ea329984c11aacaca4a1f4ebee68bdc4000104d2150b01a452215d6b3fc9ac5c50a71b4b2ddca78d1aed231e9 SHA512 e85898370c68ee91391f926aaab046763b6b6086fd892e1a7d98bf83787bcca9c463f3ccb4a2fc4b8f248722a8a229bb52363f799c8bc4040eeb94028c6361b6
24 +DIST pango-1.50.3.tar.xz 4093644 BLAKE2B 7bcdde6e3fa6d2951fea017516b5f245b5b02dfaf6ab1303a6db4da8f216f948414b0cb528dca4012f046598082a6d9128d5f87c9a03a088cb393158fc0bc7f7 SHA512 6b31690ce9746b47fd8ea2f30f26c242d85cc836c812dba273a4d3e43df5484e7b3450b11de019136781dfd3dcac41f1e34189324e4700583eec1fb757763d33
25
26 diff --git a/x11-libs/pango/pango-1.50.3.ebuild b/x11-libs/pango/pango-1.50.3.ebuild
27 new file mode 100644
28 index 000000000000..b756a9e7e501
29 --- /dev/null
30 +++ b/x11-libs/pango/pango-1.50.3.ebuild
31 @@ -0,0 +1,84 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
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 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +
47 +IUSE="debug +introspection sysprof X"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.62.2:2[${MULTILIB_USEDEP}]
51 + >=dev-libs/fribidi-1.0.6[${MULTILIB_USEDEP}]
52 + >=media-libs/harfbuzz-2.6.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}]
53 + >=media-libs/fontconfig-2.13.0:1.0=[${MULTILIB_USEDEP}]
54 + >=x11-libs/cairo-1.12.10:=[X?,${MULTILIB_USEDEP}]
55 + >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}]
56 + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
57 + X? (
58 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
59 + >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}]
60 + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
61 + )
62 +"
63 +DEPEND="${RDEPEND}
64 + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
65 + X? ( x11-base/xorg-proto )
66 +"
67 +BDEPEND="
68 + dev-util/glib-utils
69 + sys-apps/help2man
70 + virtual/pkgconfig
71 +"
72 +
73 +src_prepare() {
74 + xdg_src_prepare
75 + gnome2_environment_reset
76 +}
77 +
78 +multilib_src_configure() {
79 + if use debug; then
80 + append-cflags -DPANGO_ENABLE_DEBUG
81 + else
82 + append-cflags -DG_DISABLE_CAST_CHECKS
83 + fi
84 +
85 + local emesonargs=(
86 + # Never use gi-docgen subproject
87 + --wrap-mode nofallback
88 +
89 + -Dgtk_doc=false # we ship pregenerated docs
90 + $(meson_native_use_feature introspection)
91 + -Dinstall-tests=false
92 + -Dfontconfig=enabled
93 + $(meson_feature sysprof)
94 + -Dlibthai=disabled
95 + -Dcairo=enabled
96 + $(meson_feature X xft)
97 + -Dfreetype=enabled
98 + )
99 + meson_src_configure
100 +}
101 +
102 +multilib_src_install_all() {
103 + insinto /usr/share/gtk-doc/html
104 + # This will install PangoXft API docs regardless of USE=-X, but this is intentional
105 + doins -r "${S}"/docs/Pango*
106 +}
107 +
108 +pkg_postinst() {
109 + xdg_pkg_postinst
110 +
111 + if has_version 'media-libs/freetype[-harfbuzz]' ; then
112 + ewarn "media-libs/freetype is installed without harfbuzz support. This may"
113 + ewarn "lead to minor font rendering problems, see bug 712374."
114 + fi
115 +}