File: INSTALL

package info (click to toggle)
swami 2.2.2-2.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,760 kB
  • sloc: ansic: 39,397; xml: 194; sh: 86; sed: 16; makefile: 3
file content (45 lines) | stat: -rw-r--r-- 1,718 bytes parent folder | download | duplicates (3)
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
+-------------------------------------------------------+
+ Swami - Installation                                  +
+ Copyright (C) 1999-2021 Josh Green and others         +
+ Email: jgreen@users.sourceforge.net                   +
+ Swami homepage: https://github.com/swami/swami        +
+-------------------------------------------------------+

Swami uses the CMake build system. If you are new to cmake, you should at first compile fluidsynth (you will need it for Swami anyway). Check you their build instructions to get a basic understanding of how CMake works: https://github.com/FluidSynth/fluidsynth/wiki/BuildingWithCMake

Configure build system
-----------------

Change to toplevel Swami source directory and execute:
mkdir build && cd build
cmake ..

Some useful options to the configure script ("./configure --help" to list more
options) you probably won't need to specify any of these:

-DCMAKE_INSTALL_PREFIX=PFX       Prefix where SWAMI is installed (optional)
-DCMAKE_INSTALL_DATADIR=DTDIR    Data dir to use for installing various UI related files (depends on your OS, commonly /usr/share is being used)

Required libraries
-----------------

Swami requires a sound file library to load sample files (WAV, AU etc).

libsndfile homepage: http://www.zip.com.au/~erikd/libsndfile/
libinstpatch: https://github.com/swami/libinstpatch

GTK+ 2.0 is required. It depends on a number of other libraries as well.
Chances are you already have it.

GTK homepage: http://www.gtk.org

Compile and install
-----------------

To compile the package execute:
make

To install the binary file "swami" issue a:
make install

Please open a ticket at GitHub if you have problems or suggestions with the build process.