2008-10-31 05:25:28 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
#
|
|
|
|
# jhbuildrc for building gnome-shell. Customizations shuld be done in
|
|
|
|
# ~/.jhbuildrc-custom
|
|
|
|
#
|
|
|
|
# Copyright (C) 2008 Red Hat, Inc.
|
|
|
|
#
|
|
|
|
# Some ideas and a bit of code taken from gtk-osx-build
|
|
|
|
#
|
|
|
|
# Copyright (C) 2006, 2007, 2008 Imendio AB
|
|
|
|
#
|
|
|
|
# Use .jhbuildrc-custom to override the moduleset, modules to build,
|
|
|
|
# the source checkout location, installation prefix, or svn usernames
|
|
|
|
# etc.
|
|
|
|
#
|
|
|
|
# JHBUILDRC_GNOME_SHELL - Do not edit this line (or anything else)
|
|
|
|
|
|
|
|
# Only rebuild modules that have changed
|
|
|
|
build_policy = 'updated'
|
|
|
|
|
2012-08-26 17:46:27 +00:00
|
|
|
moduleset = 'gnome-apps-3.6'
|
2008-10-31 05:25:28 +00:00
|
|
|
|
2012-01-22 16:22:54 +00:00
|
|
|
modules = [ 'meta-gnome-core-shell' ]
|
2008-10-31 05:25:28 +00:00
|
|
|
|
|
|
|
# what directory should the source be checked out to?
|
2012-10-03 04:17:15 +00:00
|
|
|
checkoutroot = os.path.expanduser('~/gnome/source')
|
2008-10-31 05:25:28 +00:00
|
|
|
|
|
|
|
# the prefix to configure/install modules to (must have write access)
|
2012-10-03 04:17:15 +00:00
|
|
|
prefix = os.path.expanduser('~/gnome/install')
|
2008-10-31 05:25:28 +00:00
|
|
|
|
2012-10-03 03:41:35 +00:00
|
|
|
# reduce what we build as much as possible
|
|
|
|
ignore_suggests = True
|
|
|
|
|
2008-10-31 05:25:28 +00:00
|
|
|
# Use system libraries for the builds
|
2009-03-10 20:25:53 +00:00
|
|
|
if use_lib64:
|
2009-03-17 20:09:06 +00:00
|
|
|
_libdir = 'lib64'
|
2009-03-10 20:25:53 +00:00
|
|
|
else:
|
2009-03-17 20:09:06 +00:00
|
|
|
_libdir = 'lib'
|
|
|
|
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _libdir, 'pkgconfig'))
|
2008-10-31 05:25:28 +00:00
|
|
|
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
|
|
|
|
|
|
|
|
# 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')
|
|
|
|
|
|
|
|
# Import optional user RC for further customization. You can override
|
|
|
|
# the prefix or default build setup for example, or CFLAGS or
|
|
|
|
# module_autogenargs, etc.
|
|
|
|
#
|
|
|
|
_userrc = os.path.join(os.environ['HOME'], '.jhbuildrc-custom')
|
|
|
|
if os.path.exists(_userrc):
|
|
|
|
execfile(_userrc)
|
|
|
|
|