1 |
commit: 7a35802e74fa53a73aa6883910f067965b2e822f |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 27 18:10:23 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 18:15:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a35802e |
7 |
|
8 |
dev-util/glade: bump to 3.22.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-util/glade/Manifest | 1 + |
14 |
dev-util/glade/glade-3.22.2.ebuild | 91 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 92 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/glade/Manifest b/dev-util/glade/Manifest |
18 |
index 902fe279ab5..ac0b819613d 100644 |
19 |
--- a/dev-util/glade/Manifest |
20 |
+++ b/dev-util/glade/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST glade-3.22.1.tar.xz 3592952 BLAKE2B 53f769198a093ff5d4dc98bb4ea98c6e5195933caf24247a99db980312ae3398fca3abbd640d08c02e8fb5f8647ee3e4b18e65073b1500e9017ee0586993a331 SHA512 e1bdc49b89bc5010c0abf6357dbae05c921182655b2ee5a4b161af6adfd596cfbcd495c9851ba956abbf3d6156616a6c0e94640cd72cee11551ca388674ac908 |
23 |
+DIST glade-3.22.2.tar.xz 3550008 BLAKE2B e1217e221b36938937c57ae465a3707eeadc52bc9127b3af2fb6514e572676e3e284811d5332876dce110fd321e2bb33b9ac8b0afbd97dd747725eb73309dc15 SHA512 cb82684423ae055bc8e84a8705529ecdc72957563f444633c2c5c24a922130de84c212537323b6ed259f0e29349b52dff608822610b87babb8fc3cb468a5f4b0 |
24 |
|
25 |
diff --git a/dev-util/glade/glade-3.22.2.ebuild b/dev-util/glade/glade-3.22.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..83c8db833e5 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/glade/glade-3.22.2.ebuild |
30 |
@@ -0,0 +1,91 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+GNOME2_LA_PUNT="yes" |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+ |
38 |
+inherit gnome2 python-single-r1 virtualx |
39 |
+ |
40 |
+DESCRIPTION="A user interface designer for GTK+ and GNOME" |
41 |
+HOMEPAGE="https://glade.gnome.org/" |
42 |
+ |
43 |
+LICENSE="GPL-2+ FDL-1.1+" |
44 |
+SLOT="3.10/6" # subslot = suffix of libgladeui-2.so |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
46 |
+ |
47 |
+IUSE="debug +introspection python webkit" |
48 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-libs/atk[introspection?] |
52 |
+ >=dev-libs/glib-2.53.2:2 |
53 |
+ >=dev-libs/libxml2-2.4.0:2 |
54 |
+ x11-libs/cairo:= |
55 |
+ x11-libs/gdk-pixbuf:2[introspection?] |
56 |
+ >=x11-libs/gtk+-3.20.0:3[introspection?] |
57 |
+ x11-libs/pango[introspection?] |
58 |
+ introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
59 |
+ python? ( |
60 |
+ ${PYTHON_DEPS} |
61 |
+ x11-libs/gtk+:3[introspection] |
62 |
+ $(python_gen_cond_dep ' |
63 |
+ >=dev-python/pygobject-3.8:3[${PYTHON_MULTI_USEDEP}] |
64 |
+ ') |
65 |
+ ) |
66 |
+ webkit? ( >=net-libs/webkit-gtk-2.12.0:4 ) |
67 |
+" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ app-text/docbook-xml-dtd:4.1.2 |
70 |
+ dev-libs/libxslt |
71 |
+ >=dev-util/gtk-doc-am-1.13 |
72 |
+ >=dev-util/intltool-0.41.0 |
73 |
+ dev-util/itstool |
74 |
+ virtual/pkgconfig |
75 |
+" |
76 |
+# eautoreconf requires: |
77 |
+# app-text/yelp-tools |
78 |
+# dev-libs/gobject-introspection-common |
79 |
+# gnome-base/gnome-common |
80 |
+ |
81 |
+RESTRICT="test" # https://gitlab.gnome.org/GNOME/glade/issues/333 |
82 |
+ |
83 |
+PATCHES=( |
84 |
+ # To avoid file collison with other slots, rename help module. |
85 |
+ # Prevent the UI from loading glade:3's gladeui devhelp documentation. |
86 |
+ "${FILESDIR}"/${PN}-3.14.1-doc-version.patch |
87 |
+) |
88 |
+ |
89 |
+pkg_setup() { |
90 |
+ use python && python-single-r1_pkg_setup |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ gnome2_src_configure \ |
95 |
+ --disable-static \ |
96 |
+ --enable-gladeui \ |
97 |
+ --enable-libtool-lock \ |
98 |
+ $(usex debug --enable-debug ' ') \ |
99 |
+ $(use_enable introspection) \ |
100 |
+ $(use_enable python) \ |
101 |
+ $(use_enable webkit webkit2gtk) |
102 |
+} |
103 |
+ |
104 |
+src_test() { |
105 |
+ virtx emake check |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ # modify name in .devhelp2 file to avoid shadowing with glade:3 docs |
110 |
+ sed -e 's:name="gladeui":name="gladeui-2":' \ |
111 |
+ -i doc/html/gladeui.devhelp2 || die "sed of gladeui.devhelp2 failed" |
112 |
+ gnome2_src_install |
113 |
+} |
114 |
+ |
115 |
+pkg_postinst() { |
116 |
+ gnome2_pkg_postinst |
117 |
+ if ! has_version dev-util/devhelp ; then |
118 |
+ elog "You may want to install dev-util/devhelp for integration API" |
119 |
+ elog "documentation support." |
120 |
+ fi |
121 |
+} |