2020-05-22 12:55:42 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.39 2020/05/22 10:55:50 adam Exp $
|
2010-02-18 11:07:32 +01:00
|
|
|
|
|
|
|
BUILDLINK_TREE+= mupdf
|
|
|
|
|
|
|
|
.if !defined(MUPDF_BUILDLINK3_MK)
|
|
|
|
MUPDF_BUILDLINK3_MK:=
|
|
|
|
|
mupdf: Update print/mupdf to 1.14.0
pkgsrc changes:
- Pass USE_SYSTEM_LIBS=yes via MAKE_ENV in order to honor system (pkgsrc)
packages {C,LD}FLAGS
- Rewrite the logic to disable lcms2 in patch-ab and inject -DNO_ICC
directly via CFLAGS
Changes:
MuPDF 1.14.0
------------
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
2018-10-04 21:02:33 +02:00
|
|
|
BUILDLINK_API_DEPENDS.mupdf+= mupdf>=1.14.0
|
2020-05-22 12:55:42 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.mupdf?= mupdf>=1.17.0nb1
|
2011-03-08 18:09:25 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.mupdf?= ../../print/mupdf
|
2010-02-18 11:07:32 +01:00
|
|
|
|
2014-05-30 23:39:37 +02:00
|
|
|
pkgbase := mupdf
|
|
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
|
2019-08-03 16:47:41 +02:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.mupdf:Mcurl)
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2017-12-18 16:06:33 +01:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.mupdf:Mopengl)
|
2017-04-12 15:03:08 +02:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
2019-08-30 19:01:32 +02:00
|
|
|
.include "../../graphics/freeglut/buildlink3.mk"
|
2016-02-04 12:50:24 +01:00
|
|
|
.endif
|
|
|
|
|
2016-12-09 09:19:31 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../fonts/harfbuzz/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2014-04-30 00:02:21 +02:00
|
|
|
.include "../../graphics/jbig2dec/buildlink3.mk"
|
|
|
|
.include "../../graphics/openjpeg/buildlink3.mk"
|
2016-12-09 09:19:31 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2014-04-30 00:02:21 +02:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2017-04-12 15:03:08 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2010-02-18 11:07:32 +01:00
|
|
|
.endif # MUPDF_BUILDLINK3_MK
|
|
|
|
|
|
|
|
BUILDLINK_TREE+= -mupdf
|