diff --git a/graphics/gowall/Makefile b/graphics/gowall/Makefile index 74baea046721..095b83129643 100644 --- a/graphics/gowall/Makefile +++ b/graphics/gowall/Makefile @@ -1,54 +1,54 @@ PORTNAME= gowall DISTVERSIONPREFIX= v DISTVERSION= 0.2.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MAINTAINER= nxjoseph@protonmail.com COMMENT= Versatile tool to process images WWW= https://github.com/Achno/gowall LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libffi.so:devel/libffi \ libmupdf.so:graphics/mupdf RUN_DEPENDS= xdg-open:devel/xdg-utils USES= go:modules GO_MODULE= github.com/Achno/${PORTNAME} CGO_LDFLAGS+= -lmupdf -lffi # utils/error.go:15:18: non-constant format string in call to ... TESTING_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFAULT= PNGQUANT PREVIEW UPSCALE OPTIONS_GROUP= COMPRESSION FEATURES OCR OPTIONS_GROUP_COMPRESSION= PNGQUANT OPTIONS_GROUP_FEATURES= PREVIEW UPSCALE OPTIONS_GROUP_OCR= TESSERACT PNGQUANT_DESC= Install pngquant PNG image compression method PREVIEW_DESC= Install chafa for image previewing support in terminal TESSERACT_DESC= Install Tesseract OCR Engine for extracting text from an image or pdf UPSCALE_DESC= Install upscaler for upscaling and enhancing images PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant PREVIEW_RUN_DEPENDS= chafa:graphics/chafa TESSERACT_RUN_DEPENDS= tesseract:graphics/tesseract UPSCALE_RUN_DEPENDS= upscaler:graphics/upscaler post-patch: @${REINPLACE_CMD} -e '23s,([^()]*),("${LOCALBASE}/bin"),g' \ ${WRKSRC}/internal/image/upscale.go .include .if ${ARCH} == "i386" EXTRA_PATCHES= ${PATCHDIR}/i386/extra-patch-vendor_github.com_gen2brain_go-fitz_fitz__cgo.go .endif .include diff --git a/graphics/zathura-pdf-mupdf/Makefile b/graphics/zathura-pdf-mupdf/Makefile index 477fcd99e9d3..f13d6a011222 100644 --- a/graphics/zathura-pdf-mupdf/Makefile +++ b/graphics/zathura-pdf-mupdf/Makefile @@ -1,38 +1,39 @@ PORTNAME= zathura-pdf-mupdf DISTVERSION= 0.4.6 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://pwmt.org/projects/zathura-pdf-mupdf/download/ MAINTAINER= uzsolt@FreeBSD.org COMMENT= MuPDF render PDF plugin for Zathura PDF viewer WWW= https://pwmt.org/projects/zathura-pdf-mupdf/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= appstreamcli:devel/appstream \ zathura:graphics/zathura LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgirara-gtk3.so:x11-toolkits/girara \ libmupdf.so:graphics/mupdf RUN_DEPENDS= zathura:graphics/zathura USES= compiler:c++17-lang desktop-file-utils gnome jpeg localbase \ meson pkgconfig tar:xz USE_GNOME= cairo glib20 CONFLICTS_INSTALL= zathura-pdf-poppler #MESON_ARGS= -Dlink-external=true PLIST_FILES= lib/zathura/libpdf-mupdf.so \ share/applications/org.pwmt.zathura-pdf-mupdf.desktop \ share/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml post-patch: ${REINPLACE_CMD} "s@\(cc.find_library(.*\))@\1,dirs:'${PREFIX}/lib')@" \ ${WRKSRC}/meson.build ${REINPLACE_CMD} "s@join_paths(datadir, \ 'metainfo')@join_paths(datadir, 'appdata')@" ${WRKSRC}/meson.build .include diff --git a/print/sioyek/Makefile b/print/sioyek/Makefile index 604896c91836..f5b386f4f4a6 100644 --- a/print/sioyek/Makefile +++ b/print/sioyek/Makefile @@ -1,44 +1,44 @@ PORTNAME= sioyek DISTVERSIONPREFIX= v DISTVERSION= 2.0.0.20250513 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MAINTAINER= fuz@FreeBSD.org COMMENT= PDF viewer with focus on technical books and research papers WWW= https://sioyek.info LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libmupdf.so:graphics/mupdf \ libharfbuzz.so:print/harfbuzz \ libfreetype.so:print/freetype2 \ libjbig2dec.so:graphics/jbig2dec \ libmujs.so:lang/mujs \ libopenjp2.so:graphics/openjpeg \ libsynctex.so:devel/tex-synctex USES= desktop-file-utils jpeg gl qmake qt:6 sqlite USE_GITHUB= yes GH_ACCOUNT= ahrm GH_TAGNAME= eb03410682f70fa27cbe2f9ec3bf59ac086457d7 USE_GL= gl USE_QT= 3d speech post-extract: .for f in sqlite3.h sqlite3ext.h sqlite3.c shell.c ${RM} ${WRKSRC}/pdf_viewer/$f .endfor pre-configure: ${REINPLACE_CMD} -e 's,%%ETCDIR%%,${ETCDIR},' \ -e 's,%%DATADIR%%,${DATADIR},' ${WRKSRC}/pdf_viewer/main.cpp post-install: .for f in keys prefs ${MV} ${STAGEDIR}${ETCDIR}/$f.config ${STAGEDIR}${ETCDIR}/$f.config.sample .endfor ${INSTALL_MAN} ${WRKSRC}/resources/sioyek.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include