1 |
commit: f1a64e7a0ec8d7594b3284b5417ec1f17ec12bb0 |
2 |
Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Sat Jul 24 20:14:03 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 08:35:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a64e7a |
7 |
|
8 |
x11-libs/xapps: 2.2.3 version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
x11-libs/xapps/Manifest | 1 + |
15 |
x11-libs/xapps/xapps-2.2.3.ebuild | 93 +++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 94 insertions(+) |
17 |
|
18 |
diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest |
19 |
index 87cf97e69f0..5944b6c9814 100644 |
20 |
--- a/x11-libs/xapps/Manifest |
21 |
+++ b/x11-libs/xapps/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST xapps-2.2.1.tar.gz 239789 BLAKE2B ee7f3f2b3c54b0b40158dff6abbe2233c0d1a1fa4e134ce4bd6ee48842335b16e0d94ad430cb59301529dd85e2705cbb1c1f5ba10844b6fb85f598ca0c42d1db SHA512 412f5c207d81d2507f2aa5cc69beed2036db07058f08613793aa7c277bac30191a02d9aff4eca0aeb8829e3e39d5f3a87e34232bf51220c4d4bc7c8ee37b9e65 |
24 |
DIST xapps-2.2.2.tar.gz 239823 BLAKE2B a45b2707c505c9ed69b9748c846f69ef7668600619bc3d0f86c693c99e536afb9994ff4ed10cbf0efc194a1e861cf0911af50170e97a7b858b1363c370551799 SHA512 ab37714849365a81b2a500ed38ada9bf6b52edc17d3b3bfa6d41551a18af1b983f8fe084dee94939e81647814a77d2c219b87694349ac5d0d0ac59ba5ad79aa7 |
25 |
+DIST xapps-2.2.3.tar.gz 242330 BLAKE2B dba7f77eea7314fe978a1ba2b691f5c2d7e5d88f499d2f8533c8b1141262ce981cc395f8d6a0b1feaba715c63034e8dfe887e4183b5e119a0947b1ad85d99bbd SHA512 e8ac24decfa89aa949cf837a2e7a7ccdb8ef9d777081d0f3ea0e3a0b42378c721eed3eafacae669244a64c7f4202cb5c2a878d3574823f8f94bfdf51ec29f9ae |
26 |
|
27 |
diff --git a/x11-libs/xapps/xapps-2.2.3.ebuild b/x11-libs/xapps/xapps-2.2.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a7434062a55 |
30 |
--- /dev/null |
31 |
+++ b/x11-libs/xapps/xapps-2.2.3.ebuild |
32 |
@@ -0,0 +1,93 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
39 |
+VALA_USE_DEPEND="vapigen" |
40 |
+ |
41 |
+inherit gnome2-utils vala meson python-r1 xdg-utils |
42 |
+ |
43 |
+DESCRIPTION="Cross-desktop libraries and common resources" |
44 |
+HOMEPAGE="https://github.com/linuxmint/xapp/" |
45 |
+LICENSE="GPL-3" |
46 |
+ |
47 |
+SRC_URI="https://github.com/linuxmint/xapp/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+S="${WORKDIR}/xapp-${PV}" |
49 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+IUSE="gtk-doc introspection static-libs" |
53 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ ${PYTHON_DEPS} |
57 |
+ >=dev-libs/glib-2.44.0:2 |
58 |
+ dev-libs/gobject-introspection:0= |
59 |
+ dev-libs/libdbusmenu[gtk3] |
60 |
+ gnome-base/libgnomekbd |
61 |
+ x11-libs/cairo |
62 |
+ >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?] |
63 |
+ >=x11-libs/gtk+-3.16.0:3[introspection?] |
64 |
+ x11-libs/libxkbfile |
65 |
+" |
66 |
+DEPEND=" |
67 |
+ ${RDEPEND} |
68 |
+" |
69 |
+BDEPEND=" |
70 |
+ ${PYTHON_DEPS} |
71 |
+ $(vala_depend) |
72 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
73 |
+ dev-util/gdbus-codegen |
74 |
+ dev-util/glib-utils |
75 |
+ >=dev-util/intltool-0.40.6 |
76 |
+ sys-devel/gettext |
77 |
+ |
78 |
+ gtk-doc? ( dev-util/gtk-doc ) |
79 |
+" |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ vala_src_prepare |
83 |
+ default |
84 |
+ |
85 |
+ # don't install distro specific tools |
86 |
+ sed -i "/subdir('scripts')/d" meson.build || die |
87 |
+ |
88 |
+ # Fix meson helpers |
89 |
+ python_setup |
90 |
+ python_fix_shebang meson-scripts |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ local emesonargs=( |
95 |
+ $(meson_use gtk-doc docs) |
96 |
+ -Dpy-overrides-dir="/pygobject" |
97 |
+ ) |
98 |
+ meson_src_configure |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ meson_src_install |
103 |
+ |
104 |
+ # copy pygobject files to each active python target |
105 |
+ # work-around for "py-overrides-dir" only supporting a single target |
106 |
+ install_pygobject_override() { |
107 |
+ PYTHON_GI_OVERRIDESDIR=$("${EPYTHON}" -c 'import gi;print(gi._overridesdir)' || die) |
108 |
+ einfo "gobject overrides directory: ${PYTHON_GI_OVERRIDESDIR}" |
109 |
+ mkdir -p "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die |
110 |
+ cp -r "${D}"/pygobject/* "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die |
111 |
+ python_optimize "${D}/${PYTHON_GI_OVERRIDESDIR}/" |
112 |
+ } |
113 |
+ python_foreach_impl install_pygobject_override |
114 |
+ rm -r "${D}/pygobject" || die |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ xdg_icon_cache_update |
119 |
+ gnome2_schemas_update |
120 |
+} |
121 |
+ |
122 |
+pkg_postrm() { |
123 |
+ xdg_icon_cache_update |
124 |
+ gnome2_schemas_update |
125 |
+} |