diff options
Diffstat (limited to 'media-gfx/scrot')
-rw-r--r-- | media-gfx/scrot/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/scrot/scrot-1.8.1.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/media-gfx/scrot/Manifest b/media-gfx/scrot/Manifest index d60197f23aa7..70b7f8499929 100644 --- a/media-gfx/scrot/Manifest +++ b/media-gfx/scrot/Manifest @@ -1,8 +1,10 @@ AUX scrot-1.7-fix-docdir.patch 1794 BLAKE2B b55621bbf24cca877c9d50119bb0eeaf40e5372c9ff5b21c0de1620f37deb2c6d6a069b16355c01844387709f475e29a97f66bdc4b1aaea84cbeafc9ff46119b SHA512 4b28c1458bebb22b1d6dfdbfe2478e0e829a73f641b1b7b5b8140bee4d7384f84d3d7b538f0a7b9f89a824bd255af1158611fd7a3f8787797a111641e2dfeaff AUX scrot-1.7.bash-completion 2622 BLAKE2B febdade3f2b5cb094d9162e66d3b0d0b8ad72659e33ca9b6c55c4888ef3122c8f16430cc5f74d32367ea7a74905e3c8c49e9570d996c1324ffd9b72f42e9f534 SHA512 c0a6ac7347164e007eef219b567a554b5aac91c4afdc585d2ed299f46880a46343e3aef83ad8fe50e090ed8521ca241b7e3661a59511064a43164fbe366e1ebb DIST scrot-1.7.tar.gz 178463 BLAKE2B 021c68c5ebd19ec08c072cff73fe1ebb7ffd179dfcde6e13656779e2ee1357cf0fdbba1d4beb2fc5dc9c8c4cd28008acaa462068eec3192cea6687ac58cd653a SHA512 3ef2b547d561a85213ef0075af3034020f00168253d3b84ef94578f0b8534f9a7389c808f8fcd0c619358a14f41601fee407d08d63c397b9892ba9fc2db23f88 +DIST scrot-1.8.1.tar.gz 178856 BLAKE2B c7c6a5169112d38f1b919c651f5b5d99abd3adcf7bdbffd971c358b3c691297ff3bca6e7d82a0fa4e63323ee50651b477f7daab2ea383eb161446b41cd75516d SHA512 a93b3ce0fc690687b50d9b06d93b30528c26f3ee0b63d16895280d0df092fea022105a6d1aa60cf58c125a5b63eda841e089123d589354901b3ed6e063b76d86 DIST scrot-1.8.tar.gz 175453 BLAKE2B 2c6cd9c6d8ea7b2dbdfa4827af52ead01327556565d957c3fc37d8511aed3247b02e61f97e1d4136fc047062fa7ff5c01f2a12b290620d2a8572b813c73413b2 SHA512 64d74da0afb4249687b757206baca704911cab34e15e56e7328d259bdb2daf984c0cd5bcd0764c7688c4340b3453cac9d6af1ce750fa65c8d7a31992dff1fcea EBUILD scrot-1.7-r3.ebuild 1420 BLAKE2B 7be9689b2c7da17bdca5d3947d16c64a8355dd501175c5cf56ce3015f1ba47d2c9e2233359ded22d58bb0523d2026c45096ea496ce764de39bb6c9a5fc18c9a8 SHA512 77bec0b350ed47c2e3ff178af374ed22074d45f2225647c6cebc3820a686fec101a9cd6958cefffd8576109cf646b880a66a4836924339d6bbf78fe137c42f3d EBUILD scrot-1.8-r1.ebuild 1297 BLAKE2B 28a93d07aa9b72f42d80046c98c66f4c0251169c616ed863618b3d260df26281e5fbce6b981134a0f060e5171c50e652dd43cbd9b0ba62f52adbc0003565cf47 SHA512 563d987b837fd8e7fe61a1b9e781ef2ba9cec78143f52115648b12cd69c985a230dadf04fd43fac2d99ba3916d3df04be595c706addb8c73dc0b434ef0d12a23 +EBUILD scrot-1.8.1.ebuild 1297 BLAKE2B 28a93d07aa9b72f42d80046c98c66f4c0251169c616ed863618b3d260df26281e5fbce6b981134a0f060e5171c50e652dd43cbd9b0ba62f52adbc0003565cf47 SHA512 563d987b837fd8e7fe61a1b9e781ef2ba9cec78143f52115648b12cd69c985a230dadf04fd43fac2d99ba3916d3df04be595c706addb8c73dc0b434ef0d12a23 EBUILD scrot-9999.ebuild 1297 BLAKE2B 28a93d07aa9b72f42d80046c98c66f4c0251169c616ed863618b3d260df26281e5fbce6b981134a0f060e5171c50e652dd43cbd9b0ba62f52adbc0003565cf47 SHA512 563d987b837fd8e7fe61a1b9e781ef2ba9cec78143f52115648b12cd69c985a230dadf04fd43fac2d99ba3916d3df04be595c706addb8c73dc0b434ef0d12a23 MISC metadata.xml 272 BLAKE2B 57b20f968b45b46bc686a75c4c121c11f67ea4628207fecbc093b2774e6f5bca3a1f5fb09af03aa8c8446dcd12f76e186d03de77dc2dd3ee544ed7995b82f0a6 SHA512 dc5f6095066e15f76bea7061eb33937cb8178abc6fbaeb13ce288aa5a65c1c73be970a8a5bb957a58fbb105d82dfb0919e4553c9aa563ce3dc374a26a18a2cca diff --git a/media-gfx/scrot/scrot-1.8.1.ebuild b/media-gfx/scrot/scrot-1.8.1.ebuild new file mode 100644 index 000000000000..858ee4b9038c --- /dev/null +++ b/media-gfx/scrot/scrot-1.8.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +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 +else + SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="feh LGPL-2+" +SLOT="0" + +# imlib2[X] needed for imlib_create_image_from_drawable, bug #835582 +RDEPEND=" + dev-libs/libbsd + media-libs/imlib2[X] + x11-libs/libXext + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXfixes + x11-libs/libXinerama + || ( + media-libs/imlib2[gif] + media-libs/imlib2[jpeg] + media-libs/imlib2[png] + media-libs/imlib2[tiff] + ) +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + elibc_musl? ( sys-libs/queue-standalone ) +" +BDEPEND=" + sys-devel/autoconf-archive + virtual/pkgconfig +" + +DOCS=( + AUTHORS ChangeLog README.md +) + +src_prepare() { + default + + [[ ${PV} == *9999* ]] && eautoreconf +} + +src_install() { + default + + newbashcomp "${FILESDIR}"/${PN}-1.7.bash-completion ${PN} +} |