blob: 98df007a2f03ba1f6403b755b8a97d702506ddba (
plain)
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
|
# how to use this file?
#
# mkdir -p $HOME/spice
# git clone git://anongit.freedesktop.org/git/xorg/util/modular/ $HOME/xorg/util/modular
# git clone git://people.freedesktop.org/~teuf/spice-jhbuild ~/spice/spice-jhbuild
# jhbuild -f $HOME/spice/spice-jhbuild/jhbuildrc
#
# Source tree will be in $HOME/spice/
# Binaries will be in $HOME/spice-usr
#
moduleset = os.path.join(os.environ['HOME'], 'spice', 'spice-jhbuild', 'modulesets', 'spice.xml')
modules = [ 'spice-gtk', 'qemu' ]
# All module sources will be in $HOME/spice/ after the checkout
checkoutroot = os.path.join(os.environ['HOME'], 'spice')
# All module binaries will be in $HOME/spice-usr/ after the checkout
prefix = os.path.join(os.environ['HOME'], 'spice-usr')
os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share', 'aclocal')
os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig') \
+ ':' + os.path.join(prefix, 'share', 'pkgconfig')
# custom CFLAGS / environment pieces for the build
# os.environ['CFLAGS'] = '-Wall -g -O0'
# Additional flags for make can be specified here
# Set makeargs to 'V=1' for verbose build output.
# makeflags = '-j8'
|