summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2022-06-23 20:05:11 +0000
committergdt <gdt@pkgsrc.org>2022-06-23 20:05:11 +0000
commit58e9828482b5473e02dc76a49d214f7548d26316 (patch)
treed9a69a533e6d7288fcb09397fb6335a3593494b5
parent7040240cfac96d03b575570be349c0c92f183cf1 (diff)
downloadpkgsrc-58e9828482b5473e02dc76a49d214f7548d26316.tar.gz
graphics/darktable: Depend on exiftool
darktable's build system looked for exiftool and if found installed extract_wb_from_images.sh, which broke the build on systems with exiftool. Rather than prevent finding exiftool or making it an option, just depend on it, because almost everyone who uses darktable will want exiftool anyway.
-rw-r--r--graphics/darktable/Makefile10
-rw-r--r--graphics/darktable/PLIST3
2 files changed, 10 insertions, 3 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 265c6dde842..a80aebe8c53 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.130 2022/06/23 07:12:40 nia Exp $
+# $NetBSD: Makefile,v 1.131 2022/06/23 20:05:11 gdt Exp $
DISTNAME= darktable-3.6.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=darktable-org/}
GITHUB_PROJECT= darktable
@@ -19,6 +19,7 @@ USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool msgfmt pkg-config bash:run
REPLACE_BASH+= tools/common.sh
+REPLACE_BASH+= tools/extract_wb_from_images.sh
REPLACE_BASH+= tools/purge_from_cache.sh
REPLACE_BASH+= tools/purge_non_existing_images.sh
REPLACE_BASH+= tools/purge_unused_tags.sh
@@ -63,6 +64,11 @@ CHECK_PORTABILITY_SKIP+= packaging/macosx/start
pre-configure:
${MKDIR} ${WRKDIR}/pkgsrc_build
+# exiftool presence controls whether a script is installed. It is
+# simplest to just depend, and almost everyone who would used
+# darktable would want exiftool anyway.
+DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
+
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.7.14.1nb1
.include "../../databases/sqlite3/buildlink3.mk"
diff --git a/graphics/darktable/PLIST b/graphics/darktable/PLIST
index cee32183c5d..a2f22955537 100644
--- a/graphics/darktable/PLIST
+++ b/graphics/darktable/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2021/11/30 13:00:15 cirnatdan Exp $
+@comment $NetBSD: PLIST,v 1.17 2022/06/23 20:05:11 gdt Exp $
bin/darktable
bin/darktable-chart
bin/darktable-cli
@@ -317,6 +317,7 @@ share/darktable/themes/darktable-icons-grey.css
share/darktable/themes/darktable-icons.css
share/darktable/themes/darktable.css
share/darktable/tools/common.sh
+share/darktable/tools/extract_wb_from_images.sh
share/darktable/tools/purge_from_cache.sh
share/darktable/tools/purge_non_existing_images.sh
share/darktable/tools/purge_unused_tags.sh