0533b4e777
- Backport all the relevant patches from upstream (NFCI, most of them were already backported but diverged a bit from upstream). - Delete patches/patch-links.c, I can no longer reproduce the NULL pointer dereference with mupdf-1.2.0. - Backport MuPDF 1.2.0 API update With these zathura-pdf-mupdf works with mupdf-1.2.0. Bump PKGREVISION.
28 lines
785 B
Makefile
28 lines
785 B
Makefile
# $NetBSD: Makefile,v 1.20 2017/12/18 15:07:14 leot Exp $
|
|
#
|
|
|
|
DISTNAME= zathura-pdf-mupdf-0.3.1
|
|
PKGREVISION= 8
|
|
CATEGORIES= print
|
|
MASTER_SITES= https://pwmt.org/projects/zathura/plugins/download/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://pwmt.org/projects/zathura-pdf-mupdf/
|
|
COMMENT= Add PDF support to zathura using mupdf rendering engine
|
|
LICENSE= zlib
|
|
|
|
CONFLICTS+= zathura-pdf-poppler-[0-9]*
|
|
|
|
USE_TOOLS+= pkg-config gmake
|
|
USE_LIBTOOL= yes
|
|
|
|
CPPFLAGS+= -D_XOPEN_SOURCE=600
|
|
|
|
MAKE_ENV+= MUPDF_LIB="-lmupdf -lmupdfthird"
|
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../print/mupdf/buildlink3.mk"
|
|
.include "../../print/zathura/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|