|
|
@ -68,6 +68,9 @@ while [ ! $# -eq 0 ]; do |
|
|
|
|
|
|
|
|
|
|
|
skip_library "${SKIP_LIBRARY}" |
|
|
|
skip_library "${SKIP_LIBRARY}" |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
--no-framework) |
|
|
|
|
|
|
|
NO_FRAMEWORK="1" |
|
|
|
|
|
|
|
;; |
|
|
|
--no-output-redirection) |
|
|
|
--no-output-redirection) |
|
|
|
no_output_redirection |
|
|
|
no_output_redirection |
|
|
|
;; |
|
|
|
;; |
|
|
@ -223,6 +226,11 @@ for run_arch in {0..12}; do |
|
|
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -e -n "\n" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# DO NOT BUILD FRAMEWORKS |
|
|
|
|
|
|
|
if [[ ${NO_FRAMEWORK} -ne 1 ]]; then |
|
|
|
|
|
|
|
|
|
|
|
# BUILD FFMPEG-KIT |
|
|
|
# BUILD FFMPEG-KIT |
|
|
|
if [[ -n ${TARGET_ARCH_LIST[0]} ]]; then |
|
|
|
if [[ -n ${TARGET_ARCH_LIST[0]} ]]; then |
|
|
|
|
|
|
|
|
|
|
@ -233,7 +241,7 @@ if [[ -n ${TARGET_ARCH_LIST[0]} ]]; then |
|
|
|
build_apple_architecture_variant_strings |
|
|
|
build_apple_architecture_variant_strings |
|
|
|
|
|
|
|
|
|
|
|
if [[ -n ${FFMPEG_KIT_XCF_BUILD} ]]; then |
|
|
|
if [[ -n ${FFMPEG_KIT_XCF_BUILD} ]]; then |
|
|
|
echo -e -n "\n\nCreating universal libraries and xcframeworks under prebuilt: " |
|
|
|
echo -e -n "\nCreating universal libraries and xcframeworks under prebuilt: " |
|
|
|
|
|
|
|
|
|
|
|
create_universal_libraries_for_macos_xcframeworks |
|
|
|
create_universal_libraries_for_macos_xcframeworks |
|
|
|
|
|
|
|
|
|
|
@ -241,7 +249,7 @@ if [[ -n ${TARGET_ARCH_LIST[0]} ]]; then |
|
|
|
|
|
|
|
|
|
|
|
create_macos_xcframeworks |
|
|
|
create_macos_xcframeworks |
|
|
|
else |
|
|
|
else |
|
|
|
echo -e -n "\n\nCreating universal libraries and frameworks under prebuilt: " |
|
|
|
echo -e -n "\nCreating universal libraries and frameworks under prebuilt: " |
|
|
|
|
|
|
|
|
|
|
|
create_universal_libraries_for_macos_default_frameworks |
|
|
|
create_universal_libraries_for_macos_default_frameworks |
|
|
|
|
|
|
|
|
|
|
@ -250,3 +258,7 @@ if [[ -n ${TARGET_ARCH_LIST[0]} ]]; then |
|
|
|
|
|
|
|
|
|
|
|
echo -e "ok\n" |
|
|
|
echo -e "ok\n" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
echo -e "INFO: Skipped creating macOS frameworks.\n" 1>>"${BASEDIR}"/build.log 2>&1 |
|
|
|
|
|
|
|
fi |
|
|
|