[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / poppler-qt5

File: [cvs.NetBSD.org] / pkgsrc / print / poppler-qt5 / Makefile (download)

Revision 1.21, Wed Jan 10 21:56:51 2018 UTC (9 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.20: +1 -2 lines

poppler*: update to 0.62.0

Changes same as for the base package.

# $NetBSD: Makefile,v 1.21 2018/01/10 21:56:51 wiz Exp $

.include "../../print/poppler/Makefile.common"

PKGNAME=		poppler-qt5-${POPPLER_VERS}
COMMENT=		PDF rendering library (QT5 wrapper)
MAINTAINER=		pkgsrc-users@NetBSD.org

CMAKE_ARGS+=    -DENABLE_SPLASH=ON
CMAKE_ARGS+=    -DCMAKE_DISABLE_FIND_PACKAGE_CAIRO=TRUE
CMAKE_ARGS+=    -DBUILD_GTK_TESTS=OFF
CMAKE_ARGS+=    -DENABLE_GLIB=OFF
CMAKE_ARGS+=    -DENABLE_UTILS=OFF
CMAKE_ARGS+=    -DENABLE_CPP=OFF
CMAKE_ARGS+=    -DENABLE_QT4=OFF
CMAKE_ARGS+=    -DENABLE_QT5=ON
# Don't build libcurl based HTTP support. ## might want to include
CMAKE_ARGS+=    -DENABLE_LIBCURL=OFF

CMAKE_ARGS+=    -DMOCQT5=${QTDIR}/bin/moc

BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
.include "../../print/poppler/buildlink3.mk"

PKGCONFIG_OVERRIDE+=	${WRKSRC}/poppler-qt5.pc.in

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 "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"