Gentoo Archives: gentoo-commits

From: Yuan Liao <liaoyuan@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/extension-manager/
Date: Tue, 30 Aug 2022 13:27:23
Message-Id: 1661865813.d95516ac287e2f918accf37bb1ad3ad5a2a0bd92.liaoyuan@gentoo
1 commit: d95516ac287e2f918accf37bb1ad3ad5a2a0bd92
2 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
3 AuthorDate: Tue Aug 30 13:23:33 2022 +0000
4 Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
5 CommitDate: Tue Aug 30 13:23:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d95516ac
7
8 gnome-extra/extension-manager: Add 0.3.2
9
10 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
11
12 gnome-extra/extension-manager/Manifest | 1 +
13 .../extension-manager-0.3.2.ebuild | 75 ++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/gnome-extra/extension-manager/Manifest b/gnome-extra/extension-manager/Manifest
17 index 763090315..ab273074c 100644
18 --- a/gnome-extra/extension-manager/Manifest
19 +++ b/gnome-extra/extension-manager/Manifest
20 @@ -1 +1,2 @@
21 DIST extension-manager-0.3.1.tar.gz 1441120 BLAKE2B bd1f6ac1a30521d7ff209c556bcc4ce0103666b9740aa982f0e1a7727b40106df482b693ece920a7449a634955984fa363e217a6b7d14fa0861effe27490824c SHA512 fd434baf0889fcf20a41be71d8bbe6d82aed0baff989747d4da3e8c0ae04a90b6b0b8ad54eede28f266250ca94db8711f35f6a6aa90ceb23195d3460bbd8f1ca
22 +DIST extension-manager-0.3.2.tar.gz 1447521 BLAKE2B 55d09b54219804c1910a572953d7fee4b8a9131085260db1d4ef014bccf8b13fa2da0a8673c0d78643841d603878183c2b573b084bcd5cb1818721e8194c871b SHA512 84ff2f246d582cdae06a12e5e88309d67ae32502e9885675c08d75dc686fdea28b53bffa37d396ffface8515712f0b990603b5832704ae722342f0ad49748150
23
24 diff --git a/gnome-extra/extension-manager/extension-manager-0.3.2.ebuild b/gnome-extra/extension-manager/extension-manager-0.3.2.ebuild
25 new file mode 100644
26 index 000000000..a2705683e
27 --- /dev/null
28 +++ b/gnome-extra/extension-manager/extension-manager-0.3.2.ebuild
29 @@ -0,0 +1,75 @@
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.3.0, 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 +# RESTRICT="!test? ( test )"
91 +# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )"
92 +src_test() {
93 + :
94 +}
95 +
96 +pkg_postinst() {
97 + xdg_pkg_postinst
98 + gnome2_schemas_update
99 +}
100 +
101 +pkg_postrm() {
102 + xdg_pkg_postrm
103 + gnome2_schemas_update
104 +}