-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6892d6
commit 891fe8c
Showing
3 changed files
with
42 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,34 @@ set(TARGET_ARCH "x86_64" CACHE STRING | |
|
||
include(BuildDependency) | ||
|
||
if(LIBX264) | ||
build_dependency(x264 ${LIBX264} ${BUILD_TYPE} | ||
URL https://code.videolan.org/videolan/x264/-/archive/@version@/x264-@[email protected] | ||
TARGET_ARCH "${TARGET_ARCH}" | ||
VERSIONS | ||
31e19f92f00c7003fa115047ce50978bc98c3a0d | ||
SHA384=bed835fcf11b4befa8341661b996c4f51842dfee6f7f87c9c2e767cebca0b7871a7f59435b4e92d89c2b13a659d1d737 | ||
ALL_PLATFORMS | ||
AUTOMAKE | ||
ASSIGN_HOST ASSIGN_PREFIX WIN32_CC_CL | ||
QUIRKS x264 | ||
ALL | ||
--enable-static | ||
--enable-pic | ||
--disable-lavf | ||
--disable-swscale | ||
--disable-avs | ||
--disable-ffms | ||
--disable-gpac | ||
--disable-lsmash | ||
--disable-bashcompletion | ||
--disable-cli | ||
--enable-strip | ||
) | ||
endif() | ||
|
||
message(FATAL_ERROR "ok bail out") | ||
|
||
if(LIBWEBP) | ||
set(libwebp_cmake_args | ||
-DBUILD_SHARED_LIBS=OFF | ||
|
@@ -164,31 +192,6 @@ if(LIBVPX) | |
endif() | ||
endif() | ||
|
||
if(LIBX264) | ||
build_dependency(x264 ${LIBX264} ${BUILD_TYPE} | ||
URL https://code.videolan.org/videolan/x264/-/archive/@version@/x264-@[email protected] | ||
TARGET_ARCH "${TARGET_ARCH}" | ||
VERSIONS | ||
31e19f92f00c7003fa115047ce50978bc98c3a0d | ||
SHA384=bed835fcf11b4befa8341661b996c4f51842dfee6f7f87c9c2e767cebca0b7871a7f59435b4e92d89c2b13a659d1d737 | ||
ALL_PLATFORMS | ||
AUTOMAKE | ||
ASSIGN_HOST ASSIGN_PREFIX WIN32_CC_CL | ||
ALL | ||
--enable-static | ||
--enable-pic | ||
--disable-lavf | ||
--disable-swscale | ||
--disable-avs | ||
--disable-ffms | ||
--disable-gpac | ||
--disable-lsmash | ||
--disable-bashcompletion | ||
--disable-cli | ||
--enable-strip | ||
) | ||
endif() | ||
|
||
if(FFMPEG) | ||
set(ffmpeg_configure_args | ||
# This referes to warnings in configure, not build warnings. Warnings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters