commit:     91a6498cf298c63dc6a3c75299f1123c3d89599a
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jun 22 13:34:14 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 07:39:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a6498c

media-gfx/scrot: add v1.11.1, rm v1.9

Signed-off-by: NRK <nrk <AT> disroot.org>
Closes: https://github.com/gentoo/gentoo/pull/37108
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/scrot/Manifest                                  |  2 +-
 media-gfx/scrot/{scrot-1.9.ebuild => scrot-1.11.1.ebuild} | 13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/media-gfx/scrot/Manifest b/media-gfx/scrot/Manifest
index 62b926c21a11..1e7abddd6265 100644
--- a/media-gfx/scrot/Manifest
+++ b/media-gfx/scrot/Manifest
@@ -1,2 +1,2 @@
 DIST scrot-1.10.tar.bz2 156519 BLAKE2B 
ca1441823521d14559afe49ed36853bb5448cc5c2ee345ddb617324b63e8f599678cbdc94b862938017a62d2f5ceea3cae03f80e473e86cafc76dd34144d41bb
 SHA512 
7a72b6d7ae350b0ec27b949934ff67cb8800f731f3dfc783bfdf66c4316b318118b8b46d98aca05543144b757c659791f4a9aeae43364277501238a405eda57d
-DIST scrot-1.9.tar.bz2 158710 BLAKE2B 
d823c0875a260ee9741e1c9038fe743e69d0afa83220448857d109dd3ebad9977f07871b25c6a4a979efdf2abd246a2facec91c5b0af01c47307dc6266c801d3
 SHA512 
ace3bcb26ecebc5bb139a6e011a562287be8f676f21211b540dd937ab2d4487047d3565d0aec84e099bd2c5c9b037d9044924b031f930dc45a3040df399a3312
+DIST scrot-1.11.1.tar.bz2 158007 BLAKE2B 
e0c8f166444bfdfbed41a5588036b861973c90d057e302f7bd35cf9630a9f0311735977632ba068c1b3542baed251a3d682da7d8f56c114880a425b3056a0692
 SHA512 
6a6435c6e0562a367d895f2d1c7a03b050f6588a5843376c5e33a5b8ef1b0b684390530f8c61c340b3f0928caeefb95d9df1f8fe0b145768c336685b1c8d8deb

diff --git a/media-gfx/scrot/scrot-1.9.ebuild 
b/media-gfx/scrot/scrot-1.11.1.ebuild
similarity index 80%
rename from media-gfx/scrot/scrot-1.9.ebuild
rename to media-gfx/scrot/scrot-1.11.1.ebuild
index 81c77df2463a..d383d2bfa6bc 100644
--- a/media-gfx/scrot/scrot-1.9.ebuild
+++ b/media-gfx/scrot/scrot-1.11.1.ebuild
@@ -3,16 +3,17 @@
 
 EAPI=8
 
-inherit bash-completion-r1
+inherit shell-completion
 
 DESCRIPTION="Screen capture utility using imlib2 library"
 HOMEPAGE="https://github.com/resurrecting-open-source-projects/scrot";
 if [[ ${PV} == *9999* ]] ; then
        
EGIT_REPO_URI="https://github.com/resurrecting-open-source-projects/${PN}";
        inherit autotools git-r3
+       LIVE_BDEPEND="dev-build/autoconf-archive"
 else
        
SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/releases/download/${PV}/${P}.tar.bz2";
-       KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc 
~x86"
 fi
 
 LICENSE="feh"
@@ -34,15 +35,14 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
        x11-base/xorg-proto
-       elibc_musl? ( sys-libs/queue-standalone )
 "
 BDEPEND="
-       dev-build/autoconf-archive
+       ${LIVE_BDEPEND}
        virtual/pkgconfig
 "
 
 DOCS=(
-       AUTHORS ChangeLog README.md
+       AUTHORS ChangeLog README.md FAQ.md
 )
 
 src_prepare() {
@@ -54,5 +54,6 @@ src_prepare() {
 src_install() {
        default
 
-       newbashcomp "${FILESDIR}"/${PN}-1.7.bash-completion ${PN}
+       dozshcomp  etc/zsh-completion/_scrot
+       dobashcomp etc/bash-completion/scrot
 }

Reply via email to