perfect !!!
that's what I was aiming for really, not having to brew install Qt5.
Mind you, this isn't a problem at all as it's installed In minutes, it was that silly KF5 wanting to download the source and compile Qt5 ....
If I am not mistaken, this is all that I needed to do:
(note, I did run into 3 problems, I had to first change my prefix path because I am not Stephane Lucas, I had to get rid of my old extra cmake modules and link the extra cmake modules because I had installed them from source. My fault. And then I also had to change the order of the installs because of kf5-auth and notifications, which I attempted to correct below.)
brew tap haraldf/kf5
cd /usr/local/Homebrew/Library/Taps/haraldf/homebrew-kf5
sed -i '.bak' 's/*args/"-DCMAKE_PREFIX_PATH=\/Users\/rlancaste\/Qt\/5.7\/clang_64\/", *args/g' *.rb
sed -i '.bak' '/depends_on "qt5"/,/^/d' *.rb
brew link --force gettext
I have one I built using the emerge version of the script yesterday. It actually did run on my wife's laptop, but I had a failure when I tried to connect indiserver, a similar crash to before.
That's it, nothing more is needed to build the cmake version.
And now that the brew KF5 are installed, as long as you don't remove them, cmake kstars now will take minutes instead of hours like before.
I don't think the cmake version of the script needs to make a dmg, unless we want to use that as an alternative to the emerge method. The main reason I wanted the cmake method was so we could develop again.
By the way Jamie, for the cmake version, shouldn't we change the prefix path on the cmake? -DCMAKE_INSTALL_PREFIX=~/usr/local is not the place we really want it, right?