flameshotをhttps://github.com/lupoDharkael/flameshot からgit clone
gcc 4.9以上が必要なので、https://web.chaperone.jp/w/index.php?CentOS/devtoolset からdevtoolset-3をインストール
yum install centos-release-scl-rh
yum install devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-gcc-gfortran devtoolset-3-binutils
scl enable devtoolset-3 bash
flameshotのdependency
# Compile-time
dnf install gcc-c++ qt5-devel qt5-qtbase-devel qt5-linguist
# Run-time
dnf install qt5-qtbase qt5-qtsvg-devel
flameshotのディレクトリで
mkdir build; cd build; qmake ../; make; make install