parent
b8d64cbd33
commit
eaa0db2067
@ -0,0 +1,91 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new android release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
RELEASE_TYPE=android |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export PACKAGE_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-android-aar-lts/ffmpeg-kit" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local NEW_PACKAGE="${PACKAGE_DIRECTORY}/ffmpeg-kit-$1-$2.LTS.aar" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${PACKAGE_DIRECTORY}/ffmpeg-kit.aar" |
||||||
|
rm -f "${NEW_PACKAGE}" |
||||||
|
|
||||||
|
mv "${CURRENT_PACKAGE}" "${NEW_PACKAGE}" || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [ $# -ne 1 ]; then |
||||||
|
echo "Usage: android.lts.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
export VERSION_CODE="${ANDROID_LTS_MIN_SDK}0"$(echo $1 | sed "s/\.//g")"0" |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${ANDROID_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${ANDROID_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update ffmpegkit.h versions for both android and ios" |
||||||
|
echo "5. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-min -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_MIN}" uploadArchives || exit 1 |
||||||
|
create_package "min" "$1" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-min-gpl -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_MIN_GPL}" -PreleaseGPL=1 uploadArchives || exit 1 |
||||||
|
create_package "min-gpl" "$1" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-https -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_HTTPS}" uploadArchives || exit 1 |
||||||
|
create_package "https" "$1" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-https-gpl -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_HTTPS_GPL}" -PreleaseGPL=1 uploadArchives || exit 1 |
||||||
|
create_package "https-gpl" "$1" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-audio -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_AUDIO}" uploadArchives || exit 1 |
||||||
|
create_package "audio" "$1" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-video -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_VIDEO}" uploadArchives || exit 1 |
||||||
|
create_package "video" "$1" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-full -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_FULL}" uploadArchives || exit 1 |
||||||
|
create_package "full" "$1" || exit 1 |
||||||
|
|
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_LTS_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1.LTS" -PreleaseMinSdk="${ANDROID_LTS_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-full-gpl -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_FULL_GPL}" -PreleaseGPL=1 uploadArchives || exit 1 |
||||||
|
create_package "full-gpl" "$1" || exit 1 |
@ -0,0 +1,91 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new android release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
RELEASE_TYPE=android |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export PACKAGE_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-android-aar/ffmpeg-kit" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local NEW_PACKAGE="${PACKAGE_DIRECTORY}/ffmpeg-kit-$1-$2.aar" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${PACKAGE_DIRECTORY}/ffmpeg-kit.aar" |
||||||
|
rm -f "${NEW_PACKAGE}" |
||||||
|
|
||||||
|
mv "${CURRENT_PACKAGE}" "${NEW_PACKAGE}" || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [ $# -ne 1 ]; then |
||||||
|
echo "Usage: android.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
export VERSION_CODE="${ANDROID_MAIN_MIN_SDK}0"$(echo $1 | sed "s/\.//g")"0" |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${ANDROID_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${ANDROID_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update ffmpegkit.h versions for both android and ios" |
||||||
|
echo "5. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-min -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_MIN}" uploadArchives || exit 1 |
||||||
|
create_package "min" "$1" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-min-gpl -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_MIN_GPL}" -PreleaseGPL=1 uploadArchives || exit 1 |
||||||
|
create_package "min-gpl" "$1" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-https -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_HTTPS}" uploadArchives || exit 1 |
||||||
|
create_package "https" "$1" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-https-gpl -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_HTTPS_GPL}" -PreleaseGPL=1 uploadArchives || exit 1 |
||||||
|
create_package "https-gpl" "$1" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-audio -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_AUDIO}" uploadArchives || exit 1 |
||||||
|
create_package "audio" "$1" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-video -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_VIDEO}" uploadArchives || exit 1 |
||||||
|
create_package "video" "$1" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-full -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_FULL}" uploadArchives || exit 1 |
||||||
|
create_package "full" "$1" || exit 1 |
||||||
|
|
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./android.sh ${ANDROID_MAIN_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
cd "${BASEDIR}"/../../android/ffmpeg-kit-android-lib || exit 1 |
||||||
|
gradle -p "${BASEDIR}"/../../android/ffmpeg-kit-android-lib -DreleaseFFmpegKit=true -PreleaseVersionCode="${VERSION_CODE}" -PreleaseVersionName="$1" -PreleaseMinSdk="${ANDROID_MAIN_MIN_SDK}" -PreleaseTargetSdk="${ANDROID_TARGET_SDK}" -PreleaseProject=ffmpeg-kit-full-gpl -PreleaseProjectDescription="${LIBRARY_DESCRIPTION_FULL_GPL}" -PreleaseGPL=1 uploadArchives || exit 1 |
||||||
|
create_package "full-gpl" "$1" || exit 1 |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-audio" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Audio Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-audio-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'lame.framework', 'libilbc.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libsndfile.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'opus.framework', 'shine.framework', 'soxr.framework', 'speex.framework', 'twolame.framework', 'vo-amrwbenc.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-full-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Full GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-full-gpl-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'gmp.framework', 'gnutls.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'lame.framework', 'libass.framework', 'libhogweed.framework', 'libilbc.framework', 'libnettle.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libpng.framework', 'libsndfile.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'libxml2.framework', 'opus.framework', 'shine.framework', 'snappy.framework', 'soxr.framework', 'speex.framework', 'tiff.framework', 'twolame.framework', 'vo-amrwbenc.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-full" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Full Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-full-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'gmp.framework', 'gnutls.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'lame.framework', 'libass.framework', 'libhogweed.framework', 'libilbc.framework', 'libnettle.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libpng.framework', 'libsndfile.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'libxml2.framework', 'opus.framework', 'shine.framework', 'snappy.framework', 'soxr.framework', 'speex.framework', 'tiff.framework', 'twolame.framework', 'vo-amrwbenc.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-https-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Https GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-https-gpl-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'gmp.framework', 'gnutls.framework', 'libhogweed.framework', 'libnettle.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-https" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Https Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-https-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'gmp.framework', 'gnutls.framework', 'libhogweed.framework', 'libnettle.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-min-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Min GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-min-gpl-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-min" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Min Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-min-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-ios-video" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit iOS Video Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :ios |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-video-VERSION-ios-framework.zip" } |
||||||
|
|
||||||
|
s.ios.deployment_target = '9.3' |
||||||
|
s.ios.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.ios.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'libass.framework', 'libogg.framework', 'libpng.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'snappy.framework', 'tiff.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-audio" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Audio Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-audio-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'lame.framework', 'libilbc.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libsndfile.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'opus.framework', 'shine.framework', 'soxr.framework', 'speex.framework', 'twolame.framework', 'vo-amrwbenc.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-full-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Full GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-full-gpl-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'gmp.framework', 'gnutls.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'lame.framework', 'libass.framework', 'libhogweed.framework', 'libilbc.framework', 'libnettle.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libpng.framework', 'libsndfile.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'libxml2.framework', 'opus.framework', 'shine.framework', 'snappy.framework', 'soxr.framework', 'speex.framework', 'tiff.framework', 'twolame.framework', 'vo-amrwbenc.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-full" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Full Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-full-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'gmp.framework', 'gnutls.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'lame.framework', 'libass.framework', 'libhogweed.framework', 'libilbc.framework', 'libnettle.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libpng.framework', 'libsndfile.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'libxml2.framework', 'opus.framework', 'shine.framework', 'snappy.framework', 'soxr.framework', 'speex.framework', 'tiff.framework', 'twolame.framework', 'vo-amrwbenc.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-https-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Https GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-https-gpl-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'gmp.framework', 'gnutls.framework', 'libhogweed.framework', 'libnettle.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-https" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Https Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-https-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'gmp.framework', 'gnutls.framework', 'libhogweed.framework', 'libnettle.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-min-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Min GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-min-gpl-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-min" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Min Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-min-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-macos-video" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit macOS Video Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :osx |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-video-VERSION-macos-framework.zip" } |
||||||
|
|
||||||
|
s.osx.deployment_target = '10.11' |
||||||
|
s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreMedia','VideoToolbox' |
||||||
|
s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'libass.framework', 'libogg.framework', 'libpng.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'snappy.framework', 'tiff.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-audio" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Audio Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-audio-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'lame.framework', 'libilbc.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libsndfile.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'opus.framework', 'shine.framework', 'soxr.framework', 'speex.framework', 'twolame.framework', 'vo-amrwbenc.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-full-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Full GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-full-gpl-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'gmp.framework', 'gnutls.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'lame.framework', 'libass.framework', 'libhogweed.framework', 'libilbc.framework', 'libnettle.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libpng.framework', 'libsndfile.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'libxml2.framework', 'opus.framework', 'shine.framework', 'snappy.framework', 'soxr.framework', 'speex.framework', 'tiff.framework', 'twolame.framework', 'vo-amrwbenc.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-full" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Full Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-full-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'gmp.framework', 'gnutls.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'lame.framework', 'libass.framework', 'libhogweed.framework', 'libilbc.framework', 'libnettle.framework', 'libogg.framework', 'libopencore-amrnb.framework', 'libpng.framework', 'libsndfile.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'libxml2.framework', 'opus.framework', 'shine.framework', 'snappy.framework', 'soxr.framework', 'speex.framework', 'tiff.framework', 'twolame.framework', 'vo-amrwbenc.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-https-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Https GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-https-gpl-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'gmp.framework', 'gnutls.framework', 'libhogweed.framework', 'libnettle.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-https" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Https Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-https-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'gmp.framework', 'gnutls.framework', 'libhogweed.framework', 'libnettle.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-min-gpl" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Min GPL Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "GPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-min-gpl-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'libvidstab.framework', 'x264.framework', 'x265.framework', 'xvidcore.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-min" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Min Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-min-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,24 @@ |
|||||||
|
Pod::Spec.new do |s| |
||||||
|
s.name = "ffmpeg-kit-tvos-video" |
||||||
|
s.version = "VERSION" |
||||||
|
s.summary = "FFmpeg Kit tvOS Video Static Framework" |
||||||
|
s.description = <<-DESC |
||||||
|
DESCRIPTION |
||||||
|
DESC |
||||||
|
|
||||||
|
s.homepage = "https://github.com/tanersener/ffmpeg-kit" |
||||||
|
|
||||||
|
s.author = { "Taner Sener" => "tanersener@gmail.com" } |
||||||
|
s.license = { :type => "LGPL-3.0", :file => "ffmpegkit.framework/LICENSE" } |
||||||
|
|
||||||
|
s.platform = :tvos |
||||||
|
s.requires_arc = true |
||||||
|
s.libraries = 'z', 'bz2', 'c++', 'iconv' |
||||||
|
|
||||||
|
s.source = { :http => "https://github.com/tanersener/ffmpeg-kit/releases/download/vVERSION/ffmpeg-kit-video-VERSION-tvos-framework.zip" } |
||||||
|
|
||||||
|
s.tvos.deployment_target = '9.2' |
||||||
|
s.tvos.frameworks = 'AudioToolbox','VideoToolbox','CoreMedia' |
||||||
|
s.tvos.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework', 'dav1d.framework', 'expat.framework', 'fontconfig.framework', 'freetype.framework', 'fribidi.framework', 'giflib.framework', 'harfbuzz.framework', 'jpeg.framework', 'kvazaar.framework', 'libass.framework', 'libogg.framework', 'libpng.framework', 'libtheora.framework', 'libtheoradec.framework', 'libtheoraenc.framework', 'libvorbis.framework', 'libvorbisenc.framework', 'libvorbisfile.framework', 'libvpx.framework', 'libwebp.framework', 'libwebpmux.framework', 'libwebpdemux.framework', 'snappy.framework', 'tiff.framework' |
||||||
|
|
||||||
|
end |
@ -0,0 +1,45 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
export BASEDIR=$(pwd) |
||||||
|
|
||||||
|
export ANDROID_MAIN_OPTIONS="--disable-arm-v7a --enable-android-media-codec --enable-android-zlib" |
||||||
|
export ANDROID_LTS_OPTIONS="--lts --enable-android-media-codec --enable-android-zlib" |
||||||
|
|
||||||
|
export IOS_MAIN_OPTIONS="--xcframework --disable-armv7 --disable-armv7s --disable-i386 --disable-arm64e --enable-ios-audiotoolbox --enable-ios-avfoundation --enable-ios-bzip2 --enable-ios-libiconv --enable-ios-videotoolbox --enable-ios-zlib" |
||||||
|
export IOS_LTS_OPTIONS="--disable-armv7s --lts --enable-ios-audiotoolbox --enable-ios-bzip2 --enable-ios-libiconv --enable-ios-videotoolbox --enable-ios-zlib" |
||||||
|
|
||||||
|
export TVOS_MAIN_OPTIONS="--xcframework --enable-tvos-bzip2 --enable-tvos-audiotoolbox --enable-tvos-libiconv --enable-tvos-videotoolbox --enable-tvos-zlib" |
||||||
|
export TVOS_LTS_OPTIONS="--disable-arm64-simulator --lts --enable-tvos-bzip2 --enable-tvos-audiotoolbox --enable-tvos-libiconv --enable-tvos-zlib" |
||||||
|
|
||||||
|
export TVOS_MAIN_OPTIONS="--xcframework --enable-macos-audiotoolbox --enable-macos-avfoundation --enable-macos-bzip2 --enable-macos-coreimage --enable-macos-libiconv --enable-macos-opencl --enable-macos-opengl --enable-macos-videotoolbox --enable-macos-zlib" |
||||||
|
export TVOS_LTS_OPTIONS="--disable-arm64 --lts --enable-macos-audiotoolbox --enable-macos-bzip2 --enable-macos-coreimage --enable-macos-libiconv --enable-macos-opencl --enable-macos-opengl --enable-macos-videotoolbox --enable-macos-zlib" |
||||||
|
|
||||||
|
if [[ "${RELEASE_TYPE}" == "android" ]]; then |
||||||
|
export ANDROID_EXTRA_VIDEO_PACKAGES="--enable-libiconv " |
||||||
|
export ANDROID_EXTRA_DESCRIPTION="libiconv, " |
||||||
|
else |
||||||
|
export ANDROID_EXTRA_VIDEO_PACKAGES="" |
||||||
|
export ANDROID_EXTRA_DESCRIPTION="" |
||||||
|
fi |
||||||
|
|
||||||
|
export GPL_PACKAGES="--enable-gpl --enable-libvidstab --enable-x264 --enable-x265 --enable-xvidcore" |
||||||
|
export HTTPS_PACKAGES="--enable-gnutls --enable-gmp" |
||||||
|
export AUDIO_PACKAGES="--enable-lame --enable-libilbc --enable-libvorbis --enable-opencore-amr --enable-opus --enable-shine --enable-soxr --enable-speex --enable-twolame --enable-vo-amrwbenc" |
||||||
|
export VIDEO_PACKAGES="--enable-dav1d --enable-fontconfig --enable-freetype --enable-fribidi --enable-kvazaar --enable-libass ${ANDROID_EXTRA_VIDEO_PACKAGES} --enable-libtheora --enable-libvpx --enable-snappy --enable-libwebp" |
||||||
|
export FULL_PACKAGES="--enable-dav1d --enable-fontconfig --enable-freetype --enable-fribidi --enable-gmp --enable-gnutls --enable-kvazaar --enable-lame --enable-libass ${ANDROID_EXTRA_VIDEO_PACKAGES} --enable-libilbc --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-opencore-amr --enable-opus --enable-shine --enable-snappy --enable-soxr --enable-speex --enable-twolame --enable-vo-amrwbenc" |
||||||
|
|
||||||
|
export ANDROID_FFMPEG_KIT_VERSION=$(grep '#define FFMPEG_KIT_VERSION' "${BASEDIR}"/../../android/ffmpeg-kit-android-lib/src/main/cpp/ffmpegkit.h | grep -Eo '\".*\"' | sed -e 's/\"//g') |
||||||
|
export APPLE_FFMPEG_KIT_VERSION=$(grep 'FFmpegKitVersion ' ${BASEDIR}/../../apple/src/FFmpegKitConfig.m | grep -Eo '\".*\"' | sed -e 's/\"//g') |
||||||
|
|
||||||
|
export ANDROID_MAIN_MIN_SDK=24 |
||||||
|
export ANDROID_LTS_MIN_SDK=16 |
||||||
|
export ANDROID_TARGET_SDK=30 |
||||||
|
|
||||||
|
export LIBRARY_DESCRIPTION_MIN="Includes FFmpeg without any external libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_MIN_GPL="Includes FFmpeg with libvid.stab, x264, x265 and xvidcore libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_HTTPS="Includes FFmpeg with gmp and gnutls libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_HTTPS_GPL="Includes FFmpeg with gmp, gnutls, libvid.stab, x264, x265 and xvidcore libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_AUDIO="Includes FFmpeg with lame, libilbc, libvorbis, opencore-amr, opus, shine, soxr, speex, twolame and vo-amrwbenc libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_VIDEO="Includes FFmpeg with dav1d, fontconfig, freetype, fribidi, kvazaar, libass, ${ANDROID_EXTRA_DESCRIPTION}libtheora, libvpx, snappy and libwebp libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_FULL="Includes FFmpeg with dav1d, fontconfig, freetype, fribidi, gmp, gnutls, kvazaar, lame, libass, ${ANDROID_EXTRA_DESCRIPTION}libilbc, libtheora, libvorbis, libvpx, libwebp, libxml2, opencore-amr, opus, shine, snappy, soxr, speex, twolame and vo-amrwbenc libraries enabled." |
||||||
|
export LIBRARY_DESCRIPTION_FULL_GPL="Includes FFmpeg with dav1d, fontconfig, freetype, fribidi, gmp, gnutls, kvazaar, lame, libass, ${ANDROID_EXTRA_DESCRIPTION}libilbc, libtheora, libvid.stab, libvorbis, libvpx, libwebp, libxml2, opencore-amr, opus, shine, snappy, soxr, speex, twolame, vo-amrwbenc, x264, x265 and xvidcore libraries enabled." |
@ -0,0 +1,120 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new ios lts release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export SOURCE_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-framework-ios-lts" |
||||||
|
export COCOAPODS_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-cocoapods-ios-lts" |
||||||
|
export SOURCE_UNIVERSAL_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-universal-ios-lts" |
||||||
|
export ALL_UNIVERSAL_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-all-universal-ios-lts" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local PACKAGE_NAME="ffmpeg-kit-ios-$1" |
||||||
|
local PACKAGE_VERSION="$2" |
||||||
|
local PACKAGE_DESCRIPTION="$3" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${COCOAPODS_DIRECTORY}/${PACKAGE_NAME}" |
||||||
|
rm -rf "${CURRENT_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
|
||||||
|
cp -r "${SOURCE_PACKAGE}"/* "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
cd "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
zip -r "../ffmpeg-kit-$1-${PACKAGE_VERSION}-ios-framework.zip" * || exit 1 |
||||||
|
|
||||||
|
# COPY PODSPEC AS THE LAST ITEM |
||||||
|
cp "${BASEDIR}"/apple/"${PACKAGE_NAME}".podspec "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/DESCRIPTION/${PACKAGE_DESCRIPTION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/\,\'AVFoundation\'//g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
|
||||||
|
mkdir -p "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
local CURRENT_UNIVERSAL_PACKAGE="${ALL_UNIVERSAL_DIRECTORY}/${PACKAGE_NAME}-universal" |
||||||
|
rm -rf "${CURRENT_UNIVERSAL_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
mkdir -p "${CURRENT_UNIVERSAL_PACKAGE}"/lib || exit 1 |
||||||
|
|
||||||
|
cd "${SOURCE_UNIVERSAL_PACKAGE}" || exit 1 |
||||||
|
find . -name "*.a" -exec cp {} "${CURRENT_UNIVERSAL_PACKAGE}"/lib \; || exit 1 |
||||||
|
|
||||||
|
# COPY THE LICENSE FILE OF EACH LIBRARY |
||||||
|
LICENSE_FILES=$(find . -name LICENSE | grep -vi ffmpeg) |
||||||
|
|
||||||
|
for LICENSE_FILE in ${LICENSE_FILES[@]} |
||||||
|
do |
||||||
|
LIBRARY_NAME=$(echo "${LICENSE_FILE}" | sed 's/\.\///g;s/\/LICENSE//g') |
||||||
|
cp "${LICENSE_FILE}" "${CURRENT_UNIVERSAL_PACKAGE}"/LICENSE."${LIBRARY_NAME}" || exit 1 |
||||||
|
done |
||||||
|
|
||||||
|
cp -r "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg-kit/include/* "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
cp -r "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg/include/* "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
cp "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg/LICENSE "${CURRENT_UNIVERSAL_PACKAGE}"/LICENSE || exit 1 |
||||||
|
|
||||||
|
cd "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
zip -r "${PACKAGE_NAME}-${PACKAGE_VERSION}-ios-static-universal.zip" "${PACKAGE_NAME}"-universal || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; |
||||||
|
then |
||||||
|
echo "Usage: ios.lts.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${APPLE_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${APPLE_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update podspec links" |
||||||
|
echo "5. Update ffmpegkit.h versions for both android and apple" |
||||||
|
echo "6. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# CREATE COCOAPODS DIRECTORY |
||||||
|
rm -rf "${COCOAPODS_DIRECTORY}" |
||||||
|
mkdir -p "${COCOAPODS_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
rm -rf "${ALL_UNIVERSAL_DIRECTORY}" |
||||||
|
mkdir -p "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} || exit 1 |
||||||
|
create_package "min" "$1.LTS" "${LIBRARY_DESCRIPTION_MIN}" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "min-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_MIN_GPL}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
create_package "https" "$1.LTS" "${LIBRARY_DESCRIPTION_HTTPS}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "https-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_HTTPS_GPL}" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
create_package "audio" "$1.LTS" "${LIBRARY_DESCRIPTION_AUDIO}" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
create_package "video" "$1.LTS" "${LIBRARY_DESCRIPTION_VIDEO}" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
create_package "full" "$1.LTS" "${LIBRARY_DESCRIPTION_FULL}" || exit 1 |
||||||
|
|
||||||
|
# FULL-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_LTS_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "full-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_FULL_GPL}" || exit 1 |
@ -0,0 +1,94 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new ios release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export SOURCE_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-xcframework-ios" |
||||||
|
export COCOAPODS_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-cocoapods-ios" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local PACKAGE_NAME="ffmpeg-kit-ios-$1" |
||||||
|
local PACKAGE_VERSION="$2" |
||||||
|
local PACKAGE_DESCRIPTION="$3" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${COCOAPODS_DIRECTORY}/${PACKAGE_NAME}" |
||||||
|
rm -rf "${CURRENT_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
|
||||||
|
cp -r "${SOURCE_PACKAGE}"/* "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
cd "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
zip -r "../ffmpeg-kit-$1-${PACKAGE_VERSION}-ios-xcframework.zip" * || exit 1 |
||||||
|
|
||||||
|
# COPY PODSPEC AS THE LAST ITEM |
||||||
|
cp "${BASEDIR}"/apple/"${PACKAGE_NAME}".podspec "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/DESCRIPTION/${PACKAGE_DESCRIPTION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/\.framework/\.xcframework/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/-framework/-xcframework/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/ios\.xcframeworks/ios\.frameworks/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/9\.3/12\.1/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/ffmpegkit\.xcframework\/LICENSE/ffmpegkit\.xcframework\/ios-arm64\/ffmpegkit\.framework\/LICENSE/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; |
||||||
|
then |
||||||
|
echo "Usage: ios.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${APPLE_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${APPLE_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update podspec links" |
||||||
|
echo "5. Update ffmpegkit.h versions for both android and apple" |
||||||
|
echo "6. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# CREATE COCOAPODS DIRECTORY |
||||||
|
rm -rf "${COCOAPODS_DIRECTORY}" |
||||||
|
mkdir -p "${COCOAPODS_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} || exit 1 |
||||||
|
create_package "min" "$1" "${LIBRARY_DESCRIPTION_MIN}" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "min-gpl" "$1" "${LIBRARY_DESCRIPTION_MIN_GPL}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
create_package "https" "$1" "${LIBRARY_DESCRIPTION_HTTPS}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "https-gpl" "$1" "${LIBRARY_DESCRIPTION_HTTPS_GPL}" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
create_package "audio" "$1" "${LIBRARY_DESCRIPTION_AUDIO}" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
create_package "video" "$1" "${LIBRARY_DESCRIPTION_VIDEO}" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
create_package "full" "$1" "${LIBRARY_DESCRIPTION_FULL}" || exit 1 |
||||||
|
|
||||||
|
# FULL-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./ios.sh ${IOS_MAIN_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "full-gpl" "$1" "${LIBRARY_DESCRIPTION_FULL_GPL}" || exit 1 |
@ -0,0 +1,120 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new macos lts release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export SOURCE_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-framework-macos-lts" |
||||||
|
export COCOAPODS_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-cocoapods-macos-lts" |
||||||
|
export SOURCE_UNIVERSAL_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-universal-macos-lts" |
||||||
|
export ALL_UNIVERSAL_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-all-universal-macos-lts" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local PACKAGE_NAME="ffmpeg-kit-macos-$1" |
||||||
|
local PACKAGE_VERSION="$2" |
||||||
|
local PACKAGE_DESCRIPTION="$3" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${COCOAPODS_DIRECTORY}/${PACKAGE_NAME}" |
||||||
|
rm -rf "${CURRENT_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
|
||||||
|
cp -r "${SOURCE_PACKAGE}"/* "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
cd "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
zip -r "../ffmpeg-kit-$1-${PACKAGE_VERSION}-macos-framework.zip" * || exit 1 |
||||||
|
|
||||||
|
# COPY PODSPEC AS THE LAST ITEM |
||||||
|
cp "${BASEDIR}"/apple/"${PACKAGE_NAME}".podspec "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/DESCRIPTION/${PACKAGE_DESCRIPTION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/\,\'AVFoundation\'//g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
|
||||||
|
mkdir -p "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
local CURRENT_UNIVERSAL_PACKAGE="${ALL_UNIVERSAL_DIRECTORY}/${PACKAGE_NAME}-universal" |
||||||
|
rm -rf "${CURRENT_UNIVERSAL_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
mkdir -p "${CURRENT_UNIVERSAL_PACKAGE}"/lib || exit 1 |
||||||
|
|
||||||
|
cd "${SOURCE_UNIVERSAL_PACKAGE}" || exit 1 |
||||||
|
find . -name "*.a" -exec cp {} "${CURRENT_UNIVERSAL_PACKAGE}"/lib \; || exit 1 |
||||||
|
|
||||||
|
# COPY THE LICENSE FILE OF EACH LIBRARY |
||||||
|
LICENSE_FILES=$(find . -name LICENSE | grep -vi ffmpeg) |
||||||
|
|
||||||
|
for LICENSE_FILE in ${LICENSE_FILES[@]} |
||||||
|
do |
||||||
|
LIBRARY_NAME=$(echo "${LICENSE_FILE}" | sed 's/\.\///g;s/\/LICENSE//g') |
||||||
|
cp "${LICENSE_FILE}" "${CURRENT_UNIVERSAL_PACKAGE}"/LICENSE."${LIBRARY_NAME}" || exit 1 |
||||||
|
done |
||||||
|
|
||||||
|
cp -r "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg-kit/include/* "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
cp -r "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg/include/* "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
cp "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg/LICENSE "${CURRENT_UNIVERSAL_PACKAGE}"/LICENSE || exit 1 |
||||||
|
|
||||||
|
cd "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
zip -r "${PACKAGE_NAME}-${PACKAGE_VERSION}-macos-static-universal.zip" "${PACKAGE_NAME}"-universal || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; |
||||||
|
then |
||||||
|
echo "Usage: macos.lts.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${APPLE_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${APPLE_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update podspec links" |
||||||
|
echo "5. Update ffmpegkit.h versions for both android and apple" |
||||||
|
echo "6. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# CREATE COCOAPODS DIRECTORY |
||||||
|
rm -rf "${COCOAPODS_DIRECTORY}" |
||||||
|
mkdir -p "${COCOAPODS_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
rm -rf "${ALL_UNIVERSAL_DIRECTORY}" |
||||||
|
mkdir -p "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} || exit 1 |
||||||
|
create_package "min" "$1.LTS" "${LIBRARY_DESCRIPTION_MIN}" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "min-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_MIN_GPL}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
create_package "https" "$1.LTS" "${LIBRARY_DESCRIPTION_HTTPS}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "https-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_HTTPS_GPL}" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
create_package "audio" "$1.LTS" "${LIBRARY_DESCRIPTION_AUDIO}" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
create_package "video" "$1.LTS" "${LIBRARY_DESCRIPTION_VIDEO}" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
create_package "full" "$1.LTS" "${LIBRARY_DESCRIPTION_FULL}" || exit 1 |
||||||
|
|
||||||
|
# FULL-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_LTS_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "full-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_FULL_GPL}" || exit 1 |
@ -0,0 +1,94 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new macos release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export SOURCE_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-xcframework-macos" |
||||||
|
export COCOAPODS_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-cocoapods-macos" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local PACKAGE_NAME="ffmpeg-kit-macos-$1" |
||||||
|
local PACKAGE_VERSION="$2" |
||||||
|
local PACKAGE_DESCRIPTION="$3" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${COCOAPODS_DIRECTORY}/${PACKAGE_NAME}" |
||||||
|
rm -rf "${CURRENT_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
|
||||||
|
cp -r "${SOURCE_PACKAGE}"/* "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
cd "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
zip -r "../ffmpeg-kit-$1-${PACKAGE_VERSION}-macos-xcframework.zip" * || exit 1 |
||||||
|
|
||||||
|
# COPY PODSPEC AS THE LAST ITEM |
||||||
|
cp "${BASEDIR}"/apple/"${PACKAGE_NAME}".podspec "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/DESCRIPTION/${PACKAGE_DESCRIPTION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/\.framework/\.xcframework/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/-framework/-xcframework/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/macos\.xcframeworks/macos\.frameworks/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/10\.11/10\.15/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/ffmpegkit\.xcframework\/LICENSE/ffmpegkit\.xcframework\/macos-arm64\/ffmpegkit\.framework\/LICENSE/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; |
||||||
|
then |
||||||
|
echo "Usage: macos.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${APPLE_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${APPLE_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update podspec links" |
||||||
|
echo "5. Update ffmpegkit.h versions for both android and apple" |
||||||
|
echo "6. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# CREATE COCOAPODS DIRECTORY |
||||||
|
rm -rf "${COCOAPODS_DIRECTORY}" |
||||||
|
mkdir -p "${COCOAPODS_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} || exit 1 |
||||||
|
create_package "min" "$1" "${LIBRARY_DESCRIPTION_MIN}" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "min-gpl" "$1" "${LIBRARY_DESCRIPTION_MIN_GPL}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
create_package "https" "$1" "${LIBRARY_DESCRIPTION_HTTPS}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "https-gpl" "$1" "${LIBRARY_DESCRIPTION_HTTPS_GPL}" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
create_package "audio" "$1" "${LIBRARY_DESCRIPTION_AUDIO}" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
create_package "video" "$1" "${LIBRARY_DESCRIPTION_VIDEO}" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
create_package "full" "$1" "${LIBRARY_DESCRIPTION_FULL}" || exit 1 |
||||||
|
|
||||||
|
# FULL-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./macos.sh ${MACOS_MAIN_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "full-gpl" "$1" "${LIBRARY_DESCRIPTION_FULL_GPL}" || exit 1 |
@ -0,0 +1,120 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new tvos lts release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export SOURCE_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-framework-tvos-lts" |
||||||
|
export COCOAPODS_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-cocoapods-tvos-lts" |
||||||
|
export SOURCE_UNIVERSAL_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-universal-tvos-lts" |
||||||
|
export ALL_UNIVERSAL_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-all-universal-tvos-lts" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local PACKAGE_NAME="ffmpeg-kit-tvos-$1" |
||||||
|
local PACKAGE_VERSION="$2" |
||||||
|
local PACKAGE_DESCRIPTION="$3" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${COCOAPODS_DIRECTORY}/${PACKAGE_NAME}" |
||||||
|
rm -rf "${CURRENT_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
|
||||||
|
cp -r "${SOURCE_PACKAGE}"/* "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
cd "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
zip -r "../ffmpeg-kit-$1-${PACKAGE_VERSION}-tvos-framework.zip" * || exit 1 |
||||||
|
|
||||||
|
# COPY PODSPEC AS THE LAST ITEM |
||||||
|
cp "${BASEDIR}"/apple/"${PACKAGE_NAME}".podspec "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/DESCRIPTION/${PACKAGE_DESCRIPTION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/\,\'VideoToolbox\'//g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
|
||||||
|
mkdir -p "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
local CURRENT_UNIVERSAL_PACKAGE="${ALL_UNIVERSAL_DIRECTORY}/${PACKAGE_NAME}-universal" |
||||||
|
rm -rf "${CURRENT_UNIVERSAL_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
mkdir -p "${CURRENT_UNIVERSAL_PACKAGE}"/lib || exit 1 |
||||||
|
|
||||||
|
cd "${SOURCE_UNIVERSAL_PACKAGE}" || exit 1 |
||||||
|
find . -name "*.a" -exec cp {} "${CURRENT_UNIVERSAL_PACKAGE}"/lib \; || exit 1 |
||||||
|
|
||||||
|
# COPY LICENSE FILE OF EACH LIBRARY |
||||||
|
LICENSE_FILES=$(find . -name LICENSE | grep -vi ffmpeg) |
||||||
|
|
||||||
|
for LICENSE_FILE in ${LICENSE_FILES[@]} |
||||||
|
do |
||||||
|
LIBRARY_NAME=$(echo "${LICENSE_FILE}" | sed 's/\.\///g;s/\/LICENSE//g') |
||||||
|
cp "${LICENSE_FILE}" "${CURRENT_UNIVERSAL_PACKAGE}"/LICENSE."${LIBRARY_NAME}" || exit 1 |
||||||
|
done |
||||||
|
|
||||||
|
cp -r "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg-kit/include/* "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
cp -r "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg/include/* "${CURRENT_UNIVERSAL_PACKAGE}"/include || exit 1 |
||||||
|
cp "${SOURCE_UNIVERSAL_PACKAGE}"/ffmpeg/LICENSE "${CURRENT_UNIVERSAL_PACKAGE}"/LICENSE || exit 1 |
||||||
|
|
||||||
|
cd "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
zip -r "ffmpeg-kit-$1-${PACKAGE_VERSION}-tvos-static-universal.zip" "${PACKAGE_NAME}"-universal || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; |
||||||
|
then |
||||||
|
echo "Usage: tvos.lts.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${APPLE_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${APPLE_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update podspec links" |
||||||
|
echo "5. Update ffmpegkit.h versions for both android and apple" |
||||||
|
echo "6. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# CREATE COCOAPODS DIRECTORY |
||||||
|
rm -rf "${COCOAPODS_DIRECTORY}" |
||||||
|
mkdir -p "${COCOAPODS_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
rm -rf "${ALL_UNIVERSAL_DIRECTORY}" |
||||||
|
mkdir -p "${ALL_UNIVERSAL_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} || exit 1 |
||||||
|
create_package "min" "$1.LTS" "${LIBRARY_DESCRIPTION_MIN}" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "min-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_MIN_GPL}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
create_package "https" "$1.LTS" "${LIBRARY_DESCRIPTION_HTTPS}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "https-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_HTTPS_GPL}" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
create_package "audio" "$1.LTS" "${LIBRARY_DESCRIPTION_AUDIO}" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
create_package "video" "$1.LTS" "${LIBRARY_DESCRIPTION_VIDEO}" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
create_package "full" "$1.LTS" "${LIBRARY_DESCRIPTION_FULL}" || exit 1 |
||||||
|
|
||||||
|
# FULL-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_LTS_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "full-gpl" "$1.LTS" "${LIBRARY_DESCRIPTION_FULL_GPL}" || exit 1 |
@ -0,0 +1,94 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Creates a new tvos release from the current branch |
||||||
|
# |
||||||
|
|
||||||
|
source ./common.sh |
||||||
|
export SOURCE_PACKAGE="${BASEDIR}/../../prebuilt/bundle-apple-xcframework-tvos" |
||||||
|
export COCOAPODS_DIRECTORY="${BASEDIR}/../../prebuilt/bundle-apple-cocoapods-tvos" |
||||||
|
|
||||||
|
create_package() { |
||||||
|
local PACKAGE_NAME="ffmpeg-kit-tvos-$1" |
||||||
|
local PACKAGE_VERSION="$2" |
||||||
|
local PACKAGE_DESCRIPTION="$3" |
||||||
|
|
||||||
|
local CURRENT_PACKAGE="${COCOAPODS_DIRECTORY}/${PACKAGE_NAME}" |
||||||
|
rm -rf "${CURRENT_PACKAGE}" |
||||||
|
mkdir -p "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
|
||||||
|
cp -r "${SOURCE_PACKAGE}"/* "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
cd "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
zip -r "../ffmpeg-kit-$1-${PACKAGE_VERSION}-tvos-xcframework.zip" * || exit 1 |
||||||
|
|
||||||
|
# COPY PODSPEC AS THE LAST ITEM |
||||||
|
cp "${BASEDIR}"/apple/"${PACKAGE_NAME}".podspec "${CURRENT_PACKAGE}" || exit 1 |
||||||
|
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/DESCRIPTION/${PACKAGE_DESCRIPTION}/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/\.framework/\.xcframework/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/-framework/-xcframework/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/tvos\.xcframeworks/tvos\.frameworks/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/9\.2/10\.2/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
sed -i '' "s/ffmpegkit\.xcframework\/LICENSE/ffmpegkit\.xcframework\/tvos-arm64\/ffmpegkit\.framework\/LICENSE/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; |
||||||
|
then |
||||||
|
echo "Usage: tvos.sh <version name>" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# VALIDATE VERSIONS |
||||||
|
if [[ "${APPLE_FFMPEG_KIT_VERSION}" != "$1" ]]; then |
||||||
|
echo "Error: version mismatch. v$1 requested but v${APPLE_FFMPEG_KIT_VERSION} found. Please perform the following updates and try again." |
||||||
|
echo "1. Update docs" |
||||||
|
echo "2. Update gradle files under the tools/release/android folder" |
||||||
|
echo "3. Update the versions in tools/release/common.sh" |
||||||
|
echo "4. Update podspec links" |
||||||
|
echo "5. Update ffmpegkit.h versions for both android and apple" |
||||||
|
echo "6. Update versions in Doxyfile" |
||||||
|
exit 1 |
||||||
|
fi |
||||||
|
|
||||||
|
# CREATE COCOAPODS DIRECTORY |
||||||
|
rm -rf "${COCOAPODS_DIRECTORY}" |
||||||
|
mkdir -p "${COCOAPODS_DIRECTORY}" || exit 1 |
||||||
|
|
||||||
|
# MIN RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} || exit 1 |
||||||
|
create_package "min" "$1" "${LIBRARY_DESCRIPTION_MIN}" || exit 1 |
||||||
|
|
||||||
|
# MIN-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "min-gpl" "$1" "${LIBRARY_DESCRIPTION_MIN_GPL}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${HTTPS_PACKAGES} || exit 1 |
||||||
|
create_package "https" "$1" "${LIBRARY_DESCRIPTION_HTTPS}" || exit 1 |
||||||
|
|
||||||
|
# HTTPS-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${HTTPS_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "https-gpl" "$1" "${LIBRARY_DESCRIPTION_HTTPS_GPL}" || exit 1 |
||||||
|
|
||||||
|
# AUDIO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${AUDIO_PACKAGES} || exit 1 |
||||||
|
create_package "audio" "$1" "${LIBRARY_DESCRIPTION_AUDIO}" || exit 1 |
||||||
|
|
||||||
|
# VIDEO RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${VIDEO_PACKAGES} || exit 1 |
||||||
|
create_package "video" "$1" "${LIBRARY_DESCRIPTION_VIDEO}" || exit 1 |
||||||
|
|
||||||
|
# FULL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${FULL_PACKAGES} || exit 1 |
||||||
|
create_package "full" "$1" "${LIBRARY_DESCRIPTION_FULL}" || exit 1 |
||||||
|
|
||||||
|
# FULL-GPL RELEASE |
||||||
|
cd "${BASEDIR}/../.." || exit 1 |
||||||
|
./tvos.sh ${TVOS_MAIN_OPTIONS} ${FULL_PACKAGES} ${GPL_PACKAGES} || exit 1 |
||||||
|
create_package "full-gpl" "$1" "${LIBRARY_DESCRIPTION_FULL_GPL}" || exit 1 |
Loading…
Reference in new issue