Last active
December 25, 2016 03:30
-
-
Save Nullreff/11240111 to your computer and use it in GitHub Desktop.
Krita on Debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# See http://www.davidrevoy.com/article193/guide-building-krita-on-linux-for-cats | |
# Directory setup | |
SOURCE=~/src/software/calligra | |
BUILD=~/src/software/krita | |
INSTALL=/opt/krita | |
mkdir -p $SOURCE $BUILD $INSTALL | |
# Install dependencies | |
sudo apt-get install -y git make cmake libboost-dev kdepimlibs5-dev libeigen2-dev okular-dev libgsf-1-dev libwpd-dev libwpg-dev libwps-dev libpstoedit-dev libglew-dev libgsl0-dev automoc libkdcraw-dev libpqxx3-dev fftw-dev libopenigtlink1-dev liblcms2-dev libvc-dev | |
# Download the source | |
if [ -d $SOURCE/.git/ ]; then | |
cd $SOURCE; | |
git pull | |
else | |
git clone git://anongit.kde.org/calligra.git $SOURCE | |
fi | |
# Configure | |
cd $BUILD | |
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL $SOURCE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=CREATIVE -DBUILD_karbon=OFF | |
# Build | |
make -j `nproc` | |
# Install | |
sudo make install -j `nproc` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your script is lacking l10n support.
A new approach would be like this: