Diff grim-1.4.1 with a grim-9999

/usr/portage/gui-apps/grim/grim-9999.ebuild 2025-07-29 16:22:14.292455168 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit bash-completion-r1 meson
6
inherit shell-completion meson
7 7

  
8 8
DESCRIPTION="Grab images from a Wayland compositor"
9
HOMEPAGE="https://sr.ht/~emersion/grim"
9
HOMEPAGE="https://gitlab.freedesktop.org/emersion/grim"
10 10

  
11 11
if [[ ${PV} == 9999 ]]; then
12 12
	inherit git-r3
13
	EGIT_REPO_URI="https://git.sr.ht/~emersion/${PN}"
13
	EGIT_REPO_URI="https://gitlab.freedesktop.org/emersion/grim.git"
14 14
else
15
	SRC_URI="https://git.sr.ht/~emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15
	SRC_URI="https://gitlab.freedesktop.org/emersion/grim/-/archive/v${PV}/grim-v${PV}.tar.bz2"
16 16
	S="${WORKDIR}/${PN}-v${PV}"
17
	KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
17
	KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
18 18
fi
19 19

  
20 20
LICENSE="MIT"
......
49 49
	meson_src_install
50 50

  
51 51
	newbashcomp contrib/completions/bash/grim.bash grim
52
	insinto /usr/share/fish/vendor_completions.d/
53
	doins contrib/completions/fish/grim.fish
52
	dofishcomp contrib/completions/fish/grim.fish
54 53
}
Thank you!