Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
尘离序散
obs-studio
提交
9a095bde
O
obs-studio
项目概览
尘离序散
/
obs-studio
与 Fork 源项目一致
从无法访问的项目Fork
通知
30
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
obs-studio
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9a095bde
编写于
8月 03, 2018
作者:
J
Jim
提交者:
GitHub
8月 03, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1388 from RytoEX/ci-macos
Update macOS CI build image, target, and deps
上级
5b091ce0
6dfeeca6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
27 addition
and
26 deletion
+27
-26
.travis.yml
.travis.yml
+1
-0
CI/before-script-osx.sh
CI/before-script-osx.sh
+1
-1
CI/install-dependencies-osx.sh
CI/install-dependencies-osx.sh
+3
-3
CI/util/build-package-deps-osx.sh
CI/util/build-package-deps-osx.sh
+22
-22
未找到文件。
.travis.yml
浏览文件 @
9a095bde
...
...
@@ -20,6 +20,7 @@ env:
matrix
:
include
:
-
os
:
osx
osx_image
:
xcode9.4
env
:
-
CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake
-
CEF_BUILD_VERSION=3.3282.1726.gc8368c8
...
...
CI/before-script-osx.sh
浏览文件 @
9a095bde
...
...
@@ -4,7 +4,7 @@ export PATH=/usr/local/opt/ccache/libexec:$PATH
mkdir
build
cd
build
cmake
-DENABLE_SPARKLE_UPDATER
=
ON
\
-DCMAKE_OSX_DEPLOYMENT_TARGET
=
10.1
0
\
-DCMAKE_OSX_DEPLOYMENT_TARGET
=
10.1
1
\
-DDepsPath
=
/tmp/obsdeps
\
-DVLCPath
=
$PWD
/../../vlc-master
\
-DBUILD_BROWSER
=
ON
\
...
...
CI/install-dependencies-osx.sh
浏览文件 @
9a095bde
...
...
@@ -24,7 +24,7 @@ sudo installer -pkg ./Packages.pkg -target /
brew update
#Base OBS Deps and ccache
brew
install
qt@5.11 jack speexdsp ccache swig
brew
install
qt@5.11 jack speexdsp ccache swig
mbedtls
export
PATH
=
/usr/local/opt/ccache/libexec:
$PATH
ccache
-s
||
echo
"CCache is not available."
...
...
@@ -41,7 +41,7 @@ unzip -q ./vlc-master.zip
# Get sparkle
hr
"Downloading Sparkle framework"
wget
--quiet
--retry-connrefused
--waitretry
=
1
-O
sparkle.tar.bz2 https://github.com/sparkle-project/Sparkle/releases/download/1.
16.0/Sparkle-1.16
.0.tar.bz2
wget
--quiet
--retry-connrefused
--waitretry
=
1
-O
sparkle.tar.bz2 https://github.com/sparkle-project/Sparkle/releases/download/1.
20.0/Sparkle-1.20
.0.tar.bz2
mkdir
./sparkle
tar
-xf
./sparkle.tar.bz2
-C
./sparkle
sudo cp
-R
./sparkle/Sparkle.framework /Library/Frameworks/Sparkle.framework
...
...
@@ -55,7 +55,7 @@ cd ./cef_binary_${CEF_BUILD_VERSION}_macosx64
sed
-i
'.orig'
'/add_subdirectory(tests\/ceftests)/d'
./CMakeLists.txt
mkdir
build
cd
./build
cmake
-DCMAKE_CXX_FLAGS
=
"-std=c++11 -stdlib=libc++"
-DCMAKE_EXE_LINKER_FLAGS
=
"-std=c++11 -stdlib=libc++"
-DCMAKE_OSX_DEPLOYMENT_TARGET
=
10.
9
..
cmake
-DCMAKE_CXX_FLAGS
=
"-std=c++11 -stdlib=libc++"
-DCMAKE_EXE_LINKER_FLAGS
=
"-std=c++11 -stdlib=libc++"
-DCMAKE_OSX_DEPLOYMENT_TARGET
=
10.
11
..
make
-j4
mkdir
libcef_dll
cd
../../
CI/util/build-package-deps-osx.sh
浏览文件 @
9a095bde
...
...
@@ -41,15 +41,15 @@ mkdir $DEPS_DEST/include
mkdir
$DEPS_DEST
/lib
# OSX COMPAT
export
MACOSX_DEPLOYMENT_TARGET
=
10.
9
export
MACOSX_DEPLOYMENT_TARGET
=
10.
11
# If you need an olders SDK and Xcode won't give it to you
# https://github.com/phracker/MacOSX-SDKs
# libopus
curl
-L
-O
http
://downloads.xiph.org/releases/opus/opus-1.1.3
.tar.gz
tar
-xf
opus-1.
1.3
.tar.gz
cd
./opus-1.
1.3
curl
-L
-O
http
s://ftp.osuosl.org/pub/xiph/releases/opus/opus-1.2.1
.tar.gz
tar
-xf
opus-1.
2.1
.tar.gz
cd
./opus-1.
2.1
mkdir
build
cd
./build
../configure
--disable-shared
--enable-static
--prefix
=
"/tmp/obsdeps"
...
...
@@ -59,9 +59,9 @@ make install
cd
$WORK_DIR
# libogg
curl
-L
-O
http
://downloads.xiph.org/releases/ogg/libogg-1.3.2
.tar.gz
tar
-xf
libogg-1.3.
2
.tar.gz
cd
./libogg-1.3.
2
curl
-L
-O
http
s://ftp.osuosl.org/pub/xiph/releases/ogg/libogg-1.3.3
.tar.gz
tar
-xf
libogg-1.3.
3
.tar.gz
cd
./libogg-1.3.
3
mkdir
build
cd
./build
../configure
--disable-shared
--enable-static
--prefix
=
"/tmp/obsdeps"
...
...
@@ -71,9 +71,9 @@ make install
cd
$WORK_DIR
# libvorbis
curl
-L
-O
http
://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5
.tar.gz
tar
-xf
libvorbis-1.3.
5
.tar.gz
cd
./libvorbis-1.3.
5
curl
-L
-O
http
s://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-1.3.6
.tar.gz
tar
-xf
libvorbis-1.3.
6
.tar.gz
cd
./libvorbis-1.3.
6
mkdir
build
cd
./build
../configure
--disable-shared
--enable-static
--prefix
=
"/tmp/obsdeps"
...
...
@@ -83,9 +83,9 @@ make install
cd
$WORK_DIR
# libvpx
curl
-L
-O
http
://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6.0.tar.bz2
tar
-xf
libvpx-1.
6.0.tar.bz2
cd
./libvpx-1.
6
.0
curl
-L
-O
http
s://chromium.googlesource.com/webm/libvpx/+archive/v1.7.0.tar.gz
tar
-xf
libvpx-1.
7.0.tar.gz
cd
./libvpx-1.
7
.0
mkdir
build
cd
./build
../configure
--disable-shared
--libdir
=
"/tmp/obsdeps/bin"
...
...
@@ -100,10 +100,10 @@ cd ./x264
git checkout origin/stable
mkdir
build
cd
./build
../configure
--extra-ldflags
=
"-mmacosx-version-min=10.
9
"
--enable-static
--prefix
=
"/tmp/obsdeps"
../configure
--extra-ldflags
=
"-mmacosx-version-min=10.
11
"
--enable-static
--prefix
=
"/tmp/obsdeps"
make
-j
12
make
install
../configure
--extra-ldflags
=
"-mmacosx-version-min=10.
9
"
--enable-shared
--libdir
=
"/tmp/obsdeps/bin"
--prefix
=
"/tmp/obsdeps"
../configure
--extra-ldflags
=
"-mmacosx-version-min=10.
11
"
--enable-shared
--libdir
=
"/tmp/obsdeps/bin"
--prefix
=
"/tmp/obsdeps"
make
-j
12
ln
-f
-s
libx264.
*
.dylib libx264.dylib
find
.
-name
\*
.dylib
-exec
cp
\{\}
$DEPS_DEST
/bin/
\;
...
...
@@ -113,9 +113,9 @@ rsync -avh --include="*/" --include="*.h" --exclude="*" ./* $DEPS_DEST/include/
cd
$WORK_DIR
# janson
curl
-L
-O
http://www.digip.org/jansson/releases/jansson-2.
9
.tar.gz
tar
-xf
jansson-2.
9
.tar.gz
cd
jansson-2.
9
curl
-L
-O
http://www.digip.org/jansson/releases/jansson-2.
11
.tar.gz
tar
-xf
jansson-2.
11
.tar.gz
cd
jansson-2.
11
mkdir
build
cd
./build
../configure
--libdir
=
"/tmp/obsdeps/bin"
--enable-shared
--disable-static
...
...
@@ -130,12 +130,12 @@ export LDFLAGS="-L/tmp/obsdeps/lib"
export
CFLAGS
=
"-I/tmp/obsdeps/include"
# FFMPEG
curl
-L
-O
https://github.com/FFmpeg/FFmpeg/archive/n
3.2
.2.zip
unzip ./n
3.2
.2.zip
cd
./FFmpeg-n
3.2
.2
curl
-L
-O
https://github.com/FFmpeg/FFmpeg/archive/n
4.0
.2.zip
unzip ./n
4.0
.2.zip
cd
./FFmpeg-n
4.0
.2
mkdir
build
cd
./build
../configure
--extra-ldflags
=
"-mmacosx-version-min=10.
9
"
--enable-shared
--disable-static
--shlibdir
=
"/tmp/obsdeps/bin"
--enable-gpl
--disable-doc
--enable-libx264
--enable-libopus
--enable-libvorbis
--enable-libvpx
--disable-outdev
=
sdl
../configure
--extra-ldflags
=
"-mmacosx-version-min=10.
11
"
--enable-shared
--disable-static
--shlibdir
=
"/tmp/obsdeps/bin"
--enable-gpl
--disable-doc
--enable-libx264
--enable-libopus
--enable-libvorbis
--enable-libvpx
--disable-outdev
=
sdl
make
-j
12
find
.
-name
\*
.dylib
-exec
cp
\{\}
$DEPS_DEST
/bin/
\;
rsync
-avh
--include
=
"*/"
--include
=
"*.h"
--exclude
=
"*"
../
*
$DEPS_DEST
/include/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录