Build ffmpeg without xlib as it was needed only for libva/vdpau
This commit is contained in:
parent
4d315f8e61
commit
eaa2573c66
|
@ -286,19 +286,6 @@ RUN make DESTDIR="$LibrariesPath/libXfixes-cache" install
|
|||
WORKDIR ..
|
||||
RUN rm -rf libxfixes
|
||||
|
||||
FROM builder AS libXv
|
||||
COPY --from=libXext ${LibrariesPath}/libXext-cache /
|
||||
|
||||
RUN git clone -b libXv-1.0.11 --depth=1 $GIT_FREEDESKTOP/libxv.git
|
||||
|
||||
WORKDIR libxv
|
||||
RUN ./autogen.sh --enable-static
|
||||
RUN make -j$(nproc)
|
||||
RUN make DESTDIR="$LibrariesPath/libXv-cache" install
|
||||
|
||||
WORKDIR ..
|
||||
RUN rm -rf libxv
|
||||
|
||||
FROM builder AS libXrandr
|
||||
RUN git clone -b libXrandr-1.5.2 --depth=1 $GIT_FREEDESKTOP/libxrandr.git
|
||||
|
||||
|
@ -367,9 +354,6 @@ FROM builder AS ffmpeg
|
|||
|
||||
COPY --from=opus ${LibrariesPath}/opus-cache /
|
||||
COPY --from=libvpx ${LibrariesPath}/libvpx-cache /
|
||||
COPY --from=libXext ${LibrariesPath}/libXext-cache /
|
||||
COPY --from=libXfixes ${LibrariesPath}/libXfixes-cache /
|
||||
COPY --from=libXv ${LibrariesPath}/libXv-cache /
|
||||
|
||||
RUN mkdir ffmpeg
|
||||
WORKDIR ffmpeg
|
||||
|
@ -389,7 +373,6 @@ RUN ./configure \
|
|||
--disable-everything \
|
||||
--enable-libopus \
|
||||
--enable-libvpx \
|
||||
--enable-xlib \
|
||||
--enable-protocol=file \
|
||||
--enable-decoder=aac \
|
||||
--enable-decoder=aac_fixed \
|
||||
|
@ -760,7 +743,6 @@ COPY --from=xcb-keysyms ${LibrariesPath}/xcb-keysyms-cache /
|
|||
COPY --from=xcb-render-util ${LibrariesPath}/xcb-render-util-cache /
|
||||
COPY --from=libXext ${LibrariesPath}/libXext-cache /
|
||||
COPY --from=libXfixes ${LibrariesPath}/libXfixes-cache /
|
||||
COPY --from=libXv ${LibrariesPath}/libXv-cache /
|
||||
COPY --from=libXtst ${LibrariesPath}/libXtst-cache /
|
||||
COPY --from=libXrandr ${LibrariesPath}/libXrandr-cache /
|
||||
COPY --from=libXrender ${LibrariesPath}/libXrender-cache /
|
||||
|
|
Loading…
Reference in New Issue