So I replace :
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
with
-DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix`

After that, kxstitch was successfully installed on my system.
qtpaths is in qt5-tools, so I think it should be in makedepends

zoe commented on 2016-12-15 21:19

@roflincopter :
Thank you for your contribution.
I updated the package, using the stable version (not git-development version), and changed kdebase-runtime dependency into plasma-framework, because kxstitch-2.0.0 is for kf5, and kxstitch-1.3.0 was for kde4.
Also changed :
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
into
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`

roflincopter commented on 2016-12-13 18:15

I flagged this out of date and started building the new version as a package. It successfully links now, I also stripped most of the build statements that apparently aren't needed anymore.