summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-15 13:42:23 +0100
committerSam James <sam@gentoo.org>2022-07-15 13:42:39 +0100
commitbcc30f5be6f74c69ae72d6bdc174c12097d8e12f (patch)
treeb10024ac02734b256a5d4c571b4a52078272479a /media-gfx
parentx11-misc/skippy: update EAPI 7 -> 8; fix build w/ newer imlib2 (diff)
downloadgentoo-bcc30f5be6f74c69ae72d6bdc174c12097d8e12f.tar.gz
gentoo-bcc30f5be6f74c69ae72d6bdc174c12097d8e12f.tar.bz2
gentoo-bcc30f5be6f74c69ae72d6bdc174c12097d8e12f.zip
media-gfx/scrot: fix imlib2 dep
Closes: https://bugs.gentoo.org/835582 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/scrot/scrot-1.7-r3.ebuild (renamed from media-gfx/scrot/scrot-1.7-r2.ebuild)4
-rw-r--r--media-gfx/scrot/scrot-9999.ebuild2
2 files changed, 5 insertions, 1 deletions
diff --git a/media-gfx/scrot/scrot-1.7-r2.ebuild b/media-gfx/scrot/scrot-1.7-r3.ebuild
index 43d345d6e260..89432c8217c9 100644
--- a/media-gfx/scrot/scrot-1.7-r2.ebuild
+++ b/media-gfx/scrot/scrot-1.7-r3.ebuild
@@ -10,7 +10,7 @@ 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
+ inherit git-r3
else
SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/releases/download/${PV}/${P}.tar.gz"
@@ -20,8 +20,10 @@ 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
diff --git a/media-gfx/scrot/scrot-9999.ebuild b/media-gfx/scrot/scrot-9999.ebuild
index 1052ef88647a..a99487cdc4e9 100644
--- a/media-gfx/scrot/scrot-9999.ebuild
+++ b/media-gfx/scrot/scrot-9999.ebuild
@@ -19,8 +19,10 @@ 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