-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall-opentoonz.sh
90 lines (64 loc) · 2.81 KB
/
install-opentoonz.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
# File: install-opentoonz.sh
# Author: Charlie Martínez® <[email protected]>
# License: https://www.gnu.org/licenses/gpl-3.0.txt
# Description: Download the source code for the newest version of OpenToonz, compile it, and install it.
# Version: 1.1
clear
echo "--------------------------------------------------------------
QUIRINUX PRO: COMPILE AND INSTALL OPENTOONZ
--------------------------------------------------------------
___ _____
/ _ \ _ __ ___ _ _|_ _|__ ___ _ __ ____
| | | | '_ \ / _ \ '_ \| |/ _ \ / _ \| '_ \|_ /
| |_| | |_) | __/ | | | | (_) | (_) | | | |/ /
\___/| .__/ \___|_| |_|_|\___/ \___/|_| |_/___|
|_|
Download source code and install by compiling from code
the newest version of the professional animation program
OpenToonz with which you can replace Toon Boom Harmony.
Compatible with Debian Buster, Devuan Beowulf and Ubuntu 20.4
1 Download, compile and install OpenToonz 1.5
0 Leave
"
read -p " Your answer-> " opc
case $opc in
"1")
# Compile OpenToonz 1.5 from source code
sudo apt-get update -y
for paquetes_opentoonz in wget build-essential git cmake pkg-config libboost-all-dev qt5-default qtbase5-dev libqt5svg5-dev qtscript5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtmultimedia5-dev libqt5multimedia5-plugins libqt5serialport5-dev libsuperlu-dev liblz4-dev libusb-1.0-0-dev liblzo2-dev libpng-dev libjpeg-dev libglew-dev freeglut3-dev libfreetype6-dev libjson-c-dev qtwayland5 libmypaint-dev libopencv-dev libturbojpeg-dev; do sudo apt-get install -y $paquetes_opentoonz; done
mkdir -p /opt/tmp/opentoonz
sudo wget --no-check-certificate 'https://github.com/opentoonz/opentoonz/archive/refs/tags/v1.5.0.tar.gz' -O /opt/tmp/opentoonz/opentoonz-1.5.0.tar.gz
tar -xzvf /opt/tmp/opentoonz/opentoonz-1.5.0.tar.gz -C /opt/tmp/
cd /opt/tmp/opentoonz-1.5.0
mkdir -p $HOME/.config/OpenToonz
cp -r /opt/tmp/opentoonz-1.5.0/stuff $HOME/.config/OpenToonz/
cd /opt/tmp/opentoonz-1.5.0/thirdparty/tiff-4.0.3
./configure --with-pic --disable-jbig
make -j$(nproc)
cd ../../
cd toonz
mkdir build
cd build
cmake ../sources
make -j$(nproc)
make install
# Download and copy the start menu icon
mkdir -p /opt/tmp/opentoonz
sudo wget --no-check-certificate 'http://my.opendesktop.org/s/oTxLzXBFCZR8Abi/download' -O /opt/tmp/opentoonz/opentoonzicon_1.5.0_amd64.deb
apt install /opt/tmp/opentoonz/./opentoonzicon_1.5.0_amd64.deb
clear
echo "--------------------------------------------------------------
INSTALLATION FINISHED SUCCESSFUL
--------------------------------------------------------------
Congratulations! OpenToonz is already on your system and you can
open it by going to ${bold}Applications> Graphics> OpenToonz ${normal}or fro
the terminal with the command ${bold}opentoonz. ${normal}
"
exit 0
;;
"0")
clear
exit 0
;;
esac