Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
20ecbb8c
Commit
20ecbb8c
authored
Oct 29, 2020
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install-deps.sh to be compatible with macos
parent
80a8f0a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
install-deps.sh
wasm/build-scripts/install-deps.sh
+16
-13
No files found.
wasm/build-scripts/install-deps.sh
View file @
20ecbb8c
#!/bin/bash
#!/bin/bash
cmds
=(
autoconf automake libtool
)
cmds
=()
# for cmd in autoconf
libtool
for
cmd
in
autoconf automake
libtool
#
do
do
#
if ! command -v $cmd &> /dev/null
if
!
command
-v
$cmd
&> /dev/null
#
then
then
# missingC
mds+=("$cmd")
c
mds+
=(
"
$cmd
"
)
#
fi
fi
#
done
done
if
[[
"
$OSTYPE
"
==
"linux-gnu"
*
]]
;
then
if
[
${#
cmds
[@]
}
-ne
0
]
;
then
if
[[
"
$OSTYPE
"
==
"linux-gnu"
*
]]
;
then
apt-get update
apt-get update
apt-get
install
-y
${
cmds
[@]
}
apt-get
install
-y
${
cmds
[@]
}
else
else
brew
install
${
cmds
[@]
}
brew
install
${
cmds
[@]
}
fi
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment