From 62992a2ff768dcf7037056d4633207a930c3705d Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Thu, 11 Apr 2019 15:55:50 +0200 Subject: media-gfx/dcraw: Apply patch only with USE gimp That sources files are only present with USE gimp Thanks-to: Kobboi Closes: https://bugs.gentoo.org/683090 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos --- media-gfx/dcraw/dcraw-9.28.0-r1.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'media-gfx') diff --git a/media-gfx/dcraw/dcraw-9.28.0-r1.ebuild b/media-gfx/dcraw/dcraw-9.28.0-r1.ebuild index dbd2794f170d..565f2e82da45 100644 --- a/media-gfx/dcraw/dcraw-9.28.0-r1.ebuild +++ b/media-gfx/dcraw/dcraw-9.28.0-r1.ebuild @@ -45,11 +45,6 @@ DOC_CONTENTS=" camera formats that have them, and shows table contents. " -PATCHES=( - # Support gimp-2.10, bug #655390 - "${FILESDIR}"/${PN}-9.28.0-gimp-2.10.patch -) - run_build() { einfo "${@}" ${@} || die @@ -57,6 +52,10 @@ run_build() { src_prepare() { default + + # Support gimp-2.10, bug #655390 + use gimp && eapply "${FILESDIR}"/${PN}-9.28.0-gimp-2.10.patch + rename dcraw_ dcraw. dcraw_*.1 || die "Failed to rename" } -- cgit v1.2.3