pkgsrc/print/poppler-qt5/Makefile
nia f00a09dfcc poppler: Update to 0.81.0
pkgsrc changes:

to avoid adding a new dependency on boost, poppler now uses cairo as
the default graphics backend. the qt5 package seems to require splash (?)
so that one gets a new boost dependency.

we could also avoid it by forcing cmake detection to fail, but in this
case it prints a warning about performance losses.

Release 0.81.0:
        core:
         * Splash: Always enable support for CMYK rasterization
         * CairoOutputDev: Check scaled dimensions for 0. Issue #737
         * BaseCryptStream: Fix potential uninitialized memory read
         * SplashBitmap: Fix wrong width condition for splashModeDeviceN8
         * Fix crashes in malformed files

Release 0.80.0:
        core:
         * Annotations: Implement support for setting a different text in the appearance stream than the real text
         * Splash: Optionally use small_vector from boost
         * Fix memory leaks on broken files
         * Fix abort on broken files
         * Small code simplifications
         * Remove USE_FIXEDPOINT support. Issue #821

        qt5:
         * Fix MSVC build
         * Add subsitute-font information
         * Fix since marker of some functions
         * Fix leak when aborting text extraction
         * Small code simplifications

        glib:
         * Make print scaling getter visible
         * Make Duplex/NumCopies/PrintPageRange preference available in API
         * Implement Movie API

        utils:
         * pdftotext: Add -nodiag flag to remove diagonal text on output

        build system:
         * Mark external lib include dirs as SYSTEM
2019-10-19 12:37:04 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2019/10/19 12:37:05 nia Exp $
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-qt5-${POPPLER_VERS}
COMMENT= PDF rendering library (QT5 wrapper)
MAINTAINER= pkgsrc-users@NetBSD.org
CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF
CMAKE_ARGS+= -DENABLE_GLIB=OFF
CMAKE_ARGS+= -DENABLE_UTILS=OFF
CMAKE_ARGS+= -DENABLE_CPP=OFF
CMAKE_ARGS+= -DENABLE_QT5=ON
# Don't build libcurl based HTTP support. ## might want to include
CMAKE_ARGS+= -DENABLE_LIBCURL=OFF
BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
.include "../../print/poppler/buildlink3.mk"
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt5.pc.cmake
INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig
BUILD_DIRS= qt5/src
pre-build:
cd ${WRKSRC}/qt5/src && ${BUILD_MAKE_CMD}
post-install:
${INSTALL_DATA} ${WRKSRC}/poppler-qt5.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"