-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
14 changed files
with
190 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mod-plugin-builder
updated
from c7ffed to f0ea33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>mod-app</string> | ||
<key>CFBundleIconFile</key> | ||
<string>mod-logo.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>audio.mod.app</string> | ||
<key>NSHighResolutionCapable</key> | ||
<true/> | ||
<key>NSRequiresAquaSystemAppearance</key> | ||
<false/> | ||
<key>NSMicrophoneUsageDescription</key> | ||
<string>MOD App requires microphone permissions for audio input.</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.15</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>(C) 2023 MOD Audio UG. | ||
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [ ! -d build ]; then | ||
echo "Please run this script from the root folder" | ||
exit | ||
fi | ||
|
||
QTLIBS=("Core" "Gui" "OpenGL" "PrintSupport" "Svg" "Widgets") | ||
|
||
rm -rf mod-ui/mod/__pycache__ | ||
rm -rf mod-ui/mod/communication/__pycache__ | ||
rm -rf mod-ui/modtools/__pycache__ | ||
|
||
rm -rf build/dmg | ||
mkdir build/dmg | ||
|
||
cp -rL build/mod-app.app build/dmg/ | ||
cp utils/macos-readme.txt build/dmg/README.txt | ||
|
||
pushd build/dmg/mod-app.app/Contents | ||
|
||
rm -rf Frameworks/*/*.prl | ||
rm -rf Frameworks/*/Headers | ||
rm -rf Frameworks/*/Versions | ||
rm -rf MacOS/data | ||
|
||
for f in $(ls Frameworks/*/Qt* PlugIns/*/libq*.dylib); do | ||
for q in "${QTLIBS[@]}"; do | ||
install_name_tool -change "@rpath/Qt${q}.framework/Versions/5/Qt${q}" "@executable_path/../Frameworks/Qt${q}.framework/Qt${q}" "${f}" | ||
done | ||
done | ||
|
||
for f in $(ls MacOS/jackd MacOS/lib/libmod_utils.so MacOS/libjack*.dylib MacOS/jack/*.so); do | ||
install_name_tool -change "${HOME}/PawPawBuilds/targets/macos-universal-10.15/lib/libjack.0.1.0.dylib" "@executable_path/libjack.0.dylib" "${f}" | ||
install_name_tool -change "${HOME}/PawPawBuilds/targets/macos-universal-10.15/lib/libjackserver.0.1.0.dylib" "@executable_path/libjackserver.0.dylib" "${f}" | ||
done | ||
|
||
popd | ||
|
||
hdiutil create "mod-app-$(make version)-macOS.dmg" -srcfolder build/dmg -volname "MOD App" -fs HFS+ -ov | ||
rm -rf build/dmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
README for MOD Audio for macOS | ||
|
||
For the moment the application bundle is not signed, and as such it will refuse to run by default. | ||
|
||
To allow the application to run, please right-click on it and select open. | ||
A warning will appear saying macOS cannot verify the application, that is expected. | ||
Right-click and select to open it a 2nd time, and this time pick the new "Open" option to allow it to run. | ||
|
||
Also, MOD App requires macOS 10.15 or later, it will not run on older versions. |
Oops, something went wrong.