Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_51672696
opencv-python
提交
0066feb1
O
opencv-python
项目概览
weixin_51672696
/
opencv-python
与 Fork 源项目一致
Fork自
OpenCV / opencv-python
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
opencv-python
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0066feb1
编写于
1月 25, 2022
作者:
A
Andrey Senyaev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added versions of dependecies as arguments in dockerfiles
上级
0a17e6c9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
82 addition
and
61 deletion
+82
-61
docker/manylinux2014/Dockerfile_aarch64
docker/manylinux2014/Dockerfile_aarch64
+27
-20
docker/manylinux2014/Dockerfile_i686
docker/manylinux2014/Dockerfile_i686
+32
-24
docker/manylinux2014/Dockerfile_x86_64
docker/manylinux2014/Dockerfile_x86_64
+23
-17
未找到文件。
docker/manylinux2014/Dockerfile_aarch64
浏览文件 @
0066feb1
FROM quay.io/pypa/manylinux2014_aarch64:latest
ARG CCACHE_VERSION=3.7.9
ARG FFMPEG_VERSION=4.4.1
ARG NASM_VERSION=2.15.04
ARG OPENSSL_VERSION=1_1_1m
ARG QT_VERSION=5.15.0
ARG YASM_VERSION=1.3.0
RUN yum install bzip2-devel curl-devel zlib-devel xcb-util-renderutil-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel mesa-libGL-devel libxkbcommon-devel libxkbcommon-x11-devel libXi-devel freetype-devel -y
RUN curl -O -L https://download.qt.io/official_releases/qt/5.15/
5.15.0/single/qt-everywhere-src-5.15.0
.tar.xz && \
tar -xf qt-everywhere-src-
5.15.0
.tar.xz && \
RUN curl -O -L https://download.qt.io/official_releases/qt/5.15/
${QT_VERSION}/single/qt-everywhere-src-${QT_VERSION}
.tar.xz && \
tar -xf qt-everywhere-src-
${QT_VERSION}
.tar.xz && \
cd qt-everywhere* && \
export MAKEFLAGS=-j$(nproc) && \
./configure -prefix /opt/Qt
5.15.0
-release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
./configure -prefix /opt/Qt
${QT_VERSION}
-release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
make && \
make install && \
cd .. && \
rm -rf qt-everywhere-src-
5.15.0
&& \
rm qt-everywhere-src-
5.15.0
.tar.xz
rm -rf qt-everywhere-src-
${QT_VERSION}
&& \
rm qt-everywhere-src-
${QT_VERSION}
.tar.xz
ENV QTDIR /opt/Qt
5.15.0
ENV QTDIR /opt/Qt
${QT_VERSION}
ENV PATH "$QTDIR/bin:$PATH"
RUN mkdir ~/ffmpeg_sources && \
cd ~/ffmpeg_sources && \
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_
1_1_1m
.tar.gz && \
tar -xf OpenSSL_
1_1_1m
.tar.gz && \
cd openssl-OpenSSL_
1_1_1m
&& \
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_
${OPENSSL_VERSION}
.tar.gz && \
tar -xf OpenSSL_
${OPENSSL_VERSION}
.tar.gz && \
cd openssl-OpenSSL_
${OPENSSL_VERSION}
&& \
./config --prefix="$HOME/ffmpeg_build" --openssldir="$HOME/ffmpeg_build" no-pinshared shared zlib && \
make -j$(getconf _NPROCESSORS_ONLN) && \
# skip installing documentation
...
...
@@ -28,16 +35,16 @@ RUN mkdir ~/ffmpeg_sources && \
rm -rf ~/openssl_build
RUN cd ~/ffmpeg_sources && \
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/
2.15.04/nasm-2.15.04
.tar.bz2 && \
tar -xf nasm-
2.15.04.tar.bz2 && cd nasm-2.15.04
&& ./autogen.sh && \
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/
${NASM_VERSION}/nasm-${NASM_VERSION}
.tar.bz2 && \
tar -xf nasm-
${NASM_VERSION}.tar.bz2 && cd nasm-${NASM_VERSION}
&& ./autogen.sh && \
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
RUN cd ~/ffmpeg_sources && \
curl -O -L http://www.tortall.net/projects/yasm/releases/yasm-
1.3.0
.tar.gz && \
tar -xf yasm-
1.3.0
.tar.gz && \
cd yasm-
1.3.0
&& \
curl -O -L http://www.tortall.net/projects/yasm/releases/yasm-
${YASM_VERSION}
.tar.gz && \
tar -xf yasm-
${YASM_VERSION}
.tar.gz && \
cd yasm-
${YASM_VERSION}
&& \
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
...
...
@@ -50,9 +57,9 @@ RUN cd ~/ffmpeg_sources && \
make install
RUN cd ~/ffmpeg_sources && \
curl -O -L https://ffmpeg.org/releases/ffmpeg-
4.4.1
.tar.bz2 && \
tar -xf ffmpeg-
4.4.1
.tar.bz2 && \
cd ffmpeg-
4.4.1
&& \
curl -O -L https://ffmpeg.org/releases/ffmpeg-
${FFMPEG_VERSION}
.tar.bz2 && \
tar -xf ffmpeg-
${FFMPEG_VERSION}
.tar.bz2 && \
cd ffmpeg-
${FFMPEG_VERSION}
&& \
PATH=~/bin:$PATH && \
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --enable-openssl --enable-libvpx --enable-shared --enable-pic --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
...
...
@@ -61,9 +68,9 @@ RUN cd ~/ffmpeg_sources && \
ldconfig && \
rm -rf ~/ffmpeg_sources
RUN curl -O -L https://github.com/ccache/ccache/releases/download/v
3.7.9/ccache-3.7.9
.tar.gz && \
tar -xf ccache-
3.7.9
.tar.gz && \
cd ccache-
3.7.9
&& \
RUN curl -O -L https://github.com/ccache/ccache/releases/download/v
${CCACHE_VERSION}/ccache-${CCACHE_VERSION}
.tar.gz && \
tar -xf ccache-
${CCACHE_VERSION}
.tar.gz && \
cd ccache-
${CCACHE_VERSION}
&& \
linux32 ./configure && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
...
...
docker/manylinux2014/Dockerfile_i686
浏览文件 @
0066feb1
FROM quay.io/pypa/manylinux2014_i686:latest
ARG CCACHE_VERSION=3.7.9
ARG CMAKE_VERSION=3.17.0
ARG FFMPEG_VERSION=4.4.1
ARG NASM_VERSION=2.15.04
ARG OPENSSL_VERSION=1_1_1m
ARG QT_VERSION=5.15.0
ARG YASM_VERSION=1.3.0
RUN yum install bzip2-devel curl-devel zlib-devel xcb-util-renderutil-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel mesa-libGL-devel libxkbcommon-devel libxkbcommon-x11-devel libXi-devel freetype-devel -y
RUN curl -O -L https://download.qt.io/official_releases/qt/5.15/
5.15.0/single/qt-everywhere-src-5.15.0
.tar.xz && \
tar -xf qt-everywhere-src-
5.15.0
.tar.xz && \
RUN curl -O -L https://download.qt.io/official_releases/qt/5.15/
${QT_VERSION}/single/qt-everywhere-src-${QT_VERSION}
.tar.xz && \
tar -xf qt-everywhere-src-
${QT_VERSION}
.tar.xz && \
cd qt-everywhere* && \
export MAKEFLAGS=-j$(nproc) && \
./configure -prefix /opt/Qt
5.15.0
-release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
./configure -prefix /opt/Qt
${QT_VERSION}
-release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
make && \
make install && \
cd .. && \
rm -rf qt-everywhere-src-
5.15.0
&& \
rm qt-everywhere-src-
5.15.0
.tar.xz
rm -rf qt-everywhere-src-
${QT_VERSION}
&& \
rm qt-everywhere-src-
${QT_VERSION}
.tar.xz
ENV QTDIR /opt/Qt
5.15.0
ENV QTDIR /opt/Qt
${QT_VERSION}
ENV PATH "$QTDIR/bin:$PATH"
RUN mkdir ~/ffmpeg_sources && \
cd ~/ffmpeg_sources && \
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_
1_1_1m
.tar.gz && \
tar -xf OpenSSL_
1_1_1m
.tar.gz && \
cd openssl-OpenSSL_
1_1_1m
&& \
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_
${OPENSSL_VERSION}
.tar.gz && \
tar -xf OpenSSL_
${OPENSSL_VERSION}
.tar.gz && \
cd openssl-OpenSSL_
${OPENSSL_VERSION}
&& \
# in i686, ./config detects x64 in i686 container without linux32
# when run from "docker build"
linux32 ./config --prefix="$HOME/ffmpeg_build" no-pinshared shared zlib && \
...
...
@@ -30,16 +38,16 @@ RUN mkdir ~/ffmpeg_sources && \
rm -rf ~/openssl_build
RUN cd ~/ffmpeg_sources && \
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/
2.15.04/nasm-2.15.04
.tar.bz2 && \
tar -xf nasm-
2.15.04.tar.bz2 && cd nasm-2.15.04
&& ./autogen.sh && \
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/
${NASM_VERSION}/nasm-${NASM_VERSION}
.tar.bz2 && \
tar -xf nasm-
${NASM_VERSION}.tar.bz2 && cd nasm-${NASM_VERSION}
&& ./autogen.sh && \
linux32 ./configure && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
RUN cd ~/ffmpeg_sources && \
curl -O -L http://www.tortall.net/projects/yasm/releases/yasm-
1.3.0
.tar.gz && \
tar -xf yasm-
1.3.0
.tar.gz && \
cd yasm-
1.3.0
&& \
curl -O -L http://www.tortall.net/projects/yasm/releases/yasm-
${YASM_VERSION}
.tar.gz && \
tar -xf yasm-
${YASM_VERSION}
.tar.gz && \
cd yasm-
${YASM_VERSION}
&& \
linux32 ./configure && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
...
...
@@ -52,9 +60,9 @@ RUN cd ~/ffmpeg_sources && \
make install
RUN cd ~/ffmpeg_sources && \
curl -O -L https://ffmpeg.org/releases/ffmpeg-
4.4.1
.tar.bz2 && \
tar -xf ffmpeg-
4.4.1
.tar.bz2 && \
cd ffmpeg-
4.4.1
&& \
curl -O -L https://ffmpeg.org/releases/ffmpeg-
${FFMPEG_VERSION}
.tar.bz2 && \
tar -xf ffmpeg-
${FFMPEG_VERSION}
.tar.bz2 && \
cd ffmpeg-
${FFMPEG_VERSION}
&& \
PATH=~/bin:$PATH && \
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" linux32 ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --enable-openssl --enable-libvpx --enable-shared --enable-pic --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
...
...
@@ -63,22 +71,22 @@ RUN cd ~/ffmpeg_sources && \
ldconfig && \
rm -rf ~/ffmpeg_sources
RUN curl -O -L https://github.com/ccache/ccache/releases/download/v
3.7.9/ccache-3.7.9
.tar.gz && \
tar -xf ccache-
3.7.9
.tar.gz && \
cd ccache-
3.7.9
&& \
RUN curl -O -L https://github.com/ccache/ccache/releases/download/v
${CCACHE_VERSION}/ccache-${CCACHE_VERSION}
.tar.gz && \
tar -xf ccache-
${CCACHE_VERSION}
.tar.gz && \
cd ccache-
${CCACHE_VERSION}
&& \
linux32 ./configure && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
RUN curl -O -L https://github.com/Kitware/CMake/releases/download/v
3.17.0/cmake-3.17.0
.tar.gz && \
tar -xf cmake-
3.17.0
.tar.gz && \
cd cmake-
3.17.0
&& \
RUN curl -O -L https://github.com/Kitware/CMake/releases/download/v
${CMAKE_VERSION}/cmake-${CMAKE_VERSION}
.tar.gz && \
tar -xf cmake-
${CMAKE_VERSION}
.tar.gz && \
cd cmake-
${CMAKE_VERSION}
&& \
export MAKEFLAGS=-j$(getconf _NPROCESSORS_ONLN) && \
./configure --system-curl && \
make && \
make install && \
cd .. && \
rm -rf cmake-
3.17.0
*
rm -rf cmake-
${CMAKE_VERSION}
*
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/root/ffmpeg_build/lib/pkgconfig
ENV LDFLAGS -L/root/ffmpeg_build/lib
...
...
docker/manylinux2014/Dockerfile_x86_64
浏览文件 @
0066feb1
FROM quay.io/pypa/manylinux2014_x86_64:latest
ARG FFMPEG_VERSION=4.4.1
ARG NASM_VERSION=2.15.04
ARG OPENSSL_VERSION=1_1_1m
ARG QT_VERSION=5.15.0
ARG YASM_VERSION=1.3.0
RUN yum install bzip2-devel curl-devel zlib-devel xcb-util-renderutil-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel mesa-libGL-devel libxkbcommon-devel libxkbcommon-x11-devel libXi-devel freetype-devel -y
RUN curl -O -L https://download.qt.io/official_releases/qt/5.15/
5.15.0/single/qt-everywhere-src-5.15.0
.tar.xz && \
tar -xf qt-everywhere-src-
5.15.0
.tar.xz && \
RUN curl -O -L https://download.qt.io/official_releases/qt/5.15/
${QT_VERSION}/single/qt-everywhere-src-${QT_VERSION}
.tar.xz && \
tar -xf qt-everywhere-src-
${QT_VERSION}
.tar.xz && \
cd qt-everywhere* && \
export MAKEFLAGS=-j$(nproc) && \
./configure -prefix /opt/Qt
5.15.0
-release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
./configure -prefix /opt/Qt
${QT_VERSION}
-release -opensource -confirm-license -qtnamespace QtOpenCVPython -xcb -xcb-xlib -bundled-xcb-xinput -no-openssl -no-dbus -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtqa -skip qtremoteobjects -skip qtrepotools -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip xmlpatterns -skip declarative -make libs && \
make && \
make install && \
cd .. && \
rm -rf qt-everywhere-src-
5.15.0
&& \
rm qt-everywhere-src-
5.15.0
.tar.xz
rm -rf qt-everywhere-src-
${QT_VERSION}
&& \
rm qt-everywhere-src-
${QT_VERSION}
.tar.xz
ENV QTDIR /opt/Qt
5.15.0
ENV QTDIR /opt/Qt
${QT_VERSION}
ENV PATH "$QTDIR/bin:$PATH"
RUN mkdir ~/ffmpeg_sources && \
cd ~/ffmpeg_sources && \
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_
1_1_1m
.tar.gz && \
tar -xf OpenSSL_
1_1_1m
.tar.gz && \
cd openssl-OpenSSL_
1_1_1m
&& \
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_
${OPENSSL_VERSION}
.tar.gz && \
tar -xf OpenSSL_
${OPENSSL_VERSION}
.tar.gz && \
cd openssl-OpenSSL_
${OPENSSL_VERSION}
&& \
./config --prefix="$HOME/ffmpeg_build" --openssldir="$HOME/ffmpeg_build" no-pinshared shared zlib && \
make -j$(getconf _NPROCESSORS_ONLN) && \
# skip installing documentation
...
...
@@ -28,16 +34,16 @@ RUN mkdir ~/ffmpeg_sources && \
rm -rf ~/openssl_build
RUN cd ~/ffmpeg_sources && \
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/
2.15.04/nasm-2.15.04
.tar.bz2 && \
tar -xf nasm-
2.15.04.tar.bz2 && cd nasm-2.15.04
&& ./autogen.sh && \
curl -O -L http://www.nasm.us/pub/nasm/releasebuilds/
${NASM_VERSION}/nasm-${NASM_VERSION}
.tar.bz2 && \
tar -xf nasm-
${NASM_VERSION}.tar.bz2 && cd nasm-${NASM_VERSION}
&& ./autogen.sh && \
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
RUN cd ~/ffmpeg_sources && \
curl -O -L http://www.tortall.net/projects/yasm/releases/yasm-
1.3.0
.tar.gz && \
tar -xf yasm-
1.3.0
.tar.gz && \
cd yasm-
1.3.0
&& \
curl -O -L http://www.tortall.net/projects/yasm/releases/yasm-
${YASM_VERSION}
.tar.gz && \
tar -xf yasm-
${YASM_VERSION}
.tar.gz && \
cd yasm-
${YASM_VERSION}
&& \
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install
...
...
@@ -50,9 +56,9 @@ RUN cd ~/ffmpeg_sources && \
make install
RUN cd ~/ffmpeg_sources && \
curl -O -L https://ffmpeg.org/releases/ffmpeg-
4.4.1
.tar.bz2 && \
tar -xf ffmpeg-
4.4.1
.tar.bz2 && \
cd ffmpeg-
4.4.1
&& \
curl -O -L https://ffmpeg.org/releases/ffmpeg-
${FFMPEG_VERSION}
.tar.bz2 && \
tar -xf ffmpeg-
${FFMPEG_VERSION}
.tar.bz2 && \
cd ffmpeg-
${FFMPEG_VERSION}
&& \
PATH=~/bin:$PATH && \
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --enable-openssl --enable-libvpx --enable-shared --enable-pic --bindir="$HOME/bin" && \
make -j$(getconf _NPROCESSORS_ONLN) && \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录