1 |
commit: 22c3f29da2f1f0604b6be9f93d421e9962483a9e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 20:57:50 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 20:59:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c3f29d |
7 |
|
8 |
x11-libs/pango: restore 1.48.5-r1 for circular dep workaround |
9 |
|
10 |
This is the last version to not depend on freetype[harfbuzz], see |
11 |
https://wiki.gentoo.org/wiki/User:Sam/Portage_help/Circular_dependencies#Solution. |
12 |
|
13 |
Acked-by: Mart Raudsepp <leio <AT> gentoo.org> |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
x11-libs/pango/Manifest | 1 + |
17 |
x11-libs/pango/pango-1.48.5-r1.ebuild | 83 +++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 84 insertions(+) |
19 |
|
20 |
diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest |
21 |
index b5971f78c44..9e8a7cd33f8 100644 |
22 |
--- a/x11-libs/pango/Manifest |
23 |
+++ b/x11-libs/pango/Manifest |
24 |
@@ -1,5 +1,6 @@ |
25 |
DIST pango-1.42.4-patchset.tar.xz 6040 BLAKE2B ec3f1a6a4de30e0864e7f0bf0950cb7a7b4bada8c3db496a8e5b1e770f221ae72b43167178445ea9cd0d6b88e51d2af49e7fdf27b2e792997fe7c37e55d429c1 SHA512 b7654c3493931e3c6d3cbd40ee49c5cbebaf403954bae75dea80e9f03e12dd5082548aff6a9e778821b8f935e227a7efaad4c1b980fa108e7258042221cadfc1 |
26 |
DIST pango-1.42.4.tar.xz 833876 BLAKE2B 7de1094a29750b9e59ea1e5c92644fa5d6b835828d027963a53cce3f204ee1ea0042ec492e209de9136f05ca131ccda959bc477d4f6e9c72e5f620ddf4235f26 SHA512 993e97f647eba0c5ed90bcfcb8228bf67fa3f20b1f4331e4e40a30788d7c3ac55eee1209471bf21df125cb8fc6121acc8062a9da2f8a7d6cbe8e9ad13a9320dc |
27 |
DIST pango-1.48.10.tar.xz 2071736 BLAKE2B 68bca7e8307fc7ddb49830c84b17e95fbb1f2e1afbe04d26d04d9bd9f48f0767b80cb7446a22150a7f3d5650614d6652d7b20be102d533b4c78adf58574c57d1 SHA512 f9acdfb3fde50e8fb4b3dfad329624754ef7cb1c6ff6d80485c1fc7a24d92095b7e9053cd8713a291fbee68cd1cd699dcdb8110265b44e97a34c5b4ef0c06390 |
28 |
+DIST pango-1.48.5.tar.xz 1819476 BLAKE2B 8529e8cbcf0f33be56cf09229abe45fb3525e12a9c2a6ad7cca416ff67a92eb010abc2ce814fa4d19a924186369eede4a576efdd2f4c64b39e31c9821c5e414a SHA512 2c758e649af5b9f9fa960c26a6f4dcf5abd8035101fdfe4a02fe02cb892250b615584b02d63aaa06f3da5cbe7bb848459ac969f43437c34cec084b51bcf48cab |
29 |
DIST pango-1.48.7.tar.xz 2050880 BLAKE2B 2ee048d9713aed0972ffdf3feb96c7c0683ffa1494ac2b798a4f6b1f5797d689b0e0c06bcc3f4a10130d23279ed295a3a59141c75bd3a0f2da7facf62d6c3baa SHA512 e5680d628f531bea7633945bd74dc51a93c4c881dec58fcf9f6271043e77b82a4805e311355cb4d9f8cdfcdf52785a5a6391517a264b62416c26e82dff4aca39 |
30 |
DIST pango-1.48.9.tar.xz 2063756 BLAKE2B d1610aaac783b95a35ad3e083b4bab33f3d4beff533386817addcb5eb9022de242087ffe4e62c043870b4aac1fbc0fe3e1c5d18744909a5a05015a702dfea2e3 SHA512 e3bba743bb596b0a34cedc893f9af0216bcc9fec521c2da09cfdeec9ad80a05b5c53c3fce1a225ab27536e9335725cffb87c66867d0522fd4632df00b1d4c056 |
31 |
|
32 |
diff --git a/x11-libs/pango/pango-1.48.5-r1.ebuild b/x11-libs/pango/pango-1.48.5-r1.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..382eb4b7793 |
35 |
--- /dev/null |
36 |
+++ b/x11-libs/pango/pango-1.48.5-r1.ebuild |
37 |
@@ -0,0 +1,83 @@ |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+inherit gnome2-utils meson-multilib toolchain-funcs xdg |
44 |
+ |
45 |
+DESCRIPTION="Internationalized text layout and rendering library" |
46 |
+HOMEPAGE="https://www.pango.org/" |
47 |
+SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/$(ver_cut 1-2)/${P}.tar.xz" |
48 |
+ |
49 |
+LICENSE="LGPL-2+ FTL" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" |
52 |
+ |
53 |
+IUSE="gtk-doc +introspection sysprof test X" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+REQUIRED_USE="gtk-doc? ( introspection )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-libs/fribidi-0.19.7[${MULTILIB_USEDEP}] |
59 |
+ >=dev-libs/glib-2.62.2:2[${MULTILIB_USEDEP}] |
60 |
+ >=media-libs/fontconfig-2.12.92:1.0=[${MULTILIB_USEDEP}] |
61 |
+ >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] |
62 |
+ >=media-libs/harfbuzz-2.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}] |
63 |
+ >=x11-libs/cairo-1.12.10:=[X?,${MULTILIB_USEDEP}] |
64 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) |
65 |
+ X? ( |
66 |
+ >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}] |
67 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
68 |
+ >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] |
69 |
+ x11-libs/libXrender[${MULTILIB_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+DEPEND="${RDEPEND} |
73 |
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] ) |
74 |
+ X? ( x11-base/xorg-proto ) |
75 |
+" |
76 |
+BDEPEND=" |
77 |
+ dev-util/glib-utils |
78 |
+ sys-apps/help2man |
79 |
+ virtual/pkgconfig |
80 |
+ gtk-doc? ( |
81 |
+ dev-util/gi-docgen |
82 |
+ app-text/docbook-xml-dtd:4.2 |
83 |
+ app-text/docbook-xml-dtd:4.5 |
84 |
+ ) |
85 |
+" |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ xdg_src_prepare |
89 |
+ gnome2_environment_reset |
90 |
+} |
91 |
+ |
92 |
+multilib_src_configure() { |
93 |
+ local emesonargs=( |
94 |
+ # Never use gi-docgen subproject |
95 |
+ --wrap-mode nofallback |
96 |
+ |
97 |
+ $(meson_feature sysprof) |
98 |
+ $(meson_feature X xft) |
99 |
+ -Dcairo=enabled |
100 |
+ -Dfontconfig=enabled |
101 |
+ -Dfreetype=enabled |
102 |
+ $(meson_native_use_bool gtk-doc gtk_doc) |
103 |
+ $(meson_native_use_feature introspection) |
104 |
+ -Dinstall-tests=false |
105 |
+ -Dlibthai=disabled |
106 |
+ ) |
107 |
+ meson_src_configure |
108 |
+} |
109 |
+ |
110 |
+multilib_src_install_all() { |
111 |
+ if use gtk-doc; then |
112 |
+ mv "${ED}"/usr/share/doc/{${PN}/reference/,${PF}/html/} || die |
113 |
+ rmdir "${ED}"/usr/share/doc/${PN} || die |
114 |
+ fi |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ xdg_pkg_postinst |
119 |
+ gnome2_schemas_update |
120 |
+} |