Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 4 additions & 25 deletions Project/GNU/GUI/AddThisToRoot_GUI_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,23 @@ Parallel_Make () {

Home=`pwd`
ZenLib_Options=""
MacOptions="--with-macosx-version-min=10.10 --enable-arch-x86_64"
MacOptions="--with-macosx-version-min=11.0 --enable-arch-x86_64 --enable-arch-arm64"

OS=$(uname -s)
# expr isn't available on mac
if [ "$OS" = "Darwin" ]; then
OS="mac"
BINARY="MediaConch.app/Contents/MacOS/MediaConch"
if test -d ~/Qt/5.3/clang_64/bin; then
export PATH=$PATH:~/Qt/5.3/clang_64/bin
fi
# if the 5 first caracters of $OS equal "Linux"
elif [ "$(expr substr $OS 1 5)" = "Linux" ]; then
OS="linux"
BINARY="mediaconch-gui"
#elif [ "$(expr substr $OS 1 5)" = "SunOS" ]; then
# OS="solaris"
#elif [ "$(expr substr $OS 1 7)" = "FreeBSD" ]; then
# OS="freebsd"
fi

if [ "$OS" = "mac" ] ; then
export CXXFLAGS="-mmacosx-version-min=10.10 -arch x86_64 $CXXFLAGS"
export CFLAGS="-mmacosx-version-min=10.10 -arch x86_64 $CFLAGS"
export LDFLAGS="-mmacosx-version-min=10.10 -arch x86_64 $LDFLAGS"
export CXXFLAGS="-mmacosx-version-min=11.0 -arch x86_64 -arch arm64 $CXXFLAGS"
export CFLAGS="-mmacosx-version-min=11.0 -arch x86_64 -arch arm64 $CFLAGS"
export LDFLAGS="-mmacosx-version-min=11.0 -arch x86_64 -arch arm64 $LDFLAGS"
fi

##################################################################
Expand Down Expand Up @@ -187,20 +180,6 @@ else
fi
cd $Home

##################################################################
# Compile zlib

cd Shared/Source/zlib
make clean
Parallel_Make
if test -e libz.a; then
echo zlib compiled
else
echo Problem while compiling zlib
exit
fi
cd $Home

##################################################################
# Compile ZenLib

Expand Down
4 changes: 2 additions & 2 deletions Project/Mac/Info-ns.plist
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
<key>DTSDKBuild</key>
<string>10K549</string>
<key>DTSDKName</key>
<string>macosx10.13</string>
<string>macosx11.0</string>
<key>DTXcode</key>
<string>0420</string>
<key>DTXcodeBuild</key>
<string>4C199</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
<string>11.0</string>
<key>NSHumanReadableCopyright</key>
<string>(c) MediaArea.net</string>
<key>NSMainNibFile</key>
Expand Down
4 changes: 2 additions & 2 deletions Project/Mac/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
<key>DTSDKBuild</key>
<string>10K549</string>
<key>DTSDKName</key>
<string>macosx10.13</string>
<string>macosx11.0</string>
<key>DTXcode</key>
<string>0420</string>
<key>DTXcodeBuild</key>
<string>4C199</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
<string>11.0</string>
<key>NSHumanReadableCopyright</key>
<string>(c) MediaArea.net</string>
<key>NSMainNibFile</key>
Expand Down
2 changes: 1 addition & 1 deletion Project/Mac/Make_MC_dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if [ "$KIND" = "GUI" ]; then
echo Signing the application...
echo

codesign --options=runtime --force --verbose --entitlements QtWebEngineProcess-ns.entitlements --sign "Developer ID Application: ${SIGNATURE}" "${FILES}/${APPNAME}.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess"
codesign --options=runtime --force --verbose --entitlements QtWebEngineProcess-ns.entitlements --sign "Developer ID Application: ${SIGNATURE}" "${FILES}/${APPNAME}.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app"
codesign --deep --options=runtime --force --verbose --preserve-metadata=identifier,entitlements --sign "Developer ID Application: ${SIGNATURE}" "${FILES}/${APPNAME}.app"

echo
Expand Down
6 changes: 6 additions & 0 deletions Project/Mac/QtWebEngineProcess-ns.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
Expand Down
10 changes: 7 additions & 3 deletions Project/Qt/MediaConch.pro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ unix:!macx:TARGET = mediaconch-gui
else:TARGET = MediaConch
TEMPLATE = app

CONFIG += qt release c++11
CONFIG += qt release c++17
CONFIG += no_keywords

unix:CONFIG += link_pkgconfig
Expand Down Expand Up @@ -351,16 +351,20 @@ contains(NO_LIBEVENT, yes|1) {
}
}

macx {
QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
}

macx:contains(MACSTORE, yes|1) {
QMAKE_LFLAGS+=-Wl,-ld_classic
QMAKE_CFLAGS += -gdwarf-2
QMAKE_CXXFLAGS += -gdwarf-2
QMAKE_INFO_PLIST = ../Mac/Info.plist
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
QMAKE_MACOSX_DEPLOYMENT_TARGET = 11.0
} else:macx {
QMAKE_LFLAGS+=-Wl,-ld_classic
QMAKE_INFO_PLIST = ../Mac/Info-ns.plist
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
QMAKE_MACOSX_DEPLOYMENT_TARGET = 11.0
}

win32 {
Expand Down
109 changes: 0 additions & 109 deletions Release/CleanUp.bat

This file was deleted.

48 changes: 0 additions & 48 deletions Release/Release_CLI_GNU.sub

This file was deleted.

Loading
Loading