blob: 2be2e3145d92e7d822831b40c77466d077a1ec8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.43 2020/06/02 08:24:38 adam Exp $
PKGREVISION= 2
.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"
|