35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.41 2021/04/21 13:24:15 adam Exp $
|
|
|
|
BUILDLINK_TREE+= mupdf
|
|
|
|
.if !defined(MUPDF_BUILDLINK3_MK)
|
|
MUPDF_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.mupdf+= mupdf>=1.14.0
|
|
BUILDLINK_ABI_DEPENDS.mupdf?= mupdf>=1.18.0nb1
|
|
BUILDLINK_PKGSRCDIR.mupdf?= ../../print/mupdf
|
|
|
|
pkgbase := mupdf
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.mupdf:Mcurl)
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.mupdf:Mopengl)
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/freeglut/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/harfbuzz/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/jbig2dec/buildlink3.mk"
|
|
.include "../../graphics/openjpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../www/gumbo-parser/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.endif # MUPDF_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -mupdf
|