1 |
commit: f9d56eaf2f5e6590c75c29c6e09eb5a607bb12ba |
2 |
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 21 11:41:03 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Mon Feb 21 11:41:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9d56eaf |
7 |
|
8 |
gnome-extra/extension-manager: Sync live ebuilds |
9 |
|
10 |
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> |
11 |
|
12 |
.../extension-manager-0.3.0_rc9999.ebuild | 68 ---------------------- |
13 |
.../extension-manager-9999.ebuild | 9 +++ |
14 |
2 files changed, 9 insertions(+), 68 deletions(-) |
15 |
|
16 |
diff --git a/gnome-extra/extension-manager/extension-manager-0.3.0_rc9999.ebuild b/gnome-extra/extension-manager/extension-manager-0.3.0_rc9999.ebuild |
17 |
deleted file mode 100644 |
18 |
index 06c1ffd71..000000000 |
19 |
--- a/gnome-extra/extension-manager/extension-manager-0.3.0_rc9999.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,68 +0,0 @@ |
22 |
-# Copyright 2022 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=8 |
26 |
- |
27 |
-inherit gnome2-utils meson xdg |
28 |
- |
29 |
-if [[ ${PV} == *9999 ]]; then |
30 |
- inherit git-r3 |
31 |
- EGIT_REPO_URI="https://github.com/mjakeman/extension-manager.git" |
32 |
- # TODO: Remove this variable when merging back to the PV="9999" ebuild |
33 |
- EGIT_BRANCH="prepare-$(ver_cut 1-2)" |
34 |
-else |
35 |
- SRC_URI="https://github.com/mjakeman/extension-manager/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
- KEYWORDS="~amd64" |
37 |
-fi |
38 |
- |
39 |
-DESCRIPTION="A native tool for browsing and installing GNOME Shell Extensions" |
40 |
-HOMEPAGE="https://github.com/mjakeman/extension-manager" |
41 |
- |
42 |
-LICENSE="GPL-3+" |
43 |
-SLOT="0" |
44 |
- |
45 |
-IUSE="test" |
46 |
-# 'Validate appstream file' test case requires Internet connection |
47 |
-PROPERTIES="test_network" |
48 |
-RESTRICT="test" |
49 |
- |
50 |
-BDEPEND=" |
51 |
- dev-libs/glib:2 |
52 |
- dev-util/blueprint-compiler |
53 |
- virtual/pkgconfig |
54 |
- test? ( |
55 |
- dev-libs/appstream-glib |
56 |
- dev-util/desktop-file-utils |
57 |
- ) |
58 |
-" |
59 |
- |
60 |
-DEPEND=" |
61 |
- dev-libs/glib:2 |
62 |
- dev-libs/json-glib |
63 |
- gui-libs/gtk:4[introspection] |
64 |
- gui-libs/libadwaita:1[introspection] |
65 |
- net-libs/libsoup:3.0 |
66 |
-" |
67 |
- |
68 |
-RDEPEND=" |
69 |
- ${DEPEND} |
70 |
-" |
71 |
- |
72 |
-src_configure() { |
73 |
- local emesonargs=() |
74 |
- if has live ${PROPERTIES}; then |
75 |
- # Produce a development build for live ebuild |
76 |
- emesonargs+=( -Ddevelopment=true ) |
77 |
- fi |
78 |
- meson_src_configure |
79 |
-} |
80 |
- |
81 |
-pkg_postinst() { |
82 |
- xdg_pkg_postinst |
83 |
- gnome2_schemas_update |
84 |
-} |
85 |
- |
86 |
-pkg_postrm() { |
87 |
- xdg_pkg_postrm |
88 |
- gnome2_schemas_update |
89 |
-} |
90 |
|
91 |
diff --git a/gnome-extra/extension-manager/extension-manager-9999.ebuild b/gnome-extra/extension-manager/extension-manager-9999.ebuild |
92 |
index c59138704..cd2cada33 100644 |
93 |
--- a/gnome-extra/extension-manager/extension-manager-9999.ebuild |
94 |
+++ b/gnome-extra/extension-manager/extension-manager-9999.ebuild |
95 |
@@ -46,6 +46,15 @@ RDEPEND=" |
96 |
${DEPEND} |
97 |
" |
98 |
|
99 |
+src_configure() { |
100 |
+ local emesonargs=() |
101 |
+ if has live ${PROPERTIES}; then |
102 |
+ # Produce a development build for live ebuild |
103 |
+ emesonargs+=( -Ddevelopment=true ) |
104 |
+ fi |
105 |
+ meson_src_configure |
106 |
+} |
107 |
+ |
108 |
pkg_postinst() { |
109 |
xdg_pkg_postinst |
110 |
gnome2_schemas_update |