pkgsrc/print/poppler-cpp/Makefile
wiz c7dba694ca poppler updated to 0.24.4. changes shlib major again, PKGREVISION bump
follows next.

Changes:

Release 0.24.4
        core:
         * Fix regression in broken endstream detection. Bug #70854
         * Catalog: sort entries of NameTrees to make sure lookup works. Bug #26049
         * Don't infinite loop if reading from GooFile::read fails. Bug #71835

        utils:
         * pdftotext: Do not close stdout. Bug #71639
         * pdftotext: Silence warning for may be used uninitialized variable. Bug #71640
         * pdftotext: Escape the text of the xml headers
         * Warn the user if he provides a wrong range

        qt4:
         * Fix typo in xml API. Bug #71643

        qt5:
         * Fix typo in xml API. Bug #71643
2013-12-06 13:10:59 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2013/12/06 13:10:59 wiz Exp $
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-cpp-${POPPLER_VERS}
COMMENT= PDF rendering library (cpp wrapper)
MAINTAINER= reed@reedmedia.net
CONFLICTS+= poppler<0.4.5nb1
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.in
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
# Don't build the cairo graphics backend, required by glib.
CONFIGURE_ARGS+= --disable-cairo-output
# Don't build the splash graphics backend.
CONFIGURE_ARGS+= --disable-splash-output
# Don't compile poppler qt wrapper.
CONFIGURE_ARGS+= --disable-poppler-qt
# Don't compile GTK+ test program.
CONFIGURE_ARGS+= --disable-gtk-test
CONFIGURE_ARGS+= --disable-utils
BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*}
.include "../../print/poppler/buildlink3.mk"
BUILD_DIRS= cpp
INSTALL_DIRS= cpp
INSTALLATION_DIRS+= lib/pkgconfig
.include "../../converters/libiconv/buildlink3.mk"
CHECK_BUILTIN.iconv:= yes
.include "../../converters/libiconv/builtin.mk"
CHECK_BUILTIN.iconv:= no
.if !empty(USE_BUILTIN.iconv:M[nN][oO])
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
.else
CONFIGURE_ARGS+= --with-libiconv-prefix
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/poppler-cpp.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"