To build sioyek it is necessary to apply a patch to it sioyek.diff
and compile it. Follow this code to do it:
# installing dependencies
dnf install qt5-qtbase-devel qt5-qtbase-static qt5-qt3d-devel harfbuzz-devel libXi-devel freeglut-devel libXrandr-devel
cat sioyek.diff
# clone and apply the patch
git clone --recursive "https://github.com/ahrm/sioyek"
echo "now apply the patch; its for version 2.0.0"
cd sioyek
./build_linux.sh
Now the installation:
# note that I am not sure if /usr/local installation works
# it might be necessary to install it globally
cd build/
mkdir -p /usr/local/etc/sioyek/
cp prefs.config /usr/local/etc/sioyek/
cp keys.config /usr/local/etc/sioyek/
mkdir -p /usr/local/share/sioyek/
cp -r shaders/ /usr/local/share/sioyek/
cp tutorial.pdf /usr/local/share/sioyek/
cp sioyek /usr/local/bin/