Merge pull request #2554 from CvH/9.0-ffmpegx-quickfix

ffmpegx: reorder dependencies
This commit is contained in:
MilhouseVH 2018-03-05 18:58:42 +00:00 committed by GitHub
commit 5e4f86ac1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,11 @@ if [[ ! $TARGET_ARCH = arm ]] || target_has_feature neon; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libvpx"
fi
# X11 grab for screen recording
if [ "$DISPLAYSERVER" = "x11" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libxcb libX11"
fi
pre_configure_target() {
cd $PKG_BUILD
rm -rf .$TARGET_NAME
@ -123,7 +128,6 @@ pre_configure_target() {
# X11 grab for screen recording
if [ "$DISPLAYSERVER" = "x11" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libxcb"
PKG_FFMPEG_LIBS="$PKG_FFMPEG_LIBS -lX11"
PKG_FFMPEG_X11_GRAB="\
--enable-libxcb \