# -*- mode: python -*-

# edit this file to match your settings, backup your ~/.jhbuildrc, and then
# copy this there

# what module set should be used.  The default at the moment is
# 'gnome-suites-core-3.0', but it can be any of the files in the
# modulesets directory, or even the URL of a module set file on
# a web server.
use_local_modulesets = True
moduleset = 'gnome-apps-3.3.90'

# A list of the modules to build.  Defaults to the Gnome Desktop and
# developer platform.
modules = [ 'meta-gnome-core', 'meta-gnome-apps-tested' ]

tarballdir = os.path.join(os.environ['HOME'], 'releases', 'checkoutroot')

# what directory should the source be checked out to?
checkoutroot = os.path.join(os.environ['HOME'], 'releases', moduleset)

# the prefix to configure/install modules to (must have write access)
prefix = os.path.join(checkoutroot, 'install')

# extra arguments to pass to all autogen.sh scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'
autogenargs='--disable-static --disable-gtk-doc --disable-maintainer-mode'

# An alternative location to look for (or download to) all downloaded tarballs
tarballdir = os.path.join(checkoutroot, 'pkgs')

# these are hard to build or interfere with system packages
# API: I added "gnome-disk-utility" on 3.3.90 because it was complex
#      to compile it with my distro, but was included on the release

skip = [ 'libxml2', 'nss', 'nspr', 'gudev', 'pulseaudio', 'icon-naming-utils', "libmusicbrainz", "udisks", "gnome-disk-utility", "aisleriot"]

# 3.3.90 addons
module_autogenargs['tracker'] = autogenargs + " --disable-miner-evolution" #suggested by garnacho on #tracker
module_autogenargs['anjuta'] = autogenargs + " --disable-vala"
module_autogenargs['gnome-screensaver'] = autogenargs + " --with-systemd=no"

# API local path stuff
#addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'lib', 'pkgconfig'))
#addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
#addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'lib', 'x86_64-linux-gnu', 'pkgconfig'))

