media-gfx/scrot: Version 1.3
authorJeroen Roovers <jer@gentoo.org>
Thu, 16 Apr 2020 04:29:23 +0000 (06:29 +0200)
committerJeroen Roovers <jer@gentoo.org>
Thu, 16 Apr 2020 04:29:39 +0000 (06:29 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
media-gfx/scrot/Manifest
media-gfx/scrot/scrot-1.3.ebuild [new file with mode: 0644]

index 06237c18879082115e47a2ce964d7e8e983e217f..d1023a912c384df11fbf667b04d8b0ab677a8c27 100644 (file)
@@ -1,3 +1,4 @@
 DIST scrot-1.2.tar.gz 36839 BLAKE2B 26ca05fb3c8fa9069ad87bdd5cc93791994e44e2f5cd7a4b729a6c9e3035c349049500b9627fd31532c280465f77f839370d095f1b0f2ccc10649b3e6fa01edb SHA512 b89e7a94e6317fdb7bd260190c6d68a2dfefc08691b4574337afdfff84f55b8b9c955a6ac60642ae9749c1deaa16bee7b855fbd15833a95f602536693daf8c37
+DIST scrot-1.3.tar.gz 141687 BLAKE2B b08b374ff92eac7e098752d7e09220629cca58d496cc9a2fa055f3d379c251c7c367bd0b1899161b46f40188f70992357f1102691d1caa7751f582bd4285fa66 SHA512 6f4c826fab20d5905456a7ec4039d610b7bd7a7a588fab5da03642eb254f315a45689de0ed1b7f6eb8ffffd082ca78f4b3d2222d751fa4928ee896bb6601806b
 DIST scrot_0.8-13.debian.tar.gz 7943 BLAKE2B 6c58c76f3a8dcf61a8ca4c31f5845cb27b4d0ed2bf9619cc8ea5824b5e42c66ee5163c7f4e76308763947b933003dbd3df6e641b0596ed342993343fd5418a75 SHA512 3f6d0a8e592088af38a3d90394b6b7246430479f5b0c8451af5eae383725d1896dc4bbf595495f9f2b546f00ef38780123c4ee0e3f06971c55a6ac2dfa5b7d53
 DIST scrot_0.8.orig.tar.gz 74324 BLAKE2B 56facc81c29f101279ffc6d5d323a0cecd32b1ff6d1d4bb2052a90703353a9ad5b6ab46c8840ed20834f976badab4258fbb0f031645d9689eef1b838ebd4b1a0 SHA512 cba8f589e45758ddbfe4e276399a1ecb0dbe29569be5d85d97733e7f64de2911bd2d03e62700ad0c718a1fc886c2e3def9dee1de5cac884f9e65e772cebe838c
diff --git a/media-gfx/scrot/scrot-1.3.ebuild b/media-gfx/scrot/scrot-1.3.ebuild
new file mode 100644 (file)
index 0000000..cdebc92
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools bash-completion-r1
+
+DESCRIPTION="Screen capture utility using imlib2 library"
+HOMEPAGE="https://github.com/resurrecting-open-source-projects/scrot"
+SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="feh LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+       >=media-libs/giblib-1.2.3
+       x11-libs/libX11
+       x11-libs/libXcursor
+       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
+"
+DOCS=(
+       AUTHORS ChangeLog CONTRIBUTING.md README.md TODO
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_install() {
+       default
+
+       newbashcomp "${FILESDIR}"/${PN}-1.2.bash-completion ${PN}
+}