1 |
commit: d89a3324b97a597edb88c8b72b5df8c9130ed134 |
2 |
Author: Matthew Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Tue May 12 04:44:31 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 29 00:10:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89a3324 |
7 |
|
8 |
x11-libs/xapps: 1.8.4 version bump |
9 |
|
10 |
Update xapps to 1.8.4. Switch to EAPI=7 and clean |
11 |
up eclass usage and dependencies. Fix installation |
12 |
of pygobject files for multiple targets. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/672676 |
15 |
Bug: https://bugs.gentoo.org/718316 |
16 |
Bug: https://bugs.gentoo.org/704532 |
17 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
18 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
19 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
20 |
|
21 |
x11-libs/xapps/Manifest | 1 + |
22 |
x11-libs/xapps/metadata.xml | 4 ++ |
23 |
x11-libs/xapps/xapps-1.8.4.ebuild | 87 +++++++++++++++++++++++++++++++++++++++ |
24 |
3 files changed, 92 insertions(+) |
25 |
|
26 |
diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest |
27 |
index 300f4492b23..aaa8dbcf4ab 100644 |
28 |
--- a/x11-libs/xapps/Manifest |
29 |
+++ b/x11-libs/xapps/Manifest |
30 |
@@ -1 +1,2 @@ |
31 |
DIST xapps-1.4.2.tar.gz 69709 BLAKE2B 514e4cb2e614ccd9fa303625eb5ffb818847447b29d6d989c2abdc90b6b9840dac6124d8484b71ffc2e489a925f83dae597c0904aa79cd5d5a0c27d44420da96 SHA512 2d16bd893a16876270c41d755c62ca454f561931750acc719c480e63036b70dca8dae25e6a313f13ed0daae09fd650e0efcef9d272c405ccd9c04147aaf59fe2 |
32 |
+DIST xapps-1.8.4.tar.gz 179340 BLAKE2B f6558b87320cbd73e73c5294f48a3c0c94c7239abc9ede9cd88e66ccd53fd0c9cba9c638837efbd5eecd8a4f372262fde759e05ba9e97ad9955ab74464c34c21 SHA512 483e8e334d4883e2172e06835d690d20af2752fcc195f63776053b83abc0ffcb25c757633450a02b153e70e67e98c477754de12169c167a2f9f3fea103e12bad |
33 |
|
34 |
diff --git a/x11-libs/xapps/metadata.xml b/x11-libs/xapps/metadata.xml |
35 |
index c55fc58fae0..0f3abac753e 100644 |
36 |
--- a/x11-libs/xapps/metadata.xml |
37 |
+++ b/x11-libs/xapps/metadata.xml |
38 |
@@ -13,6 +13,10 @@ |
39 |
<email>proxy-maint@g.o</email> |
40 |
<name>Proxy Maintainers</name> |
41 |
</maintainer> |
42 |
+ <maintainer type="person"> |
43 |
+ <email>sparky@××××××××××××××.com</email> |
44 |
+ <name>Matthew Turnbull</name> |
45 |
+ </maintainer> |
46 |
<upstream> |
47 |
<remote-id type="github">linuxmint/xapps</remote-id> |
48 |
</upstream> |
49 |
|
50 |
diff --git a/x11-libs/xapps/xapps-1.8.4.ebuild b/x11-libs/xapps/xapps-1.8.4.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..6e106233d42 |
53 |
--- /dev/null |
54 |
+++ b/x11-libs/xapps/xapps-1.8.4.ebuild |
55 |
@@ -0,0 +1,87 @@ |
56 |
+# Copyright 1999-2020 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=7 |
60 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
61 |
+ |
62 |
+VALA_USE_DEPEND="vapigen" |
63 |
+inherit gnome2-utils vala meson python-r1 xdg-utils |
64 |
+ |
65 |
+DESCRIPTION="Cross-desktop libraries and common resources" |
66 |
+HOMEPAGE="https://github.com/linuxmint/xapps/" |
67 |
+LICENSE="GPL-3" |
68 |
+ |
69 |
+SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz" |
70 |
+KEYWORDS="~amd64 ~x86" |
71 |
+ |
72 |
+SLOT="0" |
73 |
+IUSE="gtk-doc introspection static-libs" |
74 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
75 |
+ |
76 |
+RDEPEND=" |
77 |
+ ${PYTHON_DEPS} |
78 |
+ >=dev-libs/glib-2.37.3:2 |
79 |
+ dev-libs/gobject-introspection:0= |
80 |
+ gnome-base/libgnomekbd |
81 |
+ x11-libs/cairo |
82 |
+ >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?] |
83 |
+ >=x11-libs/gtk+-3.3.16:3[introspection?] |
84 |
+ x11-libs/libxkbfile |
85 |
+ dev-libs/libdbusmenu[gtk3] |
86 |
+" |
87 |
+DEPEND="${RDEPEND} |
88 |
+ sys-devel/gettext |
89 |
+ gtk-doc? ( dev-util/gtk-doc ) |
90 |
+ $(vala_depend) |
91 |
+" |
92 |
+BDEPEND=" |
93 |
+ ${PYTHON_DEPS} |
94 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
95 |
+ dev-util/gdbus-codegen |
96 |
+ >=dev-util/intltool-0.40.6 |
97 |
+ sys-devel/gettext |
98 |
+" |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ xdg_environment_reset |
102 |
+ vala_src_prepare |
103 |
+ default |
104 |
+} |
105 |
+ |
106 |
+src_configure() { |
107 |
+ local emesonargs=( |
108 |
+ $(meson_use gtk-doc docs) |
109 |
+ -Dpy-overrides-dir="/pygobject" |
110 |
+ ) |
111 |
+ meson_src_configure |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ meson_src_install |
116 |
+ rm -rf "${ED}/usr/bin" || die |
117 |
+ |
118 |
+ # package provides .pc files |
119 |
+ find "${D}" -name '*.la' -delete || die |
120 |
+ |
121 |
+ # copy pygobject files to each active python target |
122 |
+ # work-around for "py-overrides-dir" only supporting a single target |
123 |
+ install_pygobject_override() { |
124 |
+ PYTHON_GI_OVERRIDESDIR=$("${PYTHON}" -c 'import gi;print(gi._overridesdir)') || die |
125 |
+ einfo "gobject overrides directory: $PYTHON_GI_OVERRIDESDIR" |
126 |
+ mkdir -p "${ED}/$PYTHON_GI_OVERRIDESDIR/" |
127 |
+ cp -r "${D}"/pygobject/* "${ED}/$PYTHON_GI_OVERRIDESDIR/" || die |
128 |
+ python_optimize |
129 |
+ } |
130 |
+ python_foreach_impl install_pygobject_override |
131 |
+ rm -rf "${D}/pygobject" || die |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ xdg_icon_cache_update |
136 |
+ gnome2_schemas_update |
137 |
+} |
138 |
+ |
139 |
+pkg_postrm() { |
140 |
+ xdg_icon_cache_update |
141 |
+ gnome2_schemas_update |
142 |
+} |