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
70dba705
Commit
70dba705
authored
Oct 29, 2020
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments in scripts
parent
20ecbb8c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
.gitmodules
.gitmodules
+3
-0
lame
third_party/lame
+1
-0
build-wavpack.sh
wasm/build-scripts/build-wavpack.sh
+6
-6
install-deps.sh
wasm/build-scripts/install-deps.sh
+2
-0
No files found.
.gitmodules
View file @
70dba705
...
...
@@ -13,3 +13,6 @@
[submodule "third_party/WavPack"]
path = third_party/WavPack
url = https://github.com/ffmpegwasm/WavPack
[submodule "third_party/lame"]
path = third_party/lame
url = https://github.com/ffmpegwasm/lame
lame
@
2badea19
Subproject commit 2badea1974ae36cb8312afe99cff1e6b3b5decee
wasm/build-scripts/build-wavpack.sh
View file @
70dba705
...
...
@@ -7,13 +7,13 @@ LIB_PATH=third_party/WavPack
FLAGS
=
"-s USE_PTHREADS=1
$OPTIM_FLAGS
"
CONF_FLAGS
=(
--prefix
=
$BUILD_DIR
# install library in a build directory for FFmpeg to include
--host
=
x86-linux-gnu
--host
=
x86-linux-gnu
# use x86 linux as host
--disable-asm
# disable asm optimization
--disable-man
--disable-tests
--disable-apps
--disable-dsd
--enable-legacy
--disable-man
# disable docs
--disable-tests
# disable tests
--disable-apps
# disable wavpack apps
--disable-dsd
# disalbe legacy
--enable-legacy
# enable compability for old version of wav
--disable-shared
# enable building static library
)
echo
"CONF_FLAGS=
${
CONF_FLAGS
[@]
}
"
...
...
wasm/build-scripts/install-deps.sh
View file @
70dba705
...
...
@@ -2,6 +2,7 @@
cmds
=()
# Detect what dependencies are missing.
for
cmd
in
autoconf automake libtool
do
if
!
command
-v
$cmd
&> /dev/null
...
...
@@ -10,6 +11,7 @@ do
fi
done
# Install missing dependencies
if
[
${#
cmds
[@]
}
-ne
0
]
;
then
if
[[
"
$OSTYPE
"
==
"linux-gnu"
*
]]
;
then
...
...
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