File tree Expand file tree Collapse file tree 17 files changed +162
-229
lines changed
Expand file tree Collapse file tree 17 files changed +162
-229
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export LIB_DEPENDS_BIN="cmake"
2323export GIT_LOCAL_REPO=extra/yuv
2424export GIT_COMMIT=eb6e7bb
2525export REPO_DIR=yuv
26- export GIT_REPO_VERSION=stable
26+ export GIT_REPO_VERSION=stable-eb6e7bb
2727export PRE_COMPILE_TAG=yuv-stable-250114175447
2828
2929# you can export GIT_YUV_UPSTREAM=git@xx:yy/yuv.git use your mirror
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
3131cd " $THIS_DIR "
3232
3333# ffmpeg config options
34- source $THIS_DIR /../../configs /ffconfig/module.sh
35- source $THIS_DIR /../../configs /ffconfig/auto-detect-third-libs.sh
34+ source $MR_SHELL_CONFIGS_DIR /ffconfig/module.sh
35+ source $MR_SHELL_CONFIGS_DIR /ffconfig/auto-detect-third-libs.sh
3636
3737CFG_FLAGS=
3838CFG_FLAGS=" $CFG_FLAGS $COMMON_FF_CFG_FLAGS "
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ cd "$THIS_DIR"
2626# 循环编译所有的库
2727for lib in $MR_VENDOR_LIBS
2828do
29- [[ ! -f " ../../configs /libs/${lib} .sh" ]] && (echo " ❌$lib config not exist,compile will stop." ; exit 1; )
29+ [[ ! -f " $MR_SHELL_CONFIGS_DIR /libs/${lib} .sh" ]] && (echo " ❌$lib config not exist,compile will stop." ; exit 1; )
3030
3131 echo " ===[$MR_CMD $lib ]===================="
32- source " ../../configs /libs/${lib} .sh"
32+ source " $MR_SHELL_CONFIGS_DIR /libs/${lib} .sh"
3333
3434 echo " LIB_NAME : [$LIB_NAME ]"
3535 echo " GIT_COMMIT : [$GIT_COMMIT ]"
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ export CXX="$MR_CXX"
4949if [[ $( uname -m) != " $MR_ARCH " || " $MR_FORCE_CROSS " ]]; then
5050 if [[ $MR_IS_SIMULATOR != 1 ]]; then
5151 echo " [*] cross compile, on $( uname -m) compile $MR_PLAT $MR_ARCH ."
52- CFG_FLAGS=" $CFG_FLAGS --cross-file $THIS_DIR /../configs /meson-crossfiles/$MR_ARCH -$MR_PLAT .meson"
52+ CFG_FLAGS=" $CFG_FLAGS --cross-file $MR_SHELL_CONFIGS_DIR /meson-crossfiles/$MR_ARCH -$MR_PLAT .meson"
5353 else
5454 echo " [*] cross compile, on $( uname -m) compile $MR_PLAT $MR_ARCH simulator."
55- CFG_FLAGS=" $CFG_FLAGS --cross-file $THIS_DIR /../configs /meson-crossfiles/$MR_ARCH -$MR_PLAT -simulator.meson"
55+ CFG_FLAGS=" $CFG_FLAGS --cross-file $MR_SHELL_CONFIGS_DIR /meson-crossfiles/$MR_ARCH -$MR_PLAT -simulator.meson"
5656 fi
5757fi
5858
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
3131cd " $THIS_DIR "
3232
3333# ffmpeg config options
34- source $THIS_DIR /../../configs /ffconfig/module.sh
35- source $THIS_DIR /../../configs /ffconfig/auto-detect-third-libs.sh
34+ source $MR_SHELL_CONFIGS_DIR /ffconfig/module.sh
35+ source $MR_SHELL_CONFIGS_DIR /ffconfig/auto-detect-third-libs.sh
3636
3737CFG_FLAGS=
3838CFG_FLAGS=" $CFG_FLAGS $COMMON_FF_CFG_FLAGS "
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ export CXX="$MR_CXX"
4848if [[ $( uname -m) != " $MR_ARCH " || " $MR_FORCE_CROSS " ]]; then
4949 if [[ $MR_IS_SIMULATOR != 1 ]]; then
5050 echo " [*] cross compile, on $( uname -m) compile $MR_PLAT $MR_ARCH ."
51- CFG_FLAGS=" $CFG_FLAGS --cross-file $THIS_DIR /../configs /meson-crossfiles/$MR_ARCH -$MR_PLAT .meson"
51+ CFG_FLAGS=" $CFG_FLAGS --cross-file $MR_SHELL_CONFIGS_DIR /meson-crossfiles/$MR_ARCH -$MR_PLAT .meson"
5252 else
5353 echo " [*] cross compile, on $( uname -m) compile $MR_PLAT $MR_ARCH simulator."
54- CFG_FLAGS=" $CFG_FLAGS --cross-file $THIS_DIR /../configs /meson-crossfiles/$MR_ARCH -$MR_PLAT -simulator.meson"
54+ CFG_FLAGS=" $CFG_FLAGS --cross-file $MR_SHELL_CONFIGS_DIR /meson-crossfiles/$MR_ARCH -$MR_PLAT -simulator.meson"
5555 fi
5656fi
5757
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ export CXX="$MR_CXX"
6363if [[ $( uname -m) != " $MR_ARCH " || " $MR_FORCE_CROSS " ]]; then
6464 if [[ $MR_IS_SIMULATOR != 1 ]]; then
6565 echo " [*] cross compile, on $( uname -m) compile $MR_PLAT $MR_ARCH ."
66- CFG_FLAGS=" $CFG_FLAGS --cross-file $THIS_DIR /../configs /meson-crossfiles/$MR_ARCH -$MR_PLAT .meson"
66+ CFG_FLAGS=" $CFG_FLAGS --cross-file $MR_SHELL_CONFIGS_DIR /meson-crossfiles/$MR_ARCH -$MR_PLAT .meson"
6767 else
6868 echo " [*] cross compile, on $( uname -m) compile $MR_PLAT $MR_ARCH simulator."
69- CFG_FLAGS=" $CFG_FLAGS --cross-file $THIS_DIR /../configs /meson-crossfiles/$MR_ARCH -$MR_PLAT -simulator.meson"
69+ CFG_FLAGS=" $CFG_FLAGS --cross-file $MR_SHELL_CONFIGS_DIR /meson-crossfiles/$MR_ARCH -$MR_PLAT -simulator.meson"
7070 fi
7171fi
7272
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ cd "$THIS_DIR"
2525# 循环编译所有的库
2626for lib in $MR_VENDOR_LIBS
2727do
28- [[ ! -f " ../../configs /libs/${lib} .sh" ]] && (echo " ❌$lib config not exist,compile will stop." ; exit 1; )
28+ [[ ! -f " $MR_SHELL_CONFIGS_DIR /libs/${lib} .sh" ]] && (echo " ❌$lib config not exist,compile will stop." ; exit 1; )
2929
3030 echo " ===[$MR_CMD $lib ]===================="
31- source " ../../configs /libs/${lib} .sh"
31+ source " $MR_SHELL_CONFIGS_DIR /libs/${lib} .sh"
3232
3333 echo " LIB_NAME : [$LIB_NAME ]"
3434 echo " GIT_COMMIT : [$GIT_COMMIT ]"
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ cd "$THIS_DIR"
2525for lib in $MR_VENDOR_LIBS
2626do
2727 echo " ===[init $lib ]==========="
28- [[ ! -f " ../configs /libs/${lib} .sh" ]] && (echo " ❌$lib config not exist,init will stop." ; exit 1; )
29- source " ../configs /libs/${lib} .sh"
28+ [[ ! -f " $MR_SHELL_CONFIGS_DIR /libs/${lib} .sh" ]] && (echo " ❌$lib config not exist,init will stop." ; exit 1; )
29+ source " $MR_SHELL_CONFIGS_DIR /libs/${lib} .sh"
3030 ./init-repo.sh
3131 echo " ========================="
3232done
File renamed without changes.
You can’t perform that action at this time.
0 commit comments