summaryrefslogtreecommitdiff
path: root/jhbuildrc
blob: 8b15ef67d7dd166e203bd3f65d220f13538af399 (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
31
32
33
34
35
# 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')

# Look in /usr/share for icons, D-BUS service files, etc
addpath('XDG_DATA_DIRS', '/usr/share')
# Look in /etc/xdg for system-global autostart files
addpath('XDG_CONFIG_DIRS', '/etc/xdg')

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.
# makeargs = '-j8'