mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-22 14:48:28 +00:00
Download external libraries from github
Download external libraries from an isolated branch in github to avoid dependencies on external download locations, which cause sporadic CI build failures.
This commit is contained in:
parent
54bd37e881
commit
60f1f4537f
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
curl -L https://www.ijg.org/files/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz
|
||||
curl -L https://github.com/qpdf/qpdf/raw/external-libs/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz
|
||||
tar xzf jpegsrc.v9c.tar.gz
|
||||
cd jpeg-9c
|
||||
./configure
|
||||
|
@ -20,7 +20,7 @@ fi
|
||||
if [ -f distfiles/distfiles.zip ]; then
|
||||
unzip distfiles/distfiles.zip
|
||||
fi
|
||||
curl -L https://downloads.sourceforge.net/project/qpdf/external-libs/2017-08-21/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip
|
||||
curl -L https://github.com/qpdf/qpdf/raw/external-libs/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip
|
||||
unzip qpdf-external-libs-bin.zip
|
||||
cwd=`pwd`
|
||||
PATH=$cwd/libqpdf/build:$PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user