commit:     9a056f9dda15a11261311b7e960d89de3ad5a800
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Fri May  5 19:37:57 2023 +0000
Commit:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
CommitDate: Fri May  5 19:37:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a056f9d

gnome-extra/extension-manager: Add 0.4.1

Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>

 gnome-extra/extension-manager/Manifest             |  1 +
 .../extension-manager-0.4.1.ebuild                 | 80 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/gnome-extra/extension-manager/Manifest 
b/gnome-extra/extension-manager/Manifest
index 6a853f16a..6e050af28 100644
--- a/gnome-extra/extension-manager/Manifest
+++ b/gnome-extra/extension-manager/Manifest
@@ -1 +1,2 @@
 DIST extension-manager-0.4.0.tar.gz 1476951 BLAKE2B 
9cf6ed74d30e22de8621ff9481de65295d9be07b82134b861192dfe3a9ebad4ea09be136beda0badc78d45cfd15a889b39b907ef4e258bc4229f6a342adde73d
 SHA512 
9ec774c2dbd9476eeafbad19ea4d7d17ed9dd1de6cabe83511f372434cec11511dfd973cb5d67fba7e062314e2309150014ae83ce9768bb6f2e2f410909c8a1f
+DIST extension-manager-0.4.1.tar.gz 1490668 BLAKE2B 
ca7c4dabc100d4a8aba8a41ecdec3c88676764b81c2e5fdb64785ca5031a31749d058c1a670867fd1028ae13721d8de0c648fd397f63a56871e11899bca4d4f5
 SHA512 
3da3ff3f42117ad52eecd99e92d65d8d72b95e07a5488f7184577ab10f749b1cee08a3322316bf2a92a8e2b878ca18e94ce7d986331688eafb520cdb8a0bbf1c

diff --git a/gnome-extra/extension-manager/extension-manager-0.4.1.ebuild 
b/gnome-extra/extension-manager/extension-manager-0.4.1.ebuild
new file mode 100644
index 000000000..273d091d9
--- /dev/null
+++ b/gnome-extra/extension-manager/extension-manager-0.4.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/mjakeman/extension-manager.git";
+else
+       
SRC_URI="https://github.com/mjakeman/extension-manager/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A native tool for browsing, installing, and managing GNOME Shell 
Extensions"
+HOMEPAGE="https://mjakeman.github.io/extension-manager/";
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+BDEPEND="
+       dev-libs/glib:2
+       dev-util/blueprint-compiler
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+RDEPEND="
+       dev-libs/glib:2
+       dev-libs/json-glib
+       gui-libs/gtk:4[introspection]
+       >=gui-libs/libadwaita-1.2.0:1[introspection]
+       gui-libs/text-engine
+       net-libs/libsoup:3.0
+       sys-libs/libbacktrace
+"
+
+DEPEND="
+       ${RDEPEND}
+"
+
+src_configure() {
+       local emesonargs=(
+               -Dpackage="ebuild"
+               -Ddistributor="Gentoo GURU <guru-b...@gentoo.org>"
+       )
+       if has live ${PROPERTIES}; then
+               # Produce a development build for live ebuild
+               emesonargs+=( -Ddevelopment=true )
+       fi
+       meson_src_configure
+}
+
+# Tests are skipped because as of version 0.3.0, the tests only validate
+# resource files and do not verify any functionality of the program.  Those
+# validations are either already handled by QA checks or not relevant on
+# Gentoo.  For more information about the rationale, please refer to:
+# 
https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments
+#
+# If tests are to be executed in the future because the upstream adds
+# functionality tests or for other reasons, and should there be no convenient
+# way to skip the validations, the following variable values need to be set:
+#
+# IUSE="test"
+# RESTRICT="!test? ( test )"
+# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )"
+src_test() {
+       :
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to