Recently, I’ve been playing Magic the Gathering after having last played it in 1998. I heard about this program called ‘cockatrice’ to test my decks, but couldn’t compile it on my Xubuntu 13.10 desktop. Finally I found out I could do it with the ‘clang’ compiler.
Here’s how to compile and install it:
Simply open a terminal (Ctrl + Alt + T) and copy a execute each command:
sudo apt-get install unzip clang cmake libprotobuf-dev protobuf-compiler qtmobility-dev libqt4-dev libqt4-dev-bin
unzip Cockatrice_git-20140115-92ff503.zip -d Cockatrice
sudo make install
If you need the cards list or Windows/Mac binaries, go to Woogerworks.