2012-09-15 12:03:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2012/09/15 10:06:12 obache Exp $
|
2007-12-12 02:29:22 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "../../print/poppler/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= poppler-qt4-${POPPLER_VERS}
|
2012-09-15 12:03:29 +02:00
|
|
|
PKGREVISION= 1
|
2007-12-12 02:29:22 +01:00
|
|
|
|
|
|
|
COMMENT= PDF rendering library (QT4 wrapper)
|
2008-11-20 15:28:22 +01:00
|
|
|
MAINTAINER= reed@reedmedia.net
|
2007-12-12 02:29:22 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-cairo-output
|
|
|
|
CONFIGURE_ARGS+= --enable-poppler-qt4
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-test
|
|
|
|
CONFIGURE_ARGS+= --disable-utils
|
2012-07-04 22:26:58 +02:00
|
|
|
CONFIGURE_ENV+= MOCQT4=${QTDIR}/bin/moc
|
2011-07-11 20:43:03 +02:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
|
|
|
|
.include "../../print/poppler/buildlink3.mk"
|
|
|
|
|
2011-07-11 12:05:22 +02:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.poppler:Mpoppler-cms)
|
|
|
|
CONFIGURE_ARGS+= --enable-cms
|
|
|
|
.else
|
2009-02-12 21:55:07 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-cms
|
2011-07-11 12:05:22 +02:00
|
|
|
.endif
|
2007-12-12 02:29:22 +01:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt4.pc.in
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig
|
|
|
|
|
2008-06-03 22:30:27 +02:00
|
|
|
BUILD_DIRS= qt4/src
|
2007-12-12 02:29:22 +01:00
|
|
|
|
2008-10-30 12:33:06 +01:00
|
|
|
pre-build:
|
2011-04-03 02:19:51 +02:00
|
|
|
cd ${WRKSRC}/poppler && ${BUILD_MAKE_CMD} libpoppler-arthur.la
|
2008-10-30 12:33:06 +01:00
|
|
|
|
2007-12-12 02:29:22 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/poppler-qt4.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
|
|
|
2008-06-03 22:30:27 +02:00
|
|
|
BUILDLINK_DEPMETHOD.qt4-tools?= full
|
|
|
|
|
2007-12-12 02:29:22 +01:00
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|