File: INSTALL

package info (click to toggle)
tagua 1.0~alpha2-16-g618c6a0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 8,000 kB
  • sloc: cpp: 26,141; ansic: 13,039; makefile: 183; ruby: 88; sh: 39
file content (40 lines) | stat: -rw-r--r-- 1,095 bytes parent folder | download | duplicates (2)
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
What you need
==================

  * Qt5::Core, Qt5::Widgets, Qt5::Svg
  * cmake 2.8.12 or later
  * extra-cmake-modules
  * KF5::KDELibs4Support, KF5::KDEGames
  * boost 1.34 (headers will suffice)

Further you will need GNU make, a working C++ compiler (e.g. gcc 3.4.x or later)
and CMake 2.4.7 or later.

The following packages are optional:

  * lua (5.1.1, if it is not available you can use the internal copy)

Preparations
==================

Setting up a KDE4 development environment:

Follow the tutorial at http://techbase.kde.org/Getting_Started/Build/KDE4

Alternatively, you can install KDE beta packages if your system supports them 
(e.g. debian, kubuntu, openSUSE).

Compiling Tagua
==================

Unpack the Tagua package, change to the package root directory, and type:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=release ..
make -j2
make install

If you want tagua to be linked to system lua instead that the internall one,
add -DSYSTEM_LUA=1 to the command line, and optionally add -DLUA_PKG=xyz to
specify the pkg-config lua package.