1 |
commit: fcb1069fe15e913d9449fdde723135f1e74e9d08 |
2 |
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Mar 27 20:10:18 2022 +0000 |
4 |
Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Mar 27 20:10:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fcb1069f |
7 |
|
8 |
gnome-extra/extension-manager: Add 0.3.0 |
9 |
|
10 |
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> |
11 |
|
12 |
gnome-extra/extension-manager/Manifest | 1 + |
13 |
.../extension-manager-0.3.0.ebuild | 77 ++++++++++++++++++++++ |
14 |
2 files changed, 78 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/extension-manager/Manifest b/gnome-extra/extension-manager/Manifest |
17 |
index bfb1562de..142564b18 100644 |
18 |
--- a/gnome-extra/extension-manager/Manifest |
19 |
+++ b/gnome-extra/extension-manager/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST extension-manager-0.2.3.tar.gz 1384925 BLAKE2B 3bd98f67f419c646a4a7b9d1dee656de305eff5e35124f3765d5d9c82aff7d9e7bbeea912f24c0766c95e0c497b070831ee9922747f200bbcd57470a6adcec7e SHA512 9bb078f3d00cdfe1e84a757f7cce32f5a33333fdf4f60f3952523ac48779becab9c00da78974551f224c194806217eddf3116a29eb33f1e9982ff8caa5e06218 |
22 |
+DIST extension-manager-0.3.0.tar.gz 1431028 BLAKE2B 059d46118b57f204b1258a5d9c55587407130db3048b87be13294e6f426b5d8515475e6b7622cca3ed5951c3f2ed238d22a09ab4f4d1bf78196618b8fe580f29 SHA512 34642d81be67978ac039a17e0762fa1f44ea41720d066a5aeb7fa1e35f2f6ac25a7924b5daf3073ddf4caa3013e1e70b24c5df4c998920ebe1c8e0a875dbec0c |
23 |
|
24 |
diff --git a/gnome-extra/extension-manager/extension-manager-0.3.0.ebuild b/gnome-extra/extension-manager/extension-manager-0.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..7949012b7 |
27 |
--- /dev/null |
28 |
+++ b/gnome-extra/extension-manager/extension-manager-0.3.0.ebuild |
29 |
@@ -0,0 +1,77 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit gnome2-utils meson xdg |
36 |
+ |
37 |
+if [[ ${PV} == *9999 ]]; then |
38 |
+ inherit git-r3 |
39 |
+ EGIT_REPO_URI="https://github.com/mjakeman/extension-manager.git" |
40 |
+else |
41 |
+ SRC_URI="https://github.com/mjakeman/extension-manager/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ KEYWORDS="~amd64" |
43 |
+fi |
44 |
+ |
45 |
+DESCRIPTION="A native tool for browsing and installing GNOME Shell Extensions" |
46 |
+HOMEPAGE="https://github.com/mjakeman/extension-manager" |
47 |
+ |
48 |
+LICENSE="GPL-3+" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ dev-libs/glib:2 |
53 |
+ dev-util/blueprint-compiler |
54 |
+ virtual/pkgconfig |
55 |
+" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-libs/glib:2 |
59 |
+ dev-libs/json-glib |
60 |
+ gui-libs/gtk:4[introspection] |
61 |
+ gui-libs/libadwaita:1[introspection] |
62 |
+ gui-libs/text-engine |
63 |
+ net-libs/libsoup:3.0 |
64 |
+" |
65 |
+ |
66 |
+DEPEND=" |
67 |
+ ${RDEPEND} |
68 |
+" |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local emesonargs=() |
72 |
+ if has live ${PROPERTIES}; then |
73 |
+ # Produce a development build for live ebuild |
74 |
+ emesonargs+=( -Ddevelopment=true ) |
75 |
+ fi |
76 |
+ meson_src_configure |
77 |
+} |
78 |
+ |
79 |
+# Tests are skipped because as of version 0.2.3, the tests only validate |
80 |
+# resource files and do not verify any functionality of the program. Those |
81 |
+# validations are either already handled by QA checks or not relevant on |
82 |
+# Gentoo. For more information about the rationale, please refer to: |
83 |
+# https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments |
84 |
+# |
85 |
+# If tests are to be executed in the future because the upstream adds |
86 |
+# functionality tests or for other reasons, and should there be no convenient |
87 |
+# way to skip the validations, the following variable values need to be set: |
88 |
+# |
89 |
+# IUSE="test" |
90 |
+# # 'Validate appstream file' test case requires Internet connection |
91 |
+# PROPERTIES="test_network" |
92 |
+# RESTRICT="test" |
93 |
+# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )" |
94 |
+src_test() { |
95 |
+ : |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { |
99 |
+ xdg_pkg_postinst |
100 |
+ gnome2_schemas_update |
101 |
+} |
102 |
+ |
103 |
+pkg_postrm() { |
104 |
+ xdg_pkg_postrm |
105 |
+ gnome2_schemas_update |
106 |
+} |