diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-04-11 15:55:50 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-04-11 15:56:00 +0200 |
commit | 62992a2ff768dcf7037056d4633207a930c3705d (patch) | |
tree | 2fe06eb1224620063103ee05061ea8929fb9f0eb /media-gfx/dcraw | |
parent | app-editors/vim: Revert "vim-pager needs -minimal." (diff) | |
download | gentoo-62992a2ff768dcf7037056d4633207a930c3705d.tar.gz gentoo-62992a2ff768dcf7037056d4633207a930c3705d.tar.bz2 gentoo-62992a2ff768dcf7037056d4633207a930c3705d.zip |
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 <pacho@gentoo.org>
Diffstat (limited to 'media-gfx/dcraw')
-rw-r--r-- | media-gfx/dcraw/dcraw-9.28.0-r1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
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" } |