summaryrefslogtreecommitdiff
path: root/media-gfx/scrot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-11 11:38:54 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-11 11:38:54 +0100
commit9d8d34d0eedfd7319f905092519980bf1b4ce3e5 (patch)
tree75f96ca3abc9e54aeb3960716b735719c2447b6a /media-gfx/scrot
parentd6260e76da0a436affc6839e470dd8619841cadc (diff)
gentoo auto-resync : 11:04:2023 - 11:38:54
Diffstat (limited to 'media-gfx/scrot')
-rw-r--r--media-gfx/scrot/Manifest4
-rw-r--r--media-gfx/scrot/scrot-1.9.ebuild61
-rw-r--r--media-gfx/scrot/scrot-9999.ebuild2
3 files changed, 65 insertions, 2 deletions
diff --git a/media-gfx/scrot/Manifest b/media-gfx/scrot/Manifest
index 8892224ef692..3bf68894bb21 100644
--- a/media-gfx/scrot/Manifest
+++ b/media-gfx/scrot/Manifest
@@ -1,5 +1,7 @@
AUX scrot-1.7.bash-completion 2622 BLAKE2B febdade3f2b5cb094d9162e66d3b0d0b8ad72659e33ca9b6c55c4888ef3122c8f16430cc5f74d32367ea7a74905e3c8c49e9570d996c1324ffd9b72f42e9f534 SHA512 c0a6ac7347164e007eef219b567a554b5aac91c4afdc585d2ed299f46880a46343e3aef83ad8fe50e090ed8521ca241b7e3661a59511064a43164fbe366e1ebb
DIST scrot-1.8.1.tar.gz 178856 BLAKE2B c7c6a5169112d38f1b919c651f5b5d99abd3adcf7bdbffd971c358b3c691297ff3bca6e7d82a0fa4e63323ee50651b477f7daab2ea383eb161446b41cd75516d SHA512 a93b3ce0fc690687b50d9b06d93b30528c26f3ee0b63d16895280d0df092fea022105a6d1aa60cf58c125a5b63eda841e089123d589354901b3ed6e063b76d86
+DIST scrot-1.9.tar.bz2 158710 BLAKE2B d823c0875a260ee9741e1c9038fe743e69d0afa83220448857d109dd3ebad9977f07871b25c6a4a979efdf2abd246a2facec91c5b0af01c47307dc6266c801d3 SHA512 ace3bcb26ecebc5bb139a6e011a562287be8f676f21211b540dd937ab2d4487047d3565d0aec84e099bd2c5c9b037d9044924b031f930dc45a3040df399a3312
EBUILD scrot-1.8.1-r2.ebuild 1310 BLAKE2B d18f2944a66b00c47647ed9abe0b4e82a18bd5e5eab1c12818acbf048219b4b16ee00d60c07d2e10db3598c21228b009f0060a9e7463f5216743814608fb6932 SHA512 a356fda7f7b1890970cbe5ba53294ae43dbe183c85442f12578ee8e2252e04921af9aa9569ba41c8301eaa6a377905d6b127f0051f803c6f8431bcbc9707dbeb
-EBUILD scrot-9999.ebuild 1316 BLAKE2B 4d9a44def451105026f3b93c1affec02b1574cbf289210a63f1a70cc7aa21440febd7bffd47942ff2214829e2c0dd676971ff64ebf10826f24beda7d36d64117 SHA512 8b8ebd9e5ed432647ac1b9ee09c7f554fad1849f7782dcfe3c294dafa890ff72e4dd502f7aa980e0a506b7dad6e5f90976b7467d1f6fe8a1385a9ac18bfc2501
+EBUILD scrot-1.9.ebuild 1317 BLAKE2B 39028729772a033fa604c8a01c500f0e276e4ddb64ed08c65b05750a97cda57fcc2050532e715e4e3b13f962d2ea36c8353f6bc51265ab88f15431ba114a8179 SHA512 ae975f118430becc4888b88357334fa943ac99e2e6d80901ded2aede01f8d1c0f7ffb6aaa0474599c70e41d91e568bee1992bc65aa0a5f0e7de82eee2fa711ab
+EBUILD scrot-9999.ebuild 1317 BLAKE2B 39028729772a033fa604c8a01c500f0e276e4ddb64ed08c65b05750a97cda57fcc2050532e715e4e3b13f962d2ea36c8353f6bc51265ab88f15431ba114a8179 SHA512 ae975f118430becc4888b88357334fa943ac99e2e6d80901ded2aede01f8d1c0f7ffb6aaa0474599c70e41d91e568bee1992bc65aa0a5f0e7de82eee2fa711ab
MISC metadata.xml 272 BLAKE2B 57b20f968b45b46bc686a75c4c121c11f67ea4628207fecbc093b2774e6f5bca3a1f5fb09af03aa8c8446dcd12f76e186d03de77dc2dd3ee544ed7995b82f0a6 SHA512 dc5f6095066e15f76bea7061eb33937cb8178abc6fbaeb13ce288aa5a65c1c73be970a8a5bb957a58fbb105d82dfb0919e4553c9aa563ce3dc374a26a18a2cca
diff --git a/media-gfx/scrot/scrot-1.9.ebuild b/media-gfx/scrot/scrot-1.9.ebuild
new file mode 100644
index 000000000000..4cde5c2086b1
--- /dev/null
+++ b/media-gfx/scrot/scrot-1.9.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.bz2"
+ 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,filters(+),text(+)]
+ 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}
+}
diff --git a/media-gfx/scrot/scrot-9999.ebuild b/media-gfx/scrot/scrot-9999.ebuild
index f8c2de9e5910..4cde5c2086b1 100644
--- a/media-gfx/scrot/scrot-9999.ebuild
+++ b/media-gfx/scrot/scrot-9999.ebuild
@@ -11,7 +11,7 @@ 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"
+ 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"
fi