Release 21.03.0: core: * Fix parsing text in some broken pdf files. Issue #1040 * Fix memory issue when using threads. Issue #1050 * TextSelectionDumper: Fix getText() for space after word * Change signature of OutputDev:tilingPatternFill * Make PDFDocBuilder return a std::unique_ptr * Improve well formed check for shading functions * Fix leak in case of fread failing * Fix memory leak in broken file in JBIG2Stream::readGenericBitmap * PSOutputDev: Fix stack overflow in broken files glib: * poppler_annot_free_text_get_callout_line: Fix wrong static cast * poppler-structure-element: fix memleak * Improve documentation * demo: keep same visual appearance between displayed and copied text utils: * pdftotext: Add -cropbox option * pdftoppm: Add -progress option * pdftoppm: Fix rounding bug in computation of output bitmap size. Issue #927 qt6: * Add missing poppler-qt6.pc.cmake PR: 253953 Exp-run by: antoine
72 lines
2.1 KiB
Makefile
72 lines
2.1 KiB
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= impressive
|
|
DISTVERSION= 0.13.0-beta2
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= SF/${PORTNAME}/Impressive/${DISTVERSION}/
|
|
DISTNAME= Impressive-${DISTVERSION}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Stylish way of giving presentations
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \
|
|
${PYGAME} \
|
|
${PY_PILLOW}
|
|
|
|
USES= python:3.5+ sdl shebangfix
|
|
USE_SDL= sdl
|
|
|
|
SHEBANG_FILES= impressive.py
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man1/${PORTNAME}.1.gz
|
|
|
|
PORTDOCS= ${PORTNAME}.html demo.pdf
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_GROUP= MULTIMEDIA PDFFEATURE
|
|
OPTIONS_MULTI= PDFENGINE
|
|
OPTIONS_DEFAULT=FFMPEG MPLAYER MUPDF PDFTK XDG
|
|
|
|
OPTIONS_GROUP_MULTIMEDIA= FFMPEG MPLAYER
|
|
OPTIONS_GROUP_PDFFEATURE= PDFTK XDG
|
|
OPTIONS_MULTI_PDFENGINE= GHOSTSCRIPT MUPDF POPPLER XPDF
|
|
|
|
FFMPEG_DESC= Optimize generation of video preview images
|
|
MPLAYER_DESC= Enable audio/video playback
|
|
PDFTK_DESC= Enable automatic extraction of PDF page titles
|
|
XDG_DESC= Enable web/e-mail hyperlinks in PDF files
|
|
GHOSTSCRIPT_DESC= Use Ghostscript for PDF rendering
|
|
MUPDF_DESC= Use MuPDF for PDF rendering
|
|
POPPLER_DESC= Use Poppler for PDF rendering
|
|
XPDF_DESC= Use Xpdf for PDF rendering
|
|
|
|
FFMPEG_IMPLIES= MPLAYER
|
|
GHOSTSCRIPT_IMPLIES= PDFTK
|
|
POPPLER_IMPLIES= PDFTK
|
|
XPDF_IMPLIES= PDFTK
|
|
|
|
FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg
|
|
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
|
|
PDFTK_RUN_DEPENDS= pdftk:print/pdftk
|
|
XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils
|
|
GHOSTSCRIPT_USES= ghostscript:run
|
|
MUPDF_RUN_DEPENDS= mupdf:graphics/mupdf
|
|
POPPLER_RUN_DEPENDS= pdftoppm:graphics/poppler-utils
|
|
XPDF_RUN_DEPENDS= ${LOCALBASE}/libexec/xpdf/pdftoppm:graphics/xpdf
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|