This seems to cause issues on some Ubuntu versions (likely due to an
older cmake version, but we didn't investigate much). We're just
dropping the Cotire use in this script to avoid the problems, since it
is a fully optional thing (only affects compile performance) anyway.
This fixes bug #249.
git clone git://sigrok.org/pulseview
cd pulseview
patch -p1 < ../../pulseview_decodersdir.patch
-PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 cmake $CM -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_DECODE=y -DENABLE_COTIRE=y -DENABLE_TESTS=y .
+PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 cmake $CM -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_DECODE=y -DENABLE_TESTS=y .
make $PARALLEL VERBOSE=1
make install
makensis -DHOME=$HOME contrib/pulseview_cross.nsi