1 |
commit: 1990d5f474e2b002826d7cd2a6c7b89200413be8 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 11 15:56:40 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=1990d5f4 |
7 |
|
8 |
dev-util/glade: Version bump to 3.40.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-util/glade/Manifest | 1 + |
13 |
dev-util/glade/glade-3.40.0.ebuild | 82 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 83 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/glade/Manifest b/dev-util/glade/Manifest |
17 |
index 0ba975c1b9d5..cacf89522266 100644 |
18 |
--- a/dev-util/glade/Manifest |
19 |
+++ b/dev-util/glade/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST glade-3.38.2.tar.xz 2709224 BLAKE2B 2bcd447b90d6e67abc44dd273f0f5d7fc1d6848ef0bd878481f2c10e8846828e63fbf9c9c96e5effe8126b4aec7eb05886606ca1dc5fb94943bc5d1d8d0ef4e2 SHA512 2df8c8363206905663cd3ac9196da44445425a888b64f1b3b3ac6cd41e14c4a82a5d2c299730ef0606c3970a04dd8f245bb5639218794eb67dcbd26fae17565e |
22 |
+DIST glade-3.40.0.tar.xz 2654772 BLAKE2B 472dfd841e9501f7bbc96bde49ebe26dfd54193cd479658d042547eba5d1af196c0a06212ec5c894c53c12f3791967f6c77859f96802e3df5760b36c6c0c4af1 SHA512 6b018f882e9d155a4b2256c0b4c72743f971c8d730a53f16faa240d01e14051f5b6ce04e355dcc78e1679579fb091facaa06acdda6297c5b8efc642c42bb7b4e |
23 |
|
24 |
diff --git a/dev-util/glade/glade-3.40.0.ebuild b/dev-util/glade/glade-3.40.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6204835b1876 |
27 |
--- /dev/null |
28 |
+++ b/dev-util/glade/glade-3.40.0.ebuild |
29 |
@@ -0,0 +1,82 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+PYTHON_COMPAT=( python3_{8..11} ) |
35 |
+ |
36 |
+inherit gnome2 python-single-r1 meson optfeature virtualx |
37 |
+ |
38 |
+DESCRIPTION="A user interface designer for GTK+ and GNOME" |
39 |
+HOMEPAGE="https://glade.gnome.org https://gitlab.gnome.org/GNOME/glade" |
40 |
+ |
41 |
+LICENSE="GPL-2+ FDL-1.1+" |
42 |
+SLOT="3.10/13" # subslot = suffix of libgladeui-2.so |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
44 |
+ |
45 |
+IUSE="gjs gtk-doc +introspection python webkit" |
46 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ dev-libs/atk[introspection?] |
50 |
+ >=dev-libs/glib-2.53.2:2 |
51 |
+ >=dev-libs/libxml2-2.4.0:2 |
52 |
+ x11-libs/cairo:= |
53 |
+ x11-libs/gdk-pixbuf:2[introspection?] |
54 |
+ >=x11-libs/gtk+-3.22.0:3[introspection?] |
55 |
+ x11-libs/pango[introspection?] |
56 |
+ introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
57 |
+ gjs? ( >=dev-libs/gjs-1.64.0 ) |
58 |
+ python? ( |
59 |
+ ${PYTHON_DEPS} |
60 |
+ x11-libs/gtk+:3[introspection] |
61 |
+ $(python_gen_cond_dep ' |
62 |
+ >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] |
63 |
+ ') |
64 |
+ ) |
65 |
+ webkit? ( >=net-libs/webkit-gtk-2.12.0:4 ) |
66 |
+" |
67 |
+RDEPEND="${DEPEND}" |
68 |
+BDEPEND=" |
69 |
+ ${PYTHON_DEPS} |
70 |
+ app-text/docbook-xml-dtd:4.1.2 |
71 |
+ dev-libs/libxslt |
72 |
+ dev-util/itstool |
73 |
+ >=sys-devel/gettext-0.19.8 |
74 |
+ virtual/pkgconfig |
75 |
+" |
76 |
+ |
77 |
+RESTRICT="test" # https://gitlab.gnome.org/GNOME/glade/issues/333 |
78 |
+ |
79 |
+PATCHES=( |
80 |
+ # To avoid file collison with other slots, rename help module. |
81 |
+ # Prevent the UI from loading glade:3's gladeui devhelp documentation. |
82 |
+ "${FILESDIR}"/${PN}-3.14.1-doc-version.patch |
83 |
+) |
84 |
+ |
85 |
+pkg_setup() { |
86 |
+ python-single-r1_pkg_setup |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ local emesonargs=( |
91 |
+ -Dgladeui=true |
92 |
+ $(meson_feature gjs) |
93 |
+ $(meson_feature python) |
94 |
+ $(meson_feature webkit webkit2gtk) |
95 |
+ |
96 |
+ $(meson_use gtk-doc gtk_doc) |
97 |
+ $(meson_use introspection) |
98 |
+ ) |
99 |
+ meson_src_configure |
100 |
+} |
101 |
+ |
102 |
+src_test() { |
103 |
+ virtx meson_src_test |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ gnome2_pkg_postinst |
108 |
+ |
109 |
+ optfeature_header |
110 |
+ optfeature "integration API documentation support" dev-util/devhelp |
111 |
+} |