Compile libheif from source as some distributions have outdated versions

This commit is contained in:
Daniel Winzen
2020-09-05 18:33:17 +02:00
parent 32270a97b5
commit 79189b96b7
2 changed files with 10 additions and 1 deletions

View File

@ -5,6 +5,9 @@ set -e
if [ ! -e libssh2 ]; then
git clone https://github.com/libssh2/libssh2
fi
if [ ! -e libheif ]; then
git clone https://github.com/strukturag/libheif
fi
if [ ! -e ImageMagick ]; then
git clone https://github.com/ImageMagick/ImageMagick
fi
@ -75,6 +78,12 @@ autoreconf -fi
CFLAGS="-O3 -march=native -mtune=native" ./configure
make -j $PROC_LIMIT install
cd ..
cd libheif
./autogen.sh
./configure
CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native" make -j $PROC_LIMIT install
cd ..
ldconfig
cd ImageMagick
git pull
CXXFLAGS='-O3 -mtune=native -march=native' CFLAGS='-O3 -mtune=native -march=native' ./configure --without-perl --without-magick-plus-plus --with-rsvg=yes