summaryrefslogtreecommitdiffstats
path: root/packaging/macos/010-defaults.sh
blob: 95efff69f9e16944efbedbb28fd6265e84c02149 (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
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This file is part of the build pipeline for Inkscape on macOS.
#
# ### 010-defaults.sh ###
# This file contains a few default values that YOU ARE NOT SUPPOSED TO CHANGE
# and are for this reason only in '010-defaults.sh' and not in '020-vars.sh'.
# There are certain checks and dependencies that are out of your control
# and the other scripts blindly trust that the defaults set in this file
# are "the truth". (I you continue to read, you'll hopefully see that
# this has not been done out of malicious intent but for good reasons.)
# You have been warned.

[ -z $DEFAULTS_INCLUDED ] && DEFAULTS_INCLUDED=true || return   # include guard

### path for pre-built build environment #######################################

# This is the path the pre-built build environment has been built in. Therefore,
# all binaries and libraries have hard-coded library locations relative to this
# path. If you decide to not build the build environment yourself and want to
# use the pre-built one, it is essential that the $WRK_DIR you are using is the
# same as $DEFAULT_SYSTEM_WRK_DIR, otherwise it doesn't work.
# The scripts will make their decision if the pre-built build environment can be
# used based on comparing values between $WRK_DIR and $DEFAULT_SYSTEM_WRK_DIR.

DEFAULT_SYSTEM_WRK_DIR=/work

# If using $DEFAULT_SYSTEM_WRK_DIR is not on option, use there is a default
# user-based location.

DEFAULT_USER_WRK_DIR=$HOME/work