summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/dcraw')
-rw-r--r--media-gfx/dcraw/dcraw-9.28.0-r1.ebuild9
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"
}