buckshot/make_dist_linux.sh

35 lines
1.2 KiB
Bash
Raw Normal View History

2016-12-08 21:39:00 +00:00
#!/bin/bash
2017-01-16 03:08:58 +00:00
VERSION=0.2
BUILDDIR=~
DISTDIR=$BUILDDIR/buckshot-dist-linux
LIBDIR=$DISTDIR/lib
PLATFORMDIR=$DISTDIR/platforms
2016-12-08 21:39:00 +00:00
2017-01-16 03:08:58 +00:00
rm -rf $DISTDIR
mkdir -p $DISTDIR
2016-12-08 21:39:00 +00:00
mkdir -p $LIBDIR
mkdir -p $PLATFORMDIR
2017-01-16 03:08:58 +00:00
cp build-buckshot-Desktop_Qt_5_7_0_GCC_64bit-Release/buckshot $DISTDIR
cp build-buckshot-Desktop_Qt_5_7_0_GCC_64bit-Release/b2d $DISTDIR
cp build-buckshot-Desktop_Qt_5_7_0_GCC_64bit-Release/Cadius $DISTDIR
cp platform/linux/buckshot.sh $DISTDIR
cp doc/README.LINUX $DISTDIR
2017-01-16 04:18:23 +00:00
cp README.md $DISTDIR
2016-12-08 21:39:00 +00:00
# As reported by ldd
cp /home/builder/Qt/5.7/gcc_64/lib/libicudata.so.56 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libicui18n.so.56 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libicuuc.so.56 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libQt5Core.so.5 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libQt5DBus.so.5 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libQt5Gui.so.5 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libQt5Widgets.so.5 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/lib/libQt5XcbQpa.so.5 $LIBDIR
cp /home/builder/Qt/5.7/gcc_64/plugins/platforms/libqxcb.so $PLATFORMDIR
2017-01-16 03:08:58 +00:00
cp -r /home/builder/Qt/5.7/gcc_64/plugins/imageformats $DISTDIR
2016-12-08 21:39:00 +00:00
2017-01-16 03:08:58 +00:00
tar -cvjf buckshot-dist-linux_$VERSION.tar.bz2 -C $BUILDDIR `basename $DISTDIR`