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
|
You'll need the following applications and libraries to build and run Abraca:
o XMMS2 0.6DrMattDestruction
o GTK 2.16.0 (older may work)
o pkg-config 0.22 (older may work)
o vala 0.7.9
o libgee 0.5.0 (or newer)
o gcc 4.2.3 (older may work)
o gettext for localization
o python for running SCons
Execute the following commands to compile and install Abraca:
./scons PREFIX=/usr/local
./scons install
To clean the build directory:
./scons -c
To uninstall abraca:
./scons install -c
Project related options:
./scons -h
SCons related options:
./scons -H
Environment variables SCons listens to:
VALAC, CC, AS, LINKFLAGS, PROGSUFFIX
PKG_CONFIG_FLAGS, PKG_CONFIG_LIBDIR, PKG_CONFIG_PATH,
Crosscompiling Linux -> Windows:
wget http://abraca.xmms.se/gtkwin32.tar.gz
tar xvfz gtkwin32.tar.gz
cd abraca
./scons CC=/usr/bin/i586-mingw32msvc-gcc \
PKG_CONFIG_FLAGS="--define-variable=prefix=/path/to/gtkwin32/" \
PKG_CONFIG_LIBDIR="/path/to/gtkwin32/lib/pkgconfig" \
LINKFLAGS="-Wl,--subsystem,windows" \
PROGSUFFIX=".exe"
|