From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 385F8158041 for ; Wed, 20 Mar 2024 13:49:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F769E29AE; Wed, 20 Mar 2024 13:49:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44EA0E29AE for ; Wed, 20 Mar 2024 13:49:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A01C33FD3F for ; Wed, 20 Mar 2024 13:49:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C94D158C for ; Wed, 20 Mar 2024 13:49:00 +0000 (UTC) From: "Yuan Liao" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yuan Liao" Message-ID: <1710942351.7861d7456dca04863e6de1885d89eda767e0c0b0.liaoyuan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/extension-manager/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gnome-extra/extension-manager/Manifest gnome-extra/extension-manager/extension-manager-0.5.0.ebuild X-VCS-Directories: gnome-extra/extension-manager/ X-VCS-Committer: liaoyuan X-VCS-Committer-Name: Yuan Liao X-VCS-Revision: 7861d7456dca04863e6de1885d89eda767e0c0b0 X-VCS-Branch: dev Date: Wed, 20 Mar 2024 13:49:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e492666-8115-416b-8a76-4868fe429c00 X-Archives-Hash: 1772de774510cd586a83ac2699056458 commit: 7861d7456dca04863e6de1885d89eda767e0c0b0 Author: Yuan Liao gmail com> AuthorDate: Wed Mar 20 13:45:51 2024 +0000 Commit: Yuan Liao gmail com> CommitDate: Wed Mar 20 13:45:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7861d745 gnome-extra/extension-manager: Add 0.5.0 Signed-off-by: Yuan Liao gmail.com> gnome-extra/extension-manager/Manifest | 1 + .../extension-manager-0.5.0.ebuild | 87 ++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/gnome-extra/extension-manager/Manifest b/gnome-extra/extension-manager/Manifest index cbc2f54295..b8efe9a95f 100644 --- a/gnome-extra/extension-manager/Manifest +++ b/gnome-extra/extension-manager/Manifest @@ -1 +1,2 @@ DIST extension-manager-0.4.3.tar.gz 1479403 BLAKE2B 5d183cf8af08b07878a65305f5b814f5e74a600a305845c9d953cb4debf8476e4e81e932dd645eb54e9c45e662c69c7f2c44e4e40698137d1724c23ab3b42e95 SHA512 036ee3f5c2b6e70e36060112744a760f7f6f29cd7dbc9eafa035942bb283b18b94d55c68285f5c546480e2683e2ceddb4f6e1d309002b18894bccb3b6b87a67d +DIST extension-manager-0.5.0.tar.gz 2246539 BLAKE2B 650033c0a61d7ee4b3b752c12d8474398990f86cdc66c02681c2a1255b4c3afb12db874e8591df6bb4749bf17f322cd20094b0cce35600f82fa6f2cf4ae3f752 SHA512 975f71c072b12358760439ab9254ed8967cfb9c9c8cd38e93d38db0fb8138e4911a7a63c924f8a62b46fbedc83246e156765f3be9e092096d8647d78a0e7717f diff --git a/gnome-extra/extension-manager/extension-manager-0.5.0.ebuild b/gnome-extra/extension-manager/extension-manager-0.5.0.ebuild new file mode 100644 index 0000000000..08c2dc6c97 --- /dev/null +++ b/gnome-extra/extension-manager/extension-manager-0.5.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 2022-2024 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://mattjakeman.com/apps/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.4.0:1[introspection] + gui-libs/text-engine + net-libs/libsoup:3.0 +" + +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-0.5.0-libadwaita-1.4.patch" +) + +src_configure() { + local emesonargs=( + -Dpackage="ebuild" + -Ddistributor="Gentoo GURU " + + # sys-libs/libbacktrace has been last-rited in ::gentoo + # and is thus unavailable + -Dbacktrace=false + ) + 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 +}