Skip to content

Commit 166c121

Browse files
committed
MACOS: build and ship with necessary fonts for ui text renderer
Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
1 parent ec63459 commit 166c121

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

macos/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CXXFLAGS="$CFLAGS" \
3131
OBJCFLAGS="$CFLAGS" \
3232
OBJCXXFLAGS="$CFLAGS" \
3333
./autogen.sh $SDK_AUTOCONF_BUILD --prefix=$SM_PREFIX --without-qt --without-jack --without-ao --without-fontconfig \
34-
--disable-shared --with-static-fftw --with-download-instruments || die "configure failed"
34+
--disable-shared --with-static-fftw --with-fonts --with-download-instruments || die "configure failed"
3535
cd $MACOS_DIR || die "cd macos_dir"
3636

3737
source ./config.sh || die "source config.sh"

macos/dist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ pkgbuild --sign "Developer ID Installer: Stefan Westerfeld (ZA556HAPK8)" --root
5858
mkdir -p installer-tmp/SpectMorph.data/SpectMorph
5959
cp -rv $SMDIR/share/spectmorph/instruments installer-tmp/SpectMorph.data/SpectMorph || die "error: cp instruments"
6060
cp -rv $PREFIX/share/spectmorph/templates installer-tmp/SpectMorph.data/SpectMorph || die "error: cp templates"
61+
cp -rv $PREFIX/share/spectmorph/fonts installer-tmp/SpectMorph.data/SpectMorph || die "error: cp fonts"
6162
pkgbuild --sign "Developer ID Installer: Stefan Westerfeld (ZA556HAPK8)" --root installer-tmp/SpectMorph.data --identifier "org.spectmorph.data.SpectMorph.pkg" --version ${PACKAGE_VERSION} --install-location "/tmp/SpectMorph.data" --scripts DataInstallerScript SpectMorph.data.pkg
6263
rm -rf installer-tmp/SpectMorph.data
6364

0 commit comments

Comments
 (0)