summaryrefslogtreecommitdiffstats
path: root/packaging/macos/140-jhbuild-gtk3.sh
blob: 18d0ead1f4a259d047ac8a583bc8b5c8d9f39391 (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
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This file is part of the build pipeline for Inkscape on macOS.
#
# ### 140-jhbuild-gtk3.sh ###
# Install GTK3 libraries.

### load settings and functions ################################################

SELF_DIR=$(F=$0; while [ ! -z $(readlink $F) ] && F=$(readlink $F); cd $(dirname $F); F=$(basename $F); [ -L $F ]; do :; done; echo $(pwd -P))
for script in $SELF_DIR/0??-*.sh; do source $script; done

#run_annotated   disabled for now, breaks jhbuild interactive mode

### install prerequisites ######################################################

# We're doing this to get Python.h, because gobject-introspection fails
# otherwise.

jhbuild build \
  openssl \
  python3

### install GTK3 libraries #####################################################

jhbuild build \
  meta-gtk-osx-bootstrap \
  meta-gtk-osx-freetype \
  meta-gtk-osx-gtk3 \
  meta-gtk-osx-gtkmm3