Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-16 15:09:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f0a2fe235fcec68f8bc4d72dfbdbda5d247c818a
f0a2fe23
1 parent
88094af9
refine scripts, use configure presets.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
7 行删除
trunk/scripts/build.sh
trunk/scripts/package.sh
trunk/scripts/build.sh
查看文件 @
f0a2fe2
...
...
@@ -4,7 +4,7 @@ if [[ ! -d $src_dir ]]; then echo "错误:必须在src同目录执行脚本";
# step 1: build srs
echo
"编译SRS"
./configure --
with-ssl --with-hls --with-http-server --with-http-api --with-ingest --with-transcode --with-http-callback
&&
make
./configure --
x86-x64
&&
make
ret
=
$?
;
if
[[
0 -ne
$ret
]]
;
then
echo
"错误:编译SRS失败"
;
exit
$ret
;
fi
echo
"编译SRS成功"
...
...
trunk/scripts/package.sh
查看文件 @
f0a2fe2
...
...
@@ -45,7 +45,7 @@ if [ $help = yes ]; then
--help print this message
--arm configure with arm and make srs. use arm tools to get info.
--no-build donot build srs, user has builded. only make install.
--no-build donot build srs, user has builded
(./configure --pi && make)
. only make install.
END
exit
0
fi
...
...
@@ -89,15 +89,12 @@ if [ $DO_BUILD = YES ]; then
if
[
$ARM
=
YES
]
;
then
(
cd
$work_dir
&&
./configure --
with-ssl --with-arm-ubuntu12
--prefix
=
$INSTALL
&&
make
./configure --
arm
--prefix
=
$INSTALL
&&
make
)
>>
$log
2>&1
else
(
cd
$work_dir
&&
./configure --with-ssl --with-hls
\
--with-http-server --with-http-api --with-http-callback
\
--with-ingest --with-transcode
\
--prefix
=
$INSTALL
&&
make
./configure --x86-x64 --prefix
=
$INSTALL
&&
make
)
>>
$log
2>&1
fi
ret
=
$?
;
if
[[
0 -ne
${
ret
}
]]
;
then
failed_msg
"build srs failed"
;
exit
$ret
;
fi
...
...
请
注册
或
登录
后发表评论