summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-12-24 19:44:27 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-12-24 19:44:27 +0000
commit5b495fabc4d4119c429a7c939cfea9ecda57bad1 (patch)
treed26eec7fde5a869eabb1a84e05af9aa30484a9d6 /graphics
parentdevel/rubygem-ruby-fogbugz021: oops, this is needed, undeprecate (diff)
graphics/jpeg-xl: fix thumbnail generation
/usr/bin/gdk-pixbuf-thumbnailer: not found
Notes
Notes: svn path=/head/; revision=559186
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jpeg-xl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/jpeg-xl/Makefile b/graphics/jpeg-xl/Makefile
index 65bb0e8c6bc7..70c7089f8148 100644
--- a/graphics/jpeg-xl/Makefile
+++ b/graphics/jpeg-xl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= jpeg-xl
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.1
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= jbeich@FreeBSD.org
@@ -64,6 +65,10 @@ TEST_USES= localbase:ldflags
TEST_CMAKE_BOOL= BUILD_TESTING
TEST_TEST_TARGET= test
+post-patch:
+ @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \
+ ${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer
+
# pkg_check_modules doesn't support CMAKE_DISABLE_*
post-patch-GIMP-off:
@${REINPLACE_CMD} -i.nogimp '/gimp/d' ${WRKSRC}/plugins/CMakeLists.txt