0 Star 1 Fork 3

bbcallen/vlc-android-macbuild

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
_do_reset_vlc.sh 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
#! /bin/sh
BUILD_PLATFORM='unknown'
if [ "$(uname)" = 'Linux' ]; then
BUILD_PLATFORM='linux'
elif [ "$(uname)" = 'Darwin' ]; then
BUILD_PLATFORM='darwin'
fi
if [ ! -d "vlc-android" ]; then
echp "_do_reset_vlc.sh is not supposed been executed directly"
echo "MUST under vlc-ports/android"
exit 1
fi
# 1/ libvlc, libvlccore and its plugins
TESTED_HASH=a5c4d7a
if [ ! -d "vlc" ]; then
echo "VLC source not found, cloning"
git clone git://git.videolan.org/vlc.git vlc
cd vlc
else
echo "VLC source found"
cd vlc
git reset --hard origin
git fetch origin
fi
echo "======================================="
echo "Reset to brance android ${TESTED_HASH}"
git checkout -B android ${TESTED_HASH}
git am --abort
echo "======================================="
echo "Applying the patches"
sleep 3
git am ../patches/*.patch
if [ ${BUILD_PLATFORM} = 'darwin' ]; then
echo "======================================="
echo "Applying the patches for build on darwin"
# git am ../../patches/vlc-on-macosx/*.patch
fi
echo "======================================="
echo "Applying the patches for libvlc_danmaku"
sleep 3
git am ../../patches/vlc/000*.patch
sleep 3
git am ../../patches/vlc/001*.patch
sleep 3
git am ../../patches/vlc/002*.patch
sleep 3
git am ../../patches/vlc/003*.patch
echo "======================================="
cd -
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/bbcallen/vlc-android-macbuild.git
git@gitee.com:bbcallen/vlc-android-macbuild.git
bbcallen
vlc-android-macbuild
vlc-android-macbuild
master

搜索帮助