diff options
Diffstat (limited to 'media-gfx/scrot')
-rw-r--r-- | media-gfx/scrot/Manifest | 7 | ||||
-rw-r--r-- | media-gfx/scrot/files/scrot-1.7.bash-completion | 48 | ||||
-rw-r--r-- | media-gfx/scrot/scrot-1.12.ebuild (renamed from media-gfx/scrot/scrot-1.10.ebuild) | 21 | ||||
-rw-r--r-- | media-gfx/scrot/scrot-9999.ebuild | 8 |
4 files changed, 16 insertions, 68 deletions
diff --git a/media-gfx/scrot/Manifest b/media-gfx/scrot/Manifest index 63d4597dae54..4d3630b4137c 100644 --- a/media-gfx/scrot/Manifest +++ b/media-gfx/scrot/Manifest @@ -1,7 +1,6 @@ -AUX scrot-1.7.bash-completion 2622 BLAKE2B febdade3f2b5cb094d9162e66d3b0d0b8ad72659e33ca9b6c55c4888ef3122c8f16430cc5f74d32367ea7a74905e3c8c49e9570d996c1324ffd9b72f42e9f534 SHA512 c0a6ac7347164e007eef219b567a554b5aac91c4afdc585d2ed299f46880a46343e3aef83ad8fe50e090ed8521ca241b7e3661a59511064a43164fbe366e1ebb -DIST scrot-1.10.tar.bz2 156519 BLAKE2B ca1441823521d14559afe49ed36853bb5448cc5c2ee345ddb617324b63e8f599678cbdc94b862938017a62d2f5ceea3cae03f80e473e86cafc76dd34144d41bb SHA512 7a72b6d7ae350b0ec27b949934ff67cb8800f731f3dfc783bfdf66c4316b318118b8b46d98aca05543144b757c659791f4a9aeae43364277501238a405eda57d DIST scrot-1.11.1.tar.bz2 158007 BLAKE2B e0c8f166444bfdfbed41a5588036b861973c90d057e302f7bd35cf9630a9f0311735977632ba068c1b3542baed251a3d682da7d8f56c114880a425b3056a0692 SHA512 6a6435c6e0562a367d895f2d1c7a03b050f6588a5843376c5e33a5b8ef1b0b684390530f8c61c340b3f0928caeefb95d9df1f8fe0b145768c336685b1c8d8deb -EBUILD scrot-1.10.ebuild 1388 BLAKE2B e99af4ac52022803494f6ae62b004b8a3bb0c40c72300905908e759829ec222a3ce4c24213d3707e3e52664736df01ec120b0813363cd93ac7a25bd6db382042 SHA512 bef2cc2eba090e3a3b9549c7bd464784a1dc0c1ca7fd0b1b9b38de2a15407be66e6953859014ee15b292dec8b91ea37ce0e9c21b33c8a14256e5c32c2d23fa7b +DIST scrot-1.12.tar.bz2 158561 BLAKE2B 264b9a04bdccc1905998d8812c60e0ce25cd6395abf31bd4982601008ef2b6a269652ab8a12e24e1c34294358e7651fec464dd304fc085c5d1a07d06ea65f3d9 SHA512 6edc065048b0d4172b8fe7221583760cd1aa7a9f383f3f29de89a35f093ed66bb6c0847bb8a037ebd65a60cf750424574c8b8abb593ea29e3ae8e50677597686 EBUILD scrot-1.11.1.ebuild 1399 BLAKE2B 14729e3eacbfdf5d0ad4d3b09562a5f51941a7d272df8b228921e7a8ee88e7e46b1f8194f091894c83847ffbe157fe5f42184937025fd3942424d2fbfc149cb7 SHA512 70ca475e4010592ee65edf0ba608321a588c55df3bb4e5e08552f744b816edca5856e7e5f2eab3bf4564e43cbfbc14f0e157f2b7b6b335346ff44c07ebba927b -EBUILD scrot-9999.ebuild 1406 BLAKE2B 0e905c915114d19fb62db734ecd30c0e98c442bd2e11535b7ba7f210d18d439cc6b108666ceb3c895cccd24960ec9ad50d2ac17585ce3596a1af2e8ce6a581ce SHA512 cea86dab25f83a013a209be9bb16bbadcfb0b5d50bd67d9eedd13a22ec40d824ef0462a0738464a35d164d684aba8a8d7a2b72edfa091db25632eaaa94df2381 +EBUILD scrot-1.12.ebuild 1347 BLAKE2B 741fd2c4efd9bcbeca95cff7364c56711bb0bd56a0b281357b60f4a3a819894afbae515c6caeb5d6309650de658f3c68eba900398246b3be2034bd22501e1613 SHA512 16f29ac171c1dd4a6c26e77e0d70fa4d6fa8897f498e64e00c06f1605f995892381c3af45862ea5e676ac9a925b4adea4dba82977fc3eab2ca8aa5ca43953869 +EBUILD scrot-9999.ebuild 1347 BLAKE2B 741fd2c4efd9bcbeca95cff7364c56711bb0bd56a0b281357b60f4a3a819894afbae515c6caeb5d6309650de658f3c68eba900398246b3be2034bd22501e1613 SHA512 16f29ac171c1dd4a6c26e77e0d70fa4d6fa8897f498e64e00c06f1605f995892381c3af45862ea5e676ac9a925b4adea4dba82977fc3eab2ca8aa5ca43953869 MISC metadata.xml 486 BLAKE2B 49d843df52a3129520dc7f99058e4632bd2bef1239ae14f4ff49e315bb5d11536a2f384845c87ad69e9dcd1ccd363009f4d9b4b5d862aca69d59e5f6490573c9 SHA512 56297474babfd15627050a5d5e4ac885dcd6a9f9d861e708877c280b23251680700e006d58edf384d412df56b97ffaa5dc8d55ab1dedd34a9e4d3af1ed63980f diff --git a/media-gfx/scrot/files/scrot-1.7.bash-completion b/media-gfx/scrot/files/scrot-1.7.bash-completion deleted file mode 100644 index 06bc7ac7fad3..000000000000 --- a/media-gfx/scrot/files/scrot-1.7.bash-completion +++ /dev/null @@ -1,48 +0,0 @@ -# bash-completion script for scrot -# place this in /etc/bash_completion.d - -_scrot() { - local cur prev opts - COMPREPLY=() - cur=${COMP_WORDS[COMP_CWORD]} - prev=${COMP_WORDS[COMP_CWORD-1]} - opts=" - -h --help -v --version -a --autoselect -b --border -c --count -d - --delay -e --exec -q --quality -m --multidisp -s --select -u --focused - -t --thumb -z --silent -p --pointer -f --freeze -o --overwrite -l --line - -n --note -C --class -i --ignorekeyboard -F --file -shole --select=hole - -shide --select=hide -sblur --select=blur - " - - if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then - COMPREPLY=($(compgen -W "${opts}" -- "${cur}")) - fi - - case "${prev}" in - -h|--help) COMPREPLY=($(compgen -W "${opts/-h --help}" -- "${cur}")) ;; - -v|--version) COMPREPLY=($(compgen -W "${opts/-v --version}" -- "${cur}")) ;; - -a|--autoselect) COMPREPLY=($(compgen -W "${opts/-a --autoselect}" -- "${cur}")) ;; - -b|--border) COMPREPLY=($(compgen -W "${opts/-b --border}" -- "${cur}")) ;; - -c|--count) COMPREPLY=($(compgen -W "${opts/-c --count}" -- "${cur}")) ;; - -d|--delay) COMPREPLY=($(compgen -W "${opts/-d --delay}" -- "${cur}")) ;; - -e|--exec) COMPREPLY=($(compgen -A command -- "${cur}")) ;; - -q|--quality) COMPREPLY=($(compgen -W "${opts/-q --quality}" -- "${cur}")) ;; - -m|--multidisp) COMPREPLY=($(compgen -W "${opts/-m --multidisp}" -- "${cur}")) ;; - -s|--select) COMPREPLY=($(compgen -W "${opts/-s --select}" -- "${cur}")) ;; - -u|--focused) COMPREPLY=($(compgen -W "${opts/-u --focused}" -- "${cur}")) ;; - -t|--thumb) COMPREPLY=($(compgen -W "${opts/-t --thumb}" -- "${cur}")) ;; - -z|--silent) COMPREPLY=($(compgen -W "${opts/-z --silent}" -- "${cur}")) ;; - -p|--pointer) COMPREPLY=($(compgen -W "${opts/-p --pointer}" -- "${cur}")) ;; - -f|--freeze) COMPREPLY=($(compgen -W "${opts/-f --freeze}" -- "${cur}")) ;; - -o|--overwrite) COMPREPLY=($(compgen -W "${opts/-o --overwrite}" -- "${cur}")) ;; - -l|--line) COMPREPLY=($(compgen -W "${opts/-l --line}" -- "${cur}")) ;; - -n|--note) COMPREPLY=($(compgen -W "${opts/-n --note}" -- "${cur}")) ;; - -C|--class)COMPREPLY=($(compgen -W "${opts/-C --class}" -- "${cur}")) ;; - -i|--ignorekeyboard)COMPREPLY=($(compgen -W "${opts/-i --ignorekeyboard}" -- "${cur}")) ;; - -F|--file)COMPREPLY=($(compgen -W "${opts/-F --file}" -- "${cur}")) ;; - -shole|--select=hole)COMPREPLY=($(compgen -W "${opts/-shole --select=hole}" -- "${cur}")) ;; - -shide|--select=hide)COMPREPLY=($(compgen -W "${opts/-shide --select=hide}" -- "${cur}")) ;; - -sblur|--select=blur)COMPREPLY=($(compgen -W "${opts/-sblur --select=blur}" -- "${cur}")) ;; - esac -} -complete -F _scrot scrot diff --git a/media-gfx/scrot/scrot-1.10.ebuild b/media-gfx/scrot/scrot-1.12.ebuild index 81c77df2463a..7e9593120861 100644 --- a/media-gfx/scrot/scrot-1.10.ebuild +++ b/media-gfx/scrot/scrot-1.12.ebuild @@ -1,18 +1,19 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 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" @@ -20,29 +21,26 @@ SLOT="0" # imlib2[X] needed for imlib_create_image_from_drawable, bug #835582 # imlib2[png] not technically requried, but it's the default format used by -# scrot, so unconditionally depend on it to avoid breaking basic commands which -# don't specify an output format. +# scrot, so unconditionally depend on it to avoid breaking basic commands. RDEPEND=" - media-libs/imlib2[X,filters(+),text(+)] + media-libs/imlib2[X,png,filters(+),text(+)] x11-libs/libXext x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXfixes x11-libs/libXinerama - media-libs/imlib2[png] " 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 +52,6 @@ src_prepare() { src_install() { default - newbashcomp "${FILESDIR}"/${PN}-1.7.bash-completion ${PN} + dozshcomp etc/zsh-completion/_scrot + dobashcomp etc/bash-completion/scrot } diff --git a/media-gfx/scrot/scrot-9999.ebuild b/media-gfx/scrot/scrot-9999.ebuild index d383d2bfa6bc..7e9593120861 100644 --- a/media-gfx/scrot/scrot-9999.ebuild +++ b/media-gfx/scrot/scrot-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,16 +21,14 @@ SLOT="0" # imlib2[X] needed for imlib_create_image_from_drawable, bug #835582 # imlib2[png] not technically requried, but it's the default format used by -# scrot, so unconditionally depend on it to avoid breaking basic commands which -# don't specify an output format. +# scrot, so unconditionally depend on it to avoid breaking basic commands. RDEPEND=" - media-libs/imlib2[X,filters(+),text(+)] + media-libs/imlib2[X,png,filters(+),text(+)] x11-libs/libXext x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXfixes x11-libs/libXinerama - media-libs/imlib2[png] " DEPEND=" ${RDEPEND} |