diff options
Diffstat (limited to 'media-gfx/scrot')
-rw-r--r-- | media-gfx/scrot/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/scrot/scrot-1.8.ebuild | 60 | ||||
-rw-r--r-- | media-gfx/scrot/scrot-9999.ebuild | 3 |
3 files changed, 64 insertions, 3 deletions
diff --git a/media-gfx/scrot/Manifest b/media-gfx/scrot/Manifest index 83cd60987860..8ad0b7c43789 100644 --- a/media-gfx/scrot/Manifest +++ b/media-gfx/scrot/Manifest @@ -1,6 +1,8 @@ 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.tar.gz 175453 BLAKE2B 2c6cd9c6d8ea7b2dbdfa4827af52ead01327556565d957c3fc37d8511aed3247b02e61f97e1d4136fc047062fa7ff5c01f2a12b290620d2a8572b813c73413b2 SHA512 64d74da0afb4249687b757206baca704911cab34e15e56e7328d259bdb2daf984c0cd5bcd0764c7688c4340b3453cac9d6af1ce750fa65c8d7a31992dff1fcea EBUILD scrot-1.7-r3.ebuild 1420 BLAKE2B 7be9689b2c7da17bdca5d3947d16c64a8355dd501175c5cf56ce3015f1ba47d2c9e2233359ded22d58bb0523d2026c45096ea496ce764de39bb6c9a5fc18c9a8 SHA512 77bec0b350ed47c2e3ff178af374ed22074d45f2225647c6cebc3820a686fec101a9cd6958cefffd8576109cf646b880a66a4836924339d6bbf78fe137c42f3d -EBUILD scrot-9999.ebuild 1276 BLAKE2B d5c6fdcf669205334e274a3785016c2b0c78ecf9404c511d4289d08df61d48069ec2d8a6aa184b82132349789b40ee40a1c70adbcc253df12449eebc6d38313d SHA512 c2eb6beeb7a8b6b8209df6b79e943a1ed28a9e5c8196a8a72eefa42ea027e21641f7a5c8cf1230bd6a12f1a86ce429bf8f65a8f35ebafffbadf6f7b047f7f28d +EBUILD scrot-1.8.ebuild 1275 BLAKE2B 4d11e61499ff6889d1febf627dc56457d6a462b94f7cf81e66e13a085df7a8c084ab609d9672f544a66ed129ac7ef87e82d1e95b6aefd4932b3e6db6df8915be SHA512 a476d78fd770230b74808a835162e56e1ba11ef47236c0c95ae37ba418d7322b1c3bb7e52155ecfefb12de9cbe7c014ee0a564b6c7203299209c91a0d5ebe4bd +EBUILD scrot-9999.ebuild 1275 BLAKE2B 4d11e61499ff6889d1febf627dc56457d6a462b94f7cf81e66e13a085df7a8c084ab609d9672f544a66ed129ac7ef87e82d1e95b6aefd4932b3e6db6df8915be SHA512 a476d78fd770230b74808a835162e56e1ba11ef47236c0c95ae37ba418d7322b1c3bb7e52155ecfefb12de9cbe7c014ee0a564b6c7203299209c91a0d5ebe4bd MISC metadata.xml 272 BLAKE2B 57b20f968b45b46bc686a75c4c121c11f67ea4628207fecbc093b2774e6f5bca3a1f5fb09af03aa8c8446dcd12f76e186d03de77dc2dd3ee544ed7995b82f0a6 SHA512 dc5f6095066e15f76bea7061eb33937cb8178abc6fbaeb13ce288aa5a65c1c73be970a8a5bb957a58fbb105d82dfb0919e4553c9aa563ce3dc374a26a18a2cca diff --git a/media-gfx/scrot/scrot-1.8.ebuild b/media-gfx/scrot/scrot-1.8.ebuild new file mode 100644 index 000000000000..a7f14945b8f4 --- /dev/null +++ b/media-gfx/scrot/scrot-1.8.ebuild @@ -0,0 +1,60 @@ +# 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 + || ( + 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} +} diff --git a/media-gfx/scrot/scrot-9999.ebuild b/media-gfx/scrot/scrot-9999.ebuild index a99487cdc4e9..a7f14945b8f4 100644 --- a/media-gfx/scrot/scrot-9999.ebuild +++ b/media-gfx/scrot/scrot-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,6 @@ if [[ ${PV} == *9999* ]] ; then 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 |