graphics/jpeg-xl: fix thumbnail generation

/usr/bin/gdk-pixbuf-thumbnailer: not found
This commit is contained in:
Jan Beich 2020-12-24 19:44:27 +00:00
parent 990e931580
commit 5b495fabc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559186

View file

@ -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