genode/repos/libports/ports/mupdf.port
Norman Feske cd45a3b8d6 libports: set mupdf gamma value to 1.5
This makes the look of tikz illustrations consistent with the look when
viewing them in evince (as I do while creating them).
2018-02-14 20:41:04 +01:00

20 lines
652 B
Plaintext

LICENSE := GPLv3
VERSION := 0.9
DOWNLOADS := mupdf.archive
URL(mupdf) := http://mupdf.com/downloads/archive/mupdf-$(VERSION)-source.tar.gz
SHA(mupdf) := 3a3ba42d19e3211199110e7c782263241cdea8a0
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