summaryrefslogtreecommitdiffstats
path: root/packaging/macos/140-build_packaging.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpackaging/macos/140-build_packaging.sh44
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/macos/140-build_packaging.sh b/packaging/macos/140-build_packaging.sh
new file mode 100755
index 0000000..bb6a3f6
--- /dev/null
+++ b/packaging/macos/140-build_packaging.sh
@@ -0,0 +1,44 @@
+#!/usr/bin/env bash
+#
+# SPDX-FileCopyrightText: 2021 René de Hesselle <dehesselle@web.de>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+### description ################################################################
+
+# Install additional tools that are no direct dependencies of Inkscape but that
+# we need for e.g. packaging the application.
+
+### shellcheck #################################################################
+
+# Nothing here.
+
+### dependencies ###############################################################
+
+source "$(dirname "${BASH_SOURCE[0]}")"/jhb/etc/jhb.conf.sh
+
+source "$(dirname "${BASH_SOURCE[0]}")"/src/svg2icns.sh
+
+bash_d_include error
+
+### variables ##################################################################
+
+# Nothing here.
+
+### functions ##################################################################
+
+# Nothing here.
+
+### main #######################################################################
+
+if $CI; then # break in CI, otherwise we get interactive prompt by JHBuild
+ error_trace_enable
+fi
+
+#-------------------------------------------- install application bundle creator
+
+jhb build gtkmacbundler
+
+#------------------------------------------------- install svg to icns convertor
+
+svg2icns_install