Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-04-19 17:56:52 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-04-19 17:56:52 +0300
commit4a9ef1675d3ee233beb4df8558c9ad0b8fb023fa (patch)
tree5761901dbcd275dea1d23c9a9db4cd29fa490aed /build_ffmpeg.sh
parentc2d5946e8238587479bcaf13996ffba6042f755b (diff)
Use a submodule for dcadec instead of pre-compiled binaries
Diffstat (limited to 'build_ffmpeg.sh')
-rw-r--r--build_ffmpeg.sh19
1 files changed, 18 insertions, 1 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh
index 69443e4c..a810d835 100644
--- a/build_ffmpeg.sh
+++ b/build_ffmpeg.sh
@@ -5,6 +5,8 @@ archdir=Win32
clean_build=true
cross_prefix=
+export PKG_CONFIG_PATH=$(pwd)/thirdparty/build/lib/pkgconfig/
+
for opt in "$@"
do
case "$opt" in
@@ -114,10 +116,25 @@ build() (
make -j$NUMBER_OF_PROCESSORS
)
-echo Building ffmpeg in GCC ${arch} Release config...
+build_dcadec() (
+ cd thirdparty/dcadec
+ if $clean_build ; then
+ make CONFIG_WINDOWS=1 clean
+ fi
+ make -j$NUMBER_OF_PROCESSORS CONFIG_WINDOWS=1 CONFIG_NDEBUG=1 CC=${cross_prefix}gcc AR=${cross_prefix}ar PREFIX=$WORKINGDIR/thirdparty/build install
+)
make_dirs
+echo Building dcadec
+echo
+
+build_dcadec
+
+echo
+echo Building ffmpeg in GCC ${arch} Release config...
+echo
+
cd ffmpeg
if $clean_build ; then