Skip to content

Commit 30b00fe

Browse files
committed
test
1 parent 7d834a1 commit 30b00fe

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ git -C FFmpeg apply ../ffmpeg.patch || true
3939
# ./build-meson-dep.sh fribidi -Ddocs=false
4040
# ./build-meson-dep.sh libass
4141

42-
INSTALL_TARGET=install-lib-${BUILD_TYPE} ./build-make-dep.sh x264 --enable-${BUILD_TYPE}
43-
./build-cmake-dep.sh x265_git
42+
if [ "$BUILD_LICENSE" == "gpl" ]; then
43+
INSTALL_TARGET=install-lib-${BUILD_TYPE} ./build-make-dep.sh x264 --enable-${BUILD_TYPE}
44+
FF_ARGS="$FF_ARGS --enable-libx264"
45+
46+
./build-cmake-dep.sh x265_git/source
47+
FF_ARGS="$FF_ARGS --enable-libx265"
48+
fi
4449

4550
./build-make-dep.sh nv-codec-headers
4651

0 commit comments

Comments
 (0)