2f973a2955
Release 21.04.0: core: * Hide symbols by default * TextSelectionDumper: fix word order for RTL text * Fix rendering of text in some files. Issue #1052 * Implement rendering of Masks of Image subtype. Issue #1058 * Forms: fix unclicking standalone form buttons. Issue #1034 glib: * Expose more fields from MediaRendition in PopplerMedia * Use stock glib macro to define boxed type * Remove incorrecly used volatile from enum type registration code qt5: * Fix crash in files with malformed signatures * Fix memory leak when QImage constructor "fails" qt6: * Fix crash in files with malformed signatures * Fix memory leak when QImage constructor "fails" utils: * pdfsig: New paragraph for "-sign" in manpage * pdfimages: Do not assert in "too big images". Issue #1061 build system: * Require cmake >= 3.10 * Require Qt 5 >= 5.9 * Require glib >= 2.56 * Require gtk 3 >= 3.22 * Require gdk-pixbuf >= 2.36 PR: poppler-21.04.0 Exp-run by: antoine
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Created by: Olivier Cochard-Labbe <olivier@FreeBSD.org>
|
|
|
|
PORTNAME= pdfviewer
|
|
PORTVERSION= 0.0.2
|
|
PORTREVISION= 24
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.defora.org/os/download/download/4431/
|
|
PKGNAMEPREFIX= deforaos-
|
|
DISTNAME= PDFViewer-${PORTVERSION}
|
|
|
|
MAINTAINER= olivier@FreeBSD.org
|
|
COMMENT= DeforaOS desktop PDF viewer
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
|
|
libDesktop.so:x11/deforaos-libdesktop \
|
|
libpoppler-glib.so:graphics/poppler-glib \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
|
|
MAKE_ARGS+= PREFIX=${PREFIX}
|
|
USES= desktop-file-utils gnome pkgconfig
|
|
USE_GNOME= gtk20 gdkpixbuf2 cairo
|
|
MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
|
|
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
|
|
|
|
post-patch-DOCS-off:
|
|
${REINPLACE_CMD} 's|data doc po|data po|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-patch-NLS-off:
|
|
${REINPLACE_CMD} 's|po src tools|src tools|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|-Wl,-pie||g' \
|
|
${WRKSRC}/tools/Makefile \
|
|
${WRKSRC}/src/Makefile
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfviewer
|
|
|
|
.include <bsd.port.mk>
|