commit:     0804f1eb4baf092f24c012715fa6310b16738e34
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 07:55:31 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 07:58:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0804f1eb

sys-apps/system-monitoring-center: enable live

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../system-monitoring-center-2.17.1.ebuild                   | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git 
a/sys-apps/system-monitoring-center/system-monitoring-center-2.17.1.ebuild 
b/sys-apps/system-monitoring-center/system-monitoring-center-2.17.1.ebuild
index 1274d6fa96c9..454faee2164e 100644
--- a/sys-apps/system-monitoring-center/system-monitoring-center-2.17.1.ebuild
+++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.17.1.ebuild
@@ -9,12 +9,18 @@ inherit meson python-single-r1 xdg
 
 DESCRIPTION="Multi-featured system monitor GUI written in Python"
 HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/";
-SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz
-       -> ${P}.tar.gz"
+
+if [[ ${PV} == *9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git";
+else
+       
SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="

Reply via email to