commit: f9d56eaf2f5e6590c75c29c6e09eb5a607bb12ba Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> AuthorDate: Mon Feb 21 11:41:03 2022 +0000 Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com> CommitDate: Mon Feb 21 11:41:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f9d56eaf
gnome-extra/extension-manager: Sync live ebuilds Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> .../extension-manager-0.3.0_rc9999.ebuild | 68 ---------------------- .../extension-manager-9999.ebuild | 9 +++ 2 files changed, 9 insertions(+), 68 deletions(-) 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 deleted file mode 100644 index 06c1ffd71..000000000 --- a/gnome-extra/extension-manager/extension-manager-0.3.0_rc9999.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2022 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" - # TODO: Remove this variable when merging back to the PV="9999" ebuild - EGIT_BRANCH="prepare-$(ver_cut 1-2)" -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 and installing GNOME Shell Extensions" -HOMEPAGE="https://github.com/mjakeman/extension-manager" - -LICENSE="GPL-3+" -SLOT="0" - -IUSE="test" -# 'Validate appstream file' test case requires Internet connection -PROPERTIES="test_network" -RESTRICT="test" - -BDEPEND=" - dev-libs/glib:2 - dev-util/blueprint-compiler - virtual/pkgconfig - test? ( - dev-libs/appstream-glib - dev-util/desktop-file-utils - ) -" - -DEPEND=" - dev-libs/glib:2 - dev-libs/json-glib - gui-libs/gtk:4[introspection] - gui-libs/libadwaita:1[introspection] - net-libs/libsoup:3.0 -" - -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local emesonargs=() - if has live ${PROPERTIES}; then - # Produce a development build for live ebuild - emesonargs+=( -Ddevelopment=true ) - fi - meson_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/gnome-extra/extension-manager/extension-manager-9999.ebuild b/gnome-extra/extension-manager/extension-manager-9999.ebuild index c59138704..cd2cada33 100644 --- a/gnome-extra/extension-manager/extension-manager-9999.ebuild +++ b/gnome-extra/extension-manager/extension-manager-9999.ebuild @@ -46,6 +46,15 @@ RDEPEND=" ${DEPEND} " +src_configure() { + local emesonargs=() + if has live ${PROPERTIES}; then + # Produce a development build for live ebuild + emesonargs+=( -Ddevelopment=true ) + fi + meson_src_configure +} + pkg_postinst() { xdg_pkg_postinst gnome2_schemas_update