Skip to content

Commit 2d80056

Browse files
authored
Update freebsd_pymupdf.sh
1 parent a970634 commit 2d80056

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

installation/freebsd/freebsd_pymupdf.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ setenv CFLAGS -fPIC
33
# install the pre-required tool
44
pkg install swig30
55

6-
# also FreeBSD has a mupdf port, we should build it manually
7-
wget https://mupdf.com/downloads/archive/mupdf-1.16.1-source.tar.gz
8-
tar -zxvf mupdf-1.16.1-source.tar.gz
6+
# Ensure we have a build of the current version
7+
wget https://mupdf.com/downloads/archive/mupdf-1.17.0-source.tar.gz
8+
tar -zxvf mupdf-1.17.0-source.tar.gz
99

1010
rm -rf PyMuPDF
1111
git clone https://github.com/pymupdf/PyMuPDF.git
1212

13-
cd mupdf-1.16.1-source
13+
cd mupdf-1.17.0-source
1414
# replace files in mupdf source
1515
cp ../PyMuPDF/fitz/_config.h include/mupdf/fitz/config.h
1616

0 commit comments

Comments
 (0)