CI: Update scripts for reorganized OSX bundle
This commit is contained in:
30
CI/install/osx/Info.plist
Normal file
30
CI/install/osx/Info.plist
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>obs.icns</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>OBS</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>OBS - Free and Open Source Streaming/Recording Software</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>OBS</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.obsproject.obs-studio</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.8.5</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>LSAppNapIsDisabled</key>
|
||||
<true/>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>OBS needs to access the camera to enable camera sources to work.</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>OBS needs to access the microphone to enable audio input.</string>
|
||||
</dict>
|
||||
</plist>
|
BIN
CI/install/osx/background.png
Normal file
BIN
CI/install/osx/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
CI/install/osx/background.pxd/QuickLook/Icon.tiff
Normal file
BIN
CI/install/osx/background.pxd/QuickLook/Icon.tiff
Normal file
Binary file not shown.
BIN
CI/install/osx/background.pxd/QuickLook/Preview.tiff
Normal file
BIN
CI/install/osx/background.pxd/QuickLook/Preview.tiff
Normal file
Binary file not shown.
BIN
CI/install/osx/background.pxd/QuickLook/Thumbnail.tiff
Normal file
BIN
CI/install/osx/background.pxd/QuickLook/Thumbnail.tiff
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
CI/install/osx/background.pxd/metadata.info
Normal file
BIN
CI/install/osx/background.pxd/metadata.info
Normal file
Binary file not shown.
BIN
CI/install/osx/background.tiff
Normal file
BIN
CI/install/osx/background.tiff
Normal file
Binary file not shown.
BIN
CI/install/osx/background@2x.png
Normal file
BIN
CI/install/osx/background@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
1
CI/install/osx/buildDMG
Executable file
1
CI/install/osx/buildDMG
Executable file
@@ -0,0 +1 @@
|
||||
dmgbuild -s ./settings.json "OBS" obs.dmg
|
1
CI/install/osx/makeRetinaBG
Executable file
1
CI/install/osx/makeRetinaBG
Executable file
@@ -0,0 +1 @@
|
||||
tiffutil -cathidpicheck background.png background@2x.png -out background.tiff
|
BIN
CI/install/osx/obs.icns
Normal file
BIN
CI/install/osx/obs.icns
Normal file
Binary file not shown.
25
CI/install/osx/packageApp
Executable file
25
CI/install/osx/packageApp
Executable file
@@ -0,0 +1,25 @@
|
||||
mkdir OBS.app
|
||||
mkdir OBS.app/Contents
|
||||
mkdir OBS.app/Contents/MacOS
|
||||
mkdir OBS.app/Contents/Plugins
|
||||
mkdir OBS.app/Contents/Resources
|
||||
|
||||
cp -r rundir/RelWithDebInfo/bin/ ./OBS.app/Contents/MacOS
|
||||
cp -r rundir/RelWithDebInfo/data ./OBS.app/Contents/Resources
|
||||
cp ../CI/install/osx/obs.icns ./OBS.app/Contents/Resources
|
||||
cp -r rundir/RelWithDebInfo/obs-plugins/ ./OBS.app/Contents/Plugins
|
||||
cp ../CI/install/osx/Info.plist ./OBS.app/Contents
|
||||
|
||||
/usr/local/Cellar/qt/5.10.1/bin/macdeployqt ./OBS.app
|
||||
|
||||
install_name_tool -change /usr/local/opt/qt/lib/QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui ./OBS.app/Contents/Plugins/decklink-ouput-ui.so
|
||||
|
||||
install_name_tool -change /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore ./OBS.app/Contents/Plugins/decklink-ouput-ui.so
|
||||
|
||||
install_name_tool -change /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets ./OBS.app/Contents/Plugins/decklink-ouput-ui.so
|
||||
|
||||
install_name_tool -change /usr/local/opt/qt/lib/QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui ./OBS.app/Contents/Plugins/frontend-tools.so
|
||||
|
||||
install_name_tool -change /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore ./OBS.app/Contents/Plugins/frontend-tools.so
|
||||
|
||||
install_name_tool -change /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets ./OBS.app/Contents/Plugins/frontend-tools.so
|
13
CI/install/osx/settings.json
Normal file
13
CI/install/osx/settings.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "OBS",
|
||||
"background": "../CI/install/osx/background.tiff",
|
||||
"format": "UDZO",
|
||||
"compression-level": 9,
|
||||
"window": { "position": { "x": 100, "y": 100 },
|
||||
"size": { "width": 540, "height": 380 } },
|
||||
"contents": [
|
||||
{ "x": 120, "y": 180, "type": "file",
|
||||
"path": "./OBS.app" },
|
||||
{ "x": 420, "y": 180, "type": "link", "path": "/Applications" }
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user