commit:     823e973623e2f3807c5fc2f86f0417c0b6b5f941
Author:     sqrtd <v <AT> sqrtd <DOT> dev>
AuthorDate: Sun Mar  5 17:05:31 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 05:33:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823e9736

gui-apps/grim: update HOMEPAGE/EGIT_REPO_URI and metadata.xml

upstream was moved to https://git.sr.ht/~emersion/grim

Signed-off-by: sqrtd <v <AT> sqrtd.dev>
Closes: https://github.com/gentoo/gentoo/pull/29943
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 gui-apps/grim/grim-1.4.0-r1.ebuild | 4 ++--
 gui-apps/grim/grim-1.4.0-r3.ebuild | 4 ++--
 gui-apps/grim/grim-9999.ebuild     | 5 +++--
 gui-apps/grim/metadata.xml         | 4 ++--
 4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/gui-apps/grim/grim-1.4.0-r1.ebuild 
b/gui-apps/grim/grim-1.4.0-r1.ebuild
index 71e6455cca6a..a3bbdf2d9a17 100644
--- a/gui-apps/grim/grim-1.4.0-r1.ebuild
+++ b/gui-apps/grim/grim-1.4.0-r1.ebuild
@@ -6,11 +6,11 @@ EAPI=8
 inherit bash-completion-r1 meson
 
 DESCRIPTION="Grab images from a Wayland compositor"
-HOMEPAGE="https://github.com/emersion/grim";
+HOMEPAGE="https://sr.ht/~emersion/grim";
 
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="https://github.com/emersion/${PN}.git";
+       EGIT_REPO_URI="https://git.sr.ht/~emersion/${PN}";
 else
        SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"

diff --git a/gui-apps/grim/grim-1.4.0-r3.ebuild 
b/gui-apps/grim/grim-1.4.0-r3.ebuild
index 11d407ffb990..c7d894147e60 100644
--- a/gui-apps/grim/grim-1.4.0-r3.ebuild
+++ b/gui-apps/grim/grim-1.4.0-r3.ebuild
@@ -6,11 +6,11 @@ EAPI=8
 inherit bash-completion-r1 meson
 
 DESCRIPTION="Grab images from a Wayland compositor"
-HOMEPAGE="https://github.com/emersion/grim";
+HOMEPAGE="https://sr.ht/~emersion/grim";
 
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="https://github.com/emersion/${PN}.git";
+       EGIT_REPO_URI="https://git.sr.ht/~emersion/${PN}";
 else
        SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"

diff --git a/gui-apps/grim/grim-9999.ebuild b/gui-apps/grim/grim-9999.ebuild
index 11d407ffb990..654a78d5cc27 100644
--- a/gui-apps/grim/grim-9999.ebuild
+++ b/gui-apps/grim/grim-9999.ebuild
@@ -6,14 +6,15 @@ EAPI=8
 inherit bash-completion-r1 meson
 
 DESCRIPTION="Grab images from a Wayland compositor"
-HOMEPAGE="https://github.com/emersion/grim";
+HOMEPAGE="https://sr.ht/~emersion/grim";
 
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="https://github.com/emersion/${PN}.git";
+       EGIT_REPO_URI="https://git.sr.ht/~emersion/${PN}";
 else
        SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+       S="${WORKDIR}/${PN}-v${PV}"
 fi
 
 LICENSE="MIT"

diff --git a/gui-apps/grim/metadata.xml b/gui-apps/grim/metadata.xml
index 500fe7782da6..c6ed50670b26 100644
--- a/gui-apps/grim/metadata.xml
+++ b/gui-apps/grim/metadata.xml
@@ -10,7 +10,7 @@
        </use>
        <upstream>
                <remote-id type="sourcehut">~emersion/grim</remote-id>
-               <bugs-to>https://github.com/emersion/grim/issues</bugs-to>
-               <changelog>https://github.com/emersion/grim/releases</changelog>
+               <bugs-to>https://todo.sr.ht/~emersion/grim</bugs-to>
+               <changelog>https://git.sr.ht/~emersion/grim/refs</changelog>
        </upstream>
 </pkgmetadata>

Reply via email to