1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/buildScripts/getDevLibrariesDnf

24 lines
679 B
Plaintext
Raw Normal View History

#!/bin/sh
# This shell script automates getting the development libraries required to
# build poppler and fontforge
# set the shell environment variable 'UNATTENDED' to
# '--setopt=install_weak_deps=False' for unattended use (for example in
# the .travis.yml script)
echo ""
echo "-------------------------------------------------------------------"
echo "INSTALLING development libraries (using DNF)"
echo " (UNATTENDED: [$UNATTENDED])"
echo "-------------------------------------------------------------------"
echo ""
set -ev
sudo dnf $UNATTENDED install \
cairo-devel \
libpng-devel \
libjpeg-turbo-devel \
libxml2-devel