mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Release 0.84.0: core: * Fix crash when converting from Unicode to ASCII-7 * Splash::scaleImageYdXu: Protect against crash if srcWidth is too big * JBIG2Stream: fix potential crash in malformed documents * JBIG2Stream: fix leak in reset() if called several times * Internal code improvements utils: * pdfimages: Add error message if first page is larger then number of pages. * pdfinfo: Improved paper size recognition * pdfsig: Fix exit code when dumping signatures * pdftocairo: Error out when even/odd selects 0 pages * pdftohtml: Fix memory leak * pdftoppm: Add an option to scale before rotate * pdftoppm: Add -hide-annotations option * pdftoppm: Error out when even/odd selects 0 pages * pdftops: Improve -optimizecolorspace qt5: * Code cleanups glib: * Fix compiler warnings Release 0.83.0 core: * Improve when a file is recognized as Linearized * Improve const-ness of the code * Make code a bit more readable/maintanable * Fix uninitialized memory uses in broken files utils: * pdffonts: Make code a bit more readable/maintanable * pdftohtml: Make code a bit more readable/maintanable qt5: * Remove a bunch of unused internal functions * trUtf8 -> tr (less warnings) build system: * make-glib-api-docs: switch to python3 PR: 243433 Exp-run by: antoine
30 lines
713 B
Makefile
30 lines
713 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= python-poppler-qt5
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.75.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= m.ne@gmx.net
|
|
COMMENT= Python bindings for the Poppler-Qt PDF rendering library
|
|
|
|
LICENSE= LGPL21 LGPL3
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5
|
|
|
|
USES= compiler:c++11-lang pkgconfig pyqt:5 python:3.4+ qmake qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wbsoft
|
|
USE_PYQT= gui xml sip_build
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
PYDISTUTILS_BUILD_TARGET= build_ext
|
|
PYDISTUTILS_BUILDARGS+= --pyqt-sip-dir=${PYQT_SIPDIR}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so
|
|
|
|
.include <bsd.port.mk>
|