genode/repos/libports/ports/mupdf.port
Emery Hemingway 72cb71c827 Replace SHA1 hashes of port downloads with SHA256
Now SHA256 has been shown to be an adequate replacement for SHA1, use
SHA256 for verifying all port downloads.

Ref #2767
2018-05-30 13:36:22 +02:00

20 lines
676 B
Plaintext

LICENSE := GPLv3
VERSION := 0.9
DOWNLOADS := mupdf.archive
URL(mupdf) := http://mupdf.com/downloads/archive/mupdf-$(VERSION)-source.tar.gz
SHA(mupdf) := abed825cb1d73e0e28f0a7ee72b5d7a451ba41d21b0c55837ed2a212f3b16b2d
DIR(mupdf) := src/lib/mupdf
DIRS := include/mupdf
DIR_CONTENT(include/mupdf) := $(addprefix src/lib/mupdf/,\
pdf/mupdf.h xps/muxps.h fitz/fitz.h)
PATCHES := $(sort $(wildcard $(REP_DIR)/src/lib/mupdf/*.patch))
default: fix_include
fix_include: $(DOWNLOADS)
$(VERBOSE)sed -i "/include/s/\.\.\///" src/lib/mupdf/pdf/pdf_cmap_table.c \
src/lib/mupdf/pdf/pdf_fontfile.c