From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1418661-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 74E1A158094
	for <garchives@archives.gentoo.org>; Fri, 15 Jul 2022 12:45:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AF883E1033;
	Fri, 15 Jul 2022 12:45:00 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 909C3E1033
	for <gentoo-commits@lists.gentoo.org>; Fri, 15 Jul 2022 12:45:00 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 902F6341363
	for <gentoo-commits@lists.gentoo.org>; Fri, 15 Jul 2022 12:44:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EE4E64FB
	for <gentoo-commits@lists.gentoo.org>; Fri, 15 Jul 2022 12:44:57 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1657888959.bcc30f5be6f74c69ae72d6bdc174c12097d8e12f.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/scrot/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/scrot/scrot-1.7-r2.ebuild media-gfx/scrot/scrot-1.7-r3.ebuild media-gfx/scrot/scrot-9999.ebuild
X-VCS-Directories: media-gfx/scrot/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: bcc30f5be6f74c69ae72d6bdc174c12097d8e12f
X-VCS-Branch: master
Date: Fri, 15 Jul 2022 12:44:57 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 160f3e3a-467c-498e-8006-f103d0dbebf1
X-Archives-Hash: 13cc502c3e6d4e845060ed0f03fbf995

commit:     bcc30f5be6f74c69ae72d6bdc174c12097d8e12f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 12:42:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 12:42:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc30f5b

media-gfx/scrot: fix imlib2 dep

Closes: https://bugs.gentoo.org/835582
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/scrot/{scrot-1.7-r2.ebuild => scrot-1.7-r3.ebuild} | 4 +++-
 media-gfx/scrot/scrot-9999.ebuild                            | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-gfx/scrot/scrot-1.7-r2.ebuild b/media-gfx/scrot/scrot-1.7-r3.ebuild
similarity index 92%
rename from media-gfx/scrot/scrot-1.7-r2.ebuild
rename to 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