File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,35 @@ install_cef() {
119119 fi
120120}
121121
122+ install_ads () {
123+ status " Set up dependency ADS"
124+ ensure_dir " ${DEPS_BUILD_DIR} "
125+
126+ step " Clone repo..."
127+ git clone https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git ADS
128+ cd ADS
129+
130+ step " Run CMake..."
131+ cmake -S . -B build -G Ninja \
132+ -DCMAKE_BUILD_TYPE=Release \
133+ -DCMAKE_PREFIX_PATH=" ${DEPS_BUILD_DIR} /obs-deps" \
134+ -DCMAKE_INSTALL_PREFIX=" ${DEPS_BUILD_DIR} /obs-deps" \
135+ -DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:- ${CI_MACOSX_DEPLOYMENT_TARGET} } \
136+ -DCMAKE_OSX_ARCHITECTURES=${CMAKE_ARCHS} \
137+ -DBUILD_EXAMPLES=OFF \
138+ -DBUILD_STATIC=ON \
139+ ${QUIET: +-Wno-deprecated -Wno-dev --log-level=ERROR}
140+
141+ step " Build ADS..."
142+ cmake --build build
143+
144+ step " Install ADS..."
145+ cmake --install build
146+
147+ ensure_dir " ${DEPS_BUILD_DIR} "
148+ /usr/bin/xattr -r -d com.apple.quarantine ./obs-deps
149+ }
150+
122151install_dependencies () {
123152 status " Install Homebrew dependencies"
124153 trap " caught_error 'install_dependencies'" ERR
@@ -139,6 +168,8 @@ install_dependencies() {
139168 FUNC_NAME=" install_${1} "
140169 ${FUNC_NAME} ${2} ${3} ${4}
141170 done
171+
172+ install_ads
142173}
143174
144175install-dependencies-standalone () {
You can’t perform that action at this time.
0 commit comments