Skip to content

Commit 76d0552

Browse files
committed
fix compile shell
1 parent dbf601a commit 76d0552

File tree

17 files changed

+162
-229
lines changed

17 files changed

+162
-229
lines changed

configs/libs/yuv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export LIB_DEPENDS_BIN="cmake"
2323
export GIT_LOCAL_REPO=extra/yuv
2424
export GIT_COMMIT=eb6e7bb
2525
export REPO_DIR=yuv
26-
export GIT_REPO_VERSION=stable
26+
export GIT_REPO_VERSION=stable-eb6e7bb
2727
export PRE_COMPILE_TAG=yuv-stable-250114175447
2828

2929
# you can export GIT_YUV_UPSTREAM=git@xx:yy/yuv.git use your mirror

do-compile/android/ffmpeg.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
3131
cd "$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

3737
CFG_FLAGS=
3838
CFG_FLAGS="$CFG_FLAGS $COMMON_FF_CFG_FLAGS"

do-compile/android/main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ cd "$THIS_DIR"
2626
# 循环编译所有的库
2727
for lib in $MR_VENDOR_LIBS
2828
do
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]"

do-compile/apple/dav1d.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ export CXX="$MR_CXX"
4949
if [[ $(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
5757
fi
5858

do-compile/apple/ffmpeg.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
3131
cd "$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

3737
CFG_FLAGS=
3838
CFG_FLAGS="$CFG_FLAGS $COMMON_FF_CFG_FLAGS"

do-compile/apple/freetype.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export CXX="$MR_CXX"
4848
if [[ $(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
5656
fi
5757

do-compile/apple/harfbuzz.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ export CXX="$MR_CXX"
6363
if [[ $(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
7171
fi
7272

do-compile/apple/main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ cd "$THIS_DIR"
2525
# 循环编译所有的库
2626
for lib in $MR_VENDOR_LIBS
2727
do
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]"

do-init/main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ cd "$THIS_DIR"
2525
for lib in $MR_VENDOR_LIBS
2626
do
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 "========================="
3232
done

0 commit comments

Comments
 (0)