From ded109d4493f2fd4cb6e081bc06d02c02180695c Mon Sep 17 00:00:00 2001 From: Andreas Butti Date: Sat, 19 Jan 2019 14:54:09 +0100 Subject: [PATCH] Mac build --- mac-setup/Info.plist | 8 +------- mac-setup/complete-build.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100755 mac-setup/complete-build.sh diff --git a/mac-setup/Info.plist b/mac-setup/Info.plist index edc35e93..72b4709f 100644 --- a/mac-setup/Info.plist +++ b/mac-setup/Info.plist @@ -34,7 +34,7 @@ LSItemContentTypes - com.github.xournalpp.xcf + com.github.xournalpp.xopp @@ -79,14 +79,8 @@ Xournal++ CFBundlePackageType APPL - CFBundleShortVersionString - 1.0.6-alpha CFBundleSignature Xournal++ - CFBundleVersion - 1.0.6-alpha - NSHumanReadableCopyright - © 2010-2019 Xournal++ Team NSHighResolutionCapable NSRequiresAquaSystemAppearance diff --git a/mac-setup/complete-build.sh b/mac-setup/complete-build.sh new file mode 100755 index 00000000..6ed8db60 --- /dev/null +++ b/mac-setup/complete-build.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Build for macOS, without GTK and without Poppler + +export PATH="$HOME/.local/bin:$HOME/gtk/inst/bin:$PATH" + +cd ../build/ +cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/gtk/inst .. +make -j 4 +make install + +cd ../mac-setup/ +./build-app.sh