From b49218d274385a5b130cdf33197ef50d99436d54 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Thu, 13 Jan 2022 20:37:06 +0000 Subject: [PATCH 01/10] do not link against the system libexpat library, fixes #316 --- scripts/apple/ffmpeg.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/apple/ffmpeg.sh b/scripts/apple/ffmpeg.sh index 7142f69..990e922 100755 --- a/scripts/apple/ffmpeg.sh +++ b/scripts/apple/ffmpeg.sh @@ -99,6 +99,7 @@ x86-64-mac-catalyst) esac CONFIGURE_POSTFIX="" +HIGH_PRIORITY_LDFLAGS="" # SET CONFIGURE OPTIONS for library in {0..61}; do @@ -294,6 +295,7 @@ for library in {0..61}; do expat) FFMPEG_CFLAGS+=" $(pkg-config --cflags expat 2>>"${BASEDIR}"/build.log)" FFMPEG_LDFLAGS+=" $(pkg-config --libs --static expat 2>>"${BASEDIR}"/build.log)" + HIGH_PRIORITY_LDFLAGS+=" $(pkg-config --libs --static expat 2>>"${BASEDIR}"/build.log)" ;; libogg) FFMPEG_CFLAGS+=" $(pkg-config --cflags ogg 2>>"${BASEDIR}"/build.log)" @@ -449,7 +451,7 @@ COMMON_LDFLAGS=$(get_common_ldflags) # UPDATE BUILD FLAGS export CFLAGS="${ARCH_CFLAGS} ${APP_CFLAGS} ${COMMON_CFLAGS} ${OPTIMIZATION_CFLAGS} ${MIN_VERSION_CFLAGS}${FFMPEG_CFLAGS} ${COMMON_INCLUDES}" export CXXFLAGS=$(get_cxxflags "${LIB_NAME}") -export LDFLAGS="${ARCH_LDFLAGS}${FFMPEG_LDFLAGS} ${LINKED_LIBRARIES} ${COMMON_LDFLAGS} ${BITCODE_FLAGS} ${OPTIMIZATION_FLAGS}" +export LDFLAGS="${ARCH_LDFLAGS}${HIGH_PRIORITY_LDFLAGS}${FFMPEG_LDFLAGS} ${LINKED_LIBRARIES} ${COMMON_LDFLAGS} ${BITCODE_FLAGS} ${OPTIMIZATION_FLAGS}" echo -n -e "\n${LIB_NAME}: " From 0eec6baa15de3a67b105c5fd91b41f7de53f6e60 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Fri, 14 Jan 2022 18:33:14 +0000 Subject: [PATCH 02/10] update the release date of 4.5.1 for Apple --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8949e56..76c6454 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ indicates that `FFmpeg` source code is cloned from the `FFmpeg` `master` branch. | Flutter | [4.5.1](https://github.com/tanersener/ffmpeg-kit/releases/tag/flutter.v4.5.1) | 4.5-dev-3393 | Jan 02, 2022 | | React Native | [4.5.1](https://github.com/tanersener/ffmpeg-kit/releases/tag/react.native.v4.5.1) | 4.5-dev-3393 | Jan 02, 2022 | | Android | [4.5.1](https://github.com/tanersener/ffmpeg-kit/releases/tag/v4.5.1) | 4.5-dev-3393 | Jan 01, 2022 | -| Apple | [4.5.1](https://github.com/tanersener/ffmpeg-kit/releases/tag/v4.5.1) | 4.5-dev-3393 | Dec 30, 2021 | +| Apple | [4.5.1](https://github.com/tanersener/ffmpeg-kit/releases/tag/v4.5.1) | 4.5-dev-3393 | Jan 14, 2022 | | Flutter | [4.5.0](https://github.com/tanersener/ffmpeg-kit/releases/tag/flutter.v4.5.0) | 4.5-dev-2008 | Oct 05, 2021 | | React Native | [4.5.0](https://github.com/tanersener/ffmpeg-kit/releases/tag/react.native.v4.5.0) | 4.5-dev-2008 | Oct 01, 2021 | | Android
Apple | [4.5](https://github.com/tanersener/ffmpeg-kit/releases/tag/v4.5) | 4.5-dev-2008 | Sep 18, 2021 | From 75c3827657732dca1c012e7afe408d117862a42d Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Wed, 9 Feb 2022 01:19:28 +0100 Subject: [PATCH 03/10] Suggest installing `gettext` to get `autopoint` --- apple/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/README.md b/apple/README.md index 821ae37..1edd4c2 100644 --- a/apple/README.md +++ b/apple/README.md @@ -66,7 +66,7 @@ Please note that `FFmpegKit` project repository includes the source code of `FFm Use your package manager (brew, etc.) to install the following packages. ``` -autoconf automake libtool pkg-config curl cmake gcc gperf texinfo yasm nasm bison autogen git wget autopoint meson ninja +autoconf automake libtool pkg-config curl cmake gcc gperf texinfo yasm nasm bison autogen git wget gettext meson ninja ``` #### 2.2 Options From bd71e4de0666b31bc210cb21f257dd1505271c13 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 10 Apr 2022 13:38:25 +0100 Subject: [PATCH 04/10] Provide a workaround for #390 --- .github/workflows/periodic-builds-apple.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/periodic-builds-apple.yml b/.github/workflows/periodic-builds-apple.yml index cf1e24d..7b770ac 100644 --- a/.github/workflows/periodic-builds-apple.yml +++ b/.github/workflows/periodic-builds-apple.yml @@ -23,8 +23,10 @@ jobs: run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh + - name: set up cmake + run: 'cd /tmp && curl -L https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-macos-universal.tar.gz --output cmake.tar.gz && tar zxvf cmake.tar.gz && cd -' - name: run the build script - run: PATH="/usr/local/opt/bison/bin:$PATH" ./ios.sh -x --full --enable-gpl --disable-lib-srt + run: PATH="/tmp/cmake-3.22.3-macos-universal/CMake.app/Contents/bin:/usr/local/opt/bison/bin:$PATH" ./ios.sh -x --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log From f56cc05d509faddabc6ac30990c353f9e7a91e68 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Mon, 11 Apr 2022 12:39:39 +0100 Subject: [PATCH 05/10] update android documentation --- android/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/README.md b/android/README.md index 7c14acb..11ad82c 100644 --- a/android/README.md +++ b/android/README.md @@ -77,7 +77,7 @@ All libraries created by `android.sh` can be found under the `prebuilt` director } dependencies { - implementation 'com.arthenica:ffmpeg-kit-full:4.5.1' + implementation 'com.arthenica:ffmpeg-kit-full:4.5.1-1' } ``` From 502ef4201b35014f665c4531782ab156ce29487d Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Mon, 11 Apr 2022 12:44:50 +0100 Subject: [PATCH 06/10] do not run github actions for doc updates --- .github/workflows/android-build-scripts.yml | 6 ++++++ .github/workflows/ios-build-scripts.yml | 6 ++++++ .github/workflows/macos-build-scripts.yml | 6 ++++++ .github/workflows/tvos-build-scripts.yml | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/.github/workflows/android-build-scripts.yml b/.github/workflows/android-build-scripts.yml index 74f7d12..9b34d4b 100644 --- a/.github/workflows/android-build-scripts.yml +++ b/.github/workflows/android-build-scripts.yml @@ -5,9 +5,15 @@ on: branches: - development - main + paths-ignore: + - '**/README.md' + - 'docs/**' pull_request: branches: - main + paths-ignore: + - '**/README.md' + - 'docs/**' jobs: build-main-on-linux: diff --git a/.github/workflows/ios-build-scripts.yml b/.github/workflows/ios-build-scripts.yml index 1160b7a..2c27abb 100644 --- a/.github/workflows/ios-build-scripts.yml +++ b/.github/workflows/ios-build-scripts.yml @@ -5,9 +5,15 @@ on: branches: - development - main + paths-ignore: + - '**/README.md' + - 'docs/**' pull_request: branches: - main + paths-ignore: + - '**/README.md' + - 'docs/**' jobs: build-main-on-macos-bigsur: diff --git a/.github/workflows/macos-build-scripts.yml b/.github/workflows/macos-build-scripts.yml index 7ba06ff..dc646cc 100644 --- a/.github/workflows/macos-build-scripts.yml +++ b/.github/workflows/macos-build-scripts.yml @@ -5,9 +5,15 @@ on: branches: - development - main + paths-ignore: + - '**/README.md' + - 'docs/**' pull_request: branches: - main + paths-ignore: + - '**/README.md' + - 'docs/**' jobs: build-main-on-macos-bigsur: diff --git a/.github/workflows/tvos-build-scripts.yml b/.github/workflows/tvos-build-scripts.yml index 20f341f..8ef230f 100644 --- a/.github/workflows/tvos-build-scripts.yml +++ b/.github/workflows/tvos-build-scripts.yml @@ -5,9 +5,15 @@ on: branches: - development - main + paths-ignore: + - '**/README.md' + - 'docs/**' pull_request: branches: - main + paths-ignore: + - '**/README.md' + - 'docs/**' jobs: build-main-on-macos-bigsur: From a09c72016f225873eab662fc1f13dd5566938b36 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Fri, 15 Apr 2022 11:27:20 +0100 Subject: [PATCH 07/10] fix disabling ffmpeg-kit protocols in android build scripts, fixes #395 --- .github/workflows/android-build-scripts.yml | 29 +++++++++++++++++++++ scripts/android/ffmpeg.sh | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android-build-scripts.yml b/.github/workflows/android-build-scripts.yml index 9b34d4b..940f6a3 100644 --- a/.github/workflows/android-build-scripts.yml +++ b/.github/workflows/android-build-scripts.yml @@ -132,3 +132,32 @@ jobs: - name: print ffbuild logs if: ${{ failure() }} run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' + build-main-without-ffmpeg-kit-protocols-on-linux: + name: build without ffmpeg-kit protocols + runs-on: ubuntu-20.04 + strategy: + matrix: + ndk-version: [ 'r22b-linux-x86_64' ] + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v2 + - name: set up adopt jdk 8 + uses: actions/setup-java@v2.2.0 + with: + distribution: 'adopt' + java-version: '8' + - name: set up android ndk + run: | + curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip + unzip -q -o ndk.zip -d .ndk + echo "ANDROID_NDK_ROOT=$PWD/.ndk/$(ls .ndk)" >> $GITHUB_ENV + - name: run the build script + run: ./android.sh --no-ffmpeg-kit-protocols --disable-x86 --disable-x86-64 --disable-arm-v7a --disable-arm-v7a-neon + - name: print build logs + if: ${{ always() }} + run: cat build.log + - name: print ffbuild logs + if: ${{ failure() }} + run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' diff --git a/scripts/android/ffmpeg.sh b/scripts/android/ffmpeg.sh index 7b6d2d7..6ec6967 100755 --- a/scripts/android/ffmpeg.sh +++ b/scripts/android/ffmpeg.sh @@ -405,7 +405,7 @@ ${SED_INLINE} "s/\$version/$FFMPEG_VERSION/g" "${BASEDIR}"/src/"${LIB_NAME}"/ffb # 3. Enable ffmpeg-kit protocols if [[ ${NO_FFMPEG_KIT_PROTOCOLS} == "1" ]]; then - ${SED_INLINE} "s/ av_set_fd_close/\/\/av_set_fd_close/g" "${BASEDIR}"/android/ffmpeg-kit-android-lib/src/main/cpp/ffmpegkit.c 1>>"${BASEDIR}"/build.log 2>&1 + ${SED_INLINE} "s| av_set_saf|//av_set_saf|g" "${BASEDIR}"/android/ffmpeg-kit-android-lib/src/main/cpp/ffmpegkit.c 1>>"${BASEDIR}"/build.log 2>&1 echo -e "\nINFO: Disabled custom ffmpeg-kit protocols\n" 1>>"${BASEDIR}"/build.log 2>&1 else cat ../../tools/protocols/libavformat_file.c >> libavformat/file.c From bccf4efebc371112d3146ad206b2bb9153c168b8 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 15 May 2022 13:08:38 +0100 Subject: [PATCH 08/10] use more specific paths in github workflows --- .github/workflows/android-build-scripts.yml | 18 ++++++++++++------ .github/workflows/ios-build-scripts.yml | 20 ++++++++++++++------ .github/workflows/macos-build-scripts.yml | 20 ++++++++++++++------ .github/workflows/periodic-builds-apple.yml | 12 ++++++------ .github/workflows/tvos-build-scripts.yml | 20 ++++++++++++++------ 5 files changed, 60 insertions(+), 30 deletions(-) diff --git a/.github/workflows/android-build-scripts.yml b/.github/workflows/android-build-scripts.yml index 940f6a3..c5ca558 100644 --- a/.github/workflows/android-build-scripts.yml +++ b/.github/workflows/android-build-scripts.yml @@ -5,15 +5,21 @@ on: branches: - development - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/android-build-scripts.yml' + - 'android/**' + - 'scripts/**' + - 'tools/**' + - 'android.sh' pull_request: branches: - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/android-build-scripts.yml' + - 'android/**' + - 'scripts/**' + - 'tools/**' + - 'android.sh' jobs: build-main-on-linux: diff --git a/.github/workflows/ios-build-scripts.yml b/.github/workflows/ios-build-scripts.yml index 2c27abb..3d2f0f6 100644 --- a/.github/workflows/ios-build-scripts.yml +++ b/.github/workflows/ios-build-scripts.yml @@ -5,15 +5,23 @@ on: branches: - development - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/ios-build-scripts.yml' + - 'apple/**' + - 'scripts/**' + - 'tools/**' + - 'apple.sh' + - 'ios.sh' pull_request: branches: - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/ios-build-scripts.yml' + - 'apple/**' + - 'scripts/**' + - 'tools/**' + - 'apple.sh' + - 'ios.sh' jobs: build-main-on-macos-bigsur: diff --git a/.github/workflows/macos-build-scripts.yml b/.github/workflows/macos-build-scripts.yml index dc646cc..39d7e55 100644 --- a/.github/workflows/macos-build-scripts.yml +++ b/.github/workflows/macos-build-scripts.yml @@ -5,15 +5,23 @@ on: branches: - development - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/macos-build-scripts.yml' + - 'apple/**' + - 'scripts/**' + - 'tools/**' + - 'apple.sh' + - 'macos.sh' pull_request: branches: - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/macos-build-scripts.yml' + - 'apple/**' + - 'scripts/**' + - 'tools/**' + - 'apple.sh' + - 'macos.sh' jobs: build-main-on-macos-bigsur: diff --git a/.github/workflows/periodic-builds-apple.yml b/.github/workflows/periodic-builds-apple.yml index 7b770ac..701a91f 100644 --- a/.github/workflows/periodic-builds-apple.yml +++ b/.github/workflows/periodic-builds-apple.yml @@ -20,7 +20,7 @@ jobs: with: ref: ${{ matrix.branches }} - name: prerequisites - run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja + run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: set up cmake @@ -48,7 +48,7 @@ jobs: with: ref: ${{ matrix.branches }} - name: prerequisites - run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja + run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script @@ -74,7 +74,7 @@ jobs: with: ref: ${{ matrix.branches }} - name: prerequisites - run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja + run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script @@ -100,7 +100,7 @@ jobs: with: ref: ${{ matrix.branches }} - name: prerequisites - run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja + run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script @@ -126,7 +126,7 @@ jobs: with: ref: ${{ matrix.branches }} - name: prerequisites - run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja + run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script @@ -152,7 +152,7 @@ jobs: with: ref: ${{ matrix.branches }} - name: prerequisites - run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja + run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script diff --git a/.github/workflows/tvos-build-scripts.yml b/.github/workflows/tvos-build-scripts.yml index 8ef230f..a8523c7 100644 --- a/.github/workflows/tvos-build-scripts.yml +++ b/.github/workflows/tvos-build-scripts.yml @@ -5,15 +5,23 @@ on: branches: - development - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/tvos-build-scripts.yml' + - 'apple/**' + - 'scripts/**' + - 'tools/**' + - 'apple.sh' + - 'tvos.sh' pull_request: branches: - main - paths-ignore: - - '**/README.md' - - 'docs/**' + paths: + - '.github/workflows/tvos-build-scripts.yml' + - 'apple/**' + - 'scripts/**' + - 'tools/**' + - 'apple.sh' + - 'tvos.sh' jobs: build-main-on-macos-bigsur: From 100787b0b8d9d4601aa1858203df76e3395f4a83 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 15 May 2022 11:08:38 +0100 Subject: [PATCH 09/10] replace jcenter with mavenCentral for android --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 416b90c..338aa18 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.2.2' @@ -11,7 +11,7 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } } From e8cb9abd50e42567e6b5fc876aac54d958c27a9b Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 22 May 2022 15:09:53 +0100 Subject: [PATCH 10/10] fix apple github workflow builds --- .github/workflows/periodic-builds-apple.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/periodic-builds-apple.yml b/.github/workflows/periodic-builds-apple.yml index 701a91f..11048ee 100644 --- a/.github/workflows/periodic-builds-apple.yml +++ b/.github/workflows/periodic-builds-apple.yml @@ -23,10 +23,8 @@ jobs: run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - - name: set up cmake - run: 'cd /tmp && curl -L https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-macos-universal.tar.gz --output cmake.tar.gz && tar zxvf cmake.tar.gz && cd -' - name: run the build script - run: PATH="/tmp/cmake-3.22.3-macos-universal/CMake.app/Contents/bin:/usr/local/opt/bison/bin:$PATH" ./ios.sh -x --full --enable-gpl --disable-lib-srt + run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./ios.sh -x --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log @@ -52,7 +50,7 @@ jobs: - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script - run: PATH="/usr/local/opt/bison/bin:$PATH" ./ios.sh -l --full --enable-gpl --disable-lib-srt + run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./ios.sh -l --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log @@ -78,7 +76,7 @@ jobs: - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script - run: PATH="/usr/local/opt/bison/bin:$PATH" ./macos.sh -x --full --enable-gpl --disable-lib-srt + run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./macos.sh -x --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log @@ -104,7 +102,7 @@ jobs: - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script - run: PATH="/usr/local/opt/bison/bin:$PATH" ./macos.sh -l --full --enable-gpl --disable-lib-srt + run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./macos.sh -l --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log @@ -130,7 +128,7 @@ jobs: - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script - run: PATH="/usr/local/opt/bison/bin:$PATH" ./tvos.sh -x --full --enable-gpl --disable-lib-srt + run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./tvos.sh -x --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log @@ -156,7 +154,7 @@ jobs: - name: set up xcode run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - name: run the build script - run: PATH="/usr/local/opt/bison/bin:$PATH" ./tvos.sh -l --full --enable-gpl --disable-lib-srt + run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./tvos.sh -l --full --enable-gpl --disable-lib-srt - name: print build logs if: ${{ always() }} run: cat build.log