Commit 0ba5865c authored by Ben Cooksley's avatar Ben Cooksley Committed by Halla Rempt

Remove dedicated release script for appimages

(cherry picked from commit 553c1993)
parent ce23ea41
# Halt on errors
set -e
# Be verbose
set -x
export BUILD_PREFIX=/home/krita/devel
export INSTALLDIR=$BUILD_PREFIX/krita.appdir/usr
export QTDIR=$BUILD_PREFIX/deps/usr
export LD_LIBRARY_PATH=$QTDIR/sip:$QTDIR/lib/x86_64-linux-gnu:$QTDIR/lib:$BUILD_PREFIX/i/lib:$LD_LIBRARY_PATH
export PATH=$QTDIR/bin:$BUILD_PREFIX/i/bin:$PATH
export PKG_CONFIG_PATH=$QTDIR/share/pkgconfig:$QTDIR/lib/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH
export PYTHONPATH=$QTDIR/sip:$QTDIR/lib/python3.5/site-packages:$QTDIR/lib/python3.5
# qjsonparser, used to add metadata to the plugins needs to work in a en_US.UTF-8 environment. That's
# not always set correctly in CentOS 6.7
export LC_ALL=en_US.UTF-8
export LANG=en_us.UTF-8
# Determine which architecture should be built
if [[ "$(arch)" = "i686" || "$(arch)" = "x86_64" ]] ; then
echo "Architecture could not be determined"
exit 1
git reset --hard HEAD
git pull --rebase
# A krita build layout looks like this:
# krita/ -- the source directory
# krita/3rdparty -- the cmake3 definitions for the dependencies
# d -- downloads of the dependencies from
# b -- build directory for the dependencies
# krita_build -- build directory for krita itself
# krita.appdir -- install directory for krita and the dependencies
# Krita should have been checked out in the build deps phase
# Get Krita
if [ ! -d $BUILD_PREFIX/krita ] ; then
git clone --depth 1 git:// $BUILD_PREFIX/krita
cd $BUILD_PREFIX/krita/
# If the environment variable DO_NOT_BUILD_KRITA is set to something,
# then stop here. This is for docker hub which has a timeout that
# prevents us from building in one go.
# if [ ! -z "$DO_NOT_BUILD_KRITA" ] ; then
# exit 0
# fi
rm -rf $BUILD_PREFIX/krita_build || true
mkdir -p $BUILD_PREFIX/krita_build
cd $BUILD_PREFIX/krita_build
cmake $BUILD_PREFIX/krita \
# build
make -j10 install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment