File tree Expand file tree Collapse file tree 6 files changed +8
-2
lines changed Expand file tree Collapse file tree 6 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export GIT_COMMIT=1.3.4
30
30
export GIT_WITH_SUBMODULE=1
31
31
export REPO_DIR=bluray
32
32
export GIT_REPO_VERSION=1.3.4
33
+ export PATCH_DIR=bluray
33
34
34
35
# you can export GIT_BLURAY_UPSTREAM=git@xx:yy/libbluray.git use your mirror
35
36
if [[ " $GIT_BLURAY_UPSTREAM " != " " ]] ; then
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export GIT_LOCAL_REPO=extra/smb2
30
30
export GIT_COMMIT=libsmb2-6.2
31
31
export REPO_DIR=smb2
32
32
export GIT_REPO_VERSION=6.2
33
+ export PATCH_DIR=smb2-6.2
33
34
34
35
# you can export GIT_SMB2_UPSTREAM=git@xx:yy/libsmb2.git use your mirror
35
36
if [[ " $GIT_SMB2_UPSTREAM " != " " ]] ; then
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export GIT_LOCAL_REPO=extra/soundtouch
30
30
export REPO_DIR=soundtouch
31
31
export GIT_COMMIT=2.3.3
32
32
export GIT_REPO_VERSION=2.3.3
33
+ export PATCH_DIR=soundtouch
33
34
34
35
# you can export GIT_SOUNDTOUCH_UPSTREAM=git@xx:yy/soundtouch.git use your mirror
35
36
if [[ " $GIT_SOUNDTOUCH_UPSTREAM " != " " ]] ; then
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export GIT_LOCAL_REPO=extra/uavs3d
28
28
export GIT_COMMIT=1fd0491
29
29
export REPO_DIR=uavs3d
30
30
export GIT_REPO_VERSION=1.2.1
31
+ export PATCH_DIR=uavs3d
31
32
32
33
# you can export GIT_UAVS3D_UPSTREAM=git@xx:yy/UAVS3D.git use your mirror
33
34
if [[ " $GIT_UAVS3D_UPSTREAM " != " " ]] ; then
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export GIT_LOCAL_REPO=extra/yuv
25
25
export GIT_COMMIT=eb6e7bb
26
26
export REPO_DIR=yuv
27
27
export GIT_REPO_VERSION=stable-eb6e7bb
28
+ export PATCH_DIR=yuv
28
29
29
30
# you can export GIT_YUV_UPSTREAM=git@xx:yy/yuv.git use your mirror
30
31
if [[ " $GIT_YUV_UPSTREAM " != " " ]] ; then
Original file line number Diff line number Diff line change @@ -66,17 +66,18 @@ function pull_common() {
66
66
}
67
67
68
68
function apply_patches() {
69
- if [[ " $SKIP_FFMPEG_PATHCHES " && $REPO_DIR == ' ffmpeg' ]]; then
69
+ if [[ " $SKIP_FFMPEG_PATHCHES " && $LIB_NAME == ffmpeg* ]]; then
70
70
echo " ⚠️ skip apply $REPO_DIR patches,because you set SKIP_FFMPEG_PATHCHES env."
71
71
return
72
72
fi
73
73
74
74
local plat=" $MR_PLAT "
75
- local patch_dir=" ${THIS_DIR} /../patches/$REPO_DIR "
75
+ local patch_dir=" ${THIS_DIR} /../patches/$PATCH_DIR "
76
76
77
77
if [[ -d " ${patch_dir} _${plat} " ]]; then
78
78
patch_dir=" ${patch_dir} _${plat} "
79
79
fi
80
+
80
81
if [[ -d " $patch_dir " ]]; then
81
82
echo
82
83
echo " == Applying patches: $( basename $patch_dir ) → $( basename $PWD ) =="
You can’t perform that action at this time.
0 commit comments