diff --git a/tools/android_doc.sh b/tools/android_doc.sh deleted file mode 100755 index 0d2c824..0000000 --- a/tools/android_doc.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# -# Generates docs for Android library -# - -CURRENT_DIR="`pwd`" - -cd "${CURRENT_DIR}"/../android/ffmpeg-kit-android-lib - -doxygen diff --git a/tools/android_javadoc.sh b/tools/android_javadoc.sh deleted file mode 100755 index 5ece634..0000000 --- a/tools/android_javadoc.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# -# Generates javadoc for Android library -# - -CURRENT_DIR="`pwd`" - -gradle -b "${CURRENT_DIR}"/../android/ffmpeg-kit-android-lib/build.gradle clean javadoc diff --git a/tools/apple_doc.sh b/tools/apple_doc.sh deleted file mode 100755 index 16ebd05..0000000 --- a/tools/apple_doc.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# -# Generates docs for Objective-C library -# - -CURRENT_DIR="`pwd`" - -cd "${CURRENT_DIR}"/../apple - -doxygen diff --git a/tools/linux_doc.sh b/tools/linux_doc.sh deleted file mode 100755 index ab2e50a..0000000 --- a/tools/linux_doc.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# -# Generates docs for C++ library -# - -CURRENT_DIR="`pwd`" - -cd "${CURRENT_DIR}"/../linux - -doxygen diff --git a/tools/release/android.lts.sh b/tools/release/android.lts.sh deleted file mode 100755 index fb17713..0000000 --- a/tools/release/android.lts.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/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 " - exit 1 -fi - -VERSION_CODE="${ANDROID_LTS_MIN_SDK}0"$(echo $1 | sed "s/\.//g")"0" -export VERSION_CODE=${VERSION_CODE:0:6} - -# 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/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 diff --git a/tools/release/android.sh b/tools/release/android.sh deleted file mode 100755 index 5a69835..0000000 --- a/tools/release/android.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/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 " - exit 1 -fi - -VERSION_CODE="${ANDROID_MAIN_MIN_SDK}0"$(echo $1 | sed "s/\.//g")"0" -export VERSION_CODE=${VERSION_CODE:0:6} - -# 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/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 diff --git a/tools/release/apple/ffmpeg-kit-ios-audio.podspec b/tools/release/apple/ffmpeg-kit-ios-audio.podspec deleted file mode 100644 index 666141c..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-audio.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-audio" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Audio Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-full-gpl.podspec b/tools/release/apple/ffmpeg-kit-ios-full-gpl.podspec deleted file mode 100644 index 55e6e9a..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-full-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-full-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Full GPL Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-full.podspec b/tools/release/apple/ffmpeg-kit-ios-full.podspec deleted file mode 100644 index 7530ae1..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-full.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-full" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Full Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-https-gpl.podspec b/tools/release/apple/ffmpeg-kit-ios-https-gpl.podspec deleted file mode 100644 index edccda2..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-https-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-https-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Https GPL Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-https.podspec b/tools/release/apple/ffmpeg-kit-ios-https.podspec deleted file mode 100644 index 9c4fb91..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-https.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-https" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Https Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-min-gpl.podspec b/tools/release/apple/ffmpeg-kit-ios-min-gpl.podspec deleted file mode 100644 index 0a25acb..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-min-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-min-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Min GPL Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-min.podspec b/tools/release/apple/ffmpeg-kit-ios-min.podspec deleted file mode 100644 index a11e9cd..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-min.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-min" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Min Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-ios-video.podspec b/tools/release/apple/ffmpeg-kit-ios-video.podspec deleted file mode 100644 index 722014f..0000000 --- a/tools/release/apple/ffmpeg-kit-ios-video.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-ios-video" - s.version = "VERSION" - s.summary = "FFmpeg Kit iOS Video Shared 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 = '10' - 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 diff --git a/tools/release/apple/ffmpeg-kit-macos-audio.podspec b/tools/release/apple/ffmpeg-kit-macos-audio.podspec deleted file mode 100644 index 4e15dbb..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-audio.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-audio" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Audio Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL','VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-full-gpl.podspec b/tools/release/apple/ffmpeg-kit-macos-full-gpl.podspec deleted file mode 100644 index 71f1d1e..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-full-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-full-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Full GPL Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL', 'Security', 'VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-full.podspec b/tools/release/apple/ffmpeg-kit-macos-full.podspec deleted file mode 100644 index 10fee8a..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-full.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-full" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Full Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL', 'Security', 'VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-https-gpl.podspec b/tools/release/apple/ffmpeg-kit-macos-https-gpl.podspec deleted file mode 100644 index c847856..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-https-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-https-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Https GPL Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL', 'Security', 'VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-https.podspec b/tools/release/apple/ffmpeg-kit-macos-https.podspec deleted file mode 100644 index f67a845..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-https.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-https" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Https Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL', 'Security', 'VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-min-gpl.podspec b/tools/release/apple/ffmpeg-kit-macos-min-gpl.podspec deleted file mode 100644 index 88d9725..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-min-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-min-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Min GPL Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL','VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-min.podspec b/tools/release/apple/ffmpeg-kit-macos-min.podspec deleted file mode 100644 index 4297dd7..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-min.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-min" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Min Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL','VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-macos-video.podspec b/tools/release/apple/ffmpeg-kit-macos-video.podspec deleted file mode 100644 index 817b612..0000000 --- a/tools/release/apple/ffmpeg-kit-macos-video.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-macos-video" - s.version = "VERSION" - s.summary = "FFmpeg Kit macOS Video Shared 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.12' - s.osx.frameworks = 'AudioToolbox','AVFoundation','CoreAudio','CoreImage','CoreMedia','OpenCL','OpenGL','VideoToolbox' - s.osx.vendored_frameworks = 'ffmpegkit.framework', 'libavcodec.framework', 'libavdevice.framework', 'libavfilter.framework', 'libavformat.framework', 'libavutil.framework', 'libswresample.framework', 'libswscale.framework' - -end diff --git a/tools/release/apple/ffmpeg-kit-tvos-audio.podspec b/tools/release/apple/ffmpeg-kit-tvos-audio.podspec deleted file mode 100644 index 2c02d50..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-audio.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-audio" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Audio Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-full-gpl.podspec b/tools/release/apple/ffmpeg-kit-tvos-full-gpl.podspec deleted file mode 100644 index 3213801..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-full-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-full-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Full GPL Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-full.podspec b/tools/release/apple/ffmpeg-kit-tvos-full.podspec deleted file mode 100644 index 7150f2c..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-full.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-full" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Full Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-https-gpl.podspec b/tools/release/apple/ffmpeg-kit-tvos-https-gpl.podspec deleted file mode 100644 index ac0077f..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-https-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-https-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Https GPL Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-https.podspec b/tools/release/apple/ffmpeg-kit-tvos-https.podspec deleted file mode 100644 index 3fa42bc..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-https.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-https" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Https Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-min-gpl.podspec b/tools/release/apple/ffmpeg-kit-tvos-min-gpl.podspec deleted file mode 100644 index c11ae15..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-min-gpl.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-min-gpl" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Min GPL Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-min.podspec b/tools/release/apple/ffmpeg-kit-tvos-min.podspec deleted file mode 100644 index 6f7586b..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-min.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-min" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Min Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/ffmpeg-kit-tvos-video.podspec b/tools/release/apple/ffmpeg-kit-tvos-video.podspec deleted file mode 100644 index 56448ec..0000000 --- a/tools/release/apple/ffmpeg-kit-tvos-video.podspec +++ /dev/null @@ -1,24 +0,0 @@ -Pod::Spec.new do |s| - s.name = "ffmpeg-kit-tvos-video" - s.version = "VERSION" - s.summary = "FFmpeg Kit tvOS Video Shared 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 = '10.0' - 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 diff --git a/tools/release/apple/strip-frameworks.sh b/tools/release/apple/strip-frameworks.sh deleted file mode 100755 index 2c23237..0000000 --- a/tools/release/apple/strip-frameworks.sh +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# -# Copyright 2015 Realm Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -################################################################################ - -# This script strips all non-valid architectures from dynamic libraries in -# the application's `Frameworks` directory. -# -# The following environment variables are required: -# -# BUILT_PRODUCTS_DIR -# FRAMEWORKS_FOLDER_PATH -# VALID_ARCHS -# EXPANDED_CODE_SIGN_IDENTITY - - -# Signs a framework with the provided identity -code_sign() { -# Use the current code_sign_identitiy -echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" -echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1" -/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" -} - -echo "Stripping frameworks" -cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -for file in $(find . -type f -perm +111); do -# Skip non-dynamic libraries -if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then -continue -fi -# Get architectures for current file -archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)" -stripped="" -for arch in $archs; do -if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then -# Strip non-valid architectures in-place -lipo -remove "$arch" -output "$file" "$file" || exit 1 -stripped="$stripped $arch" -fi -done -if [[ "$stripped" != "" ]]; then -echo "Stripped $file of architectures:$stripped" -if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then -code_sign "${file}" -fi -fi -done diff --git a/tools/release/common.sh b/tools/release/common.sh deleted file mode 100755 index 857bed9..0000000 --- a/tools/release/common.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/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 --disable-arm64e --lts --enable-ios-audiotoolbox --enable-ios-bzip2 --enable-ios-libiconv --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 MACOS_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 MACOS_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 --enable-zimg" -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-zimg --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, libwebp and zimg 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, zimg, 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, zimg, libxml2, opencore-amr, opus, shine, snappy, soxr, speex, twolame, vo-amrwbenc, x264, x265 and xvidcore libraries enabled." diff --git a/tools/release/flutter/create_packages.sh b/tools/release/flutter/create_packages.sh deleted file mode 100755 index e61a6db..0000000 --- a/tools/release/flutter/create_packages.sh +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/bash - -CURRENT_DIR=$(pwd) -BASEDIR="${CURRENT_DIR}/../../.." -PACKAGES_DIR_MAIN="${BASEDIR}/prebuilt/bundle-flutter-main" -PACKAGES_DIR_LTS="${BASEDIR}/prebuilt/bundle-flutter-lts" -SOURCE_DIR="${BASEDIR}/flutter/flutter" -PACKAGES=(min min-gpl https https-gpl audio video full full-gpl) - -prepare_inline_sed() { - if [ "$(uname)" == "Darwin" ]; then - export SED_INLINE="sed -i .tmp" - else - export SED_INLINE="sed -i" - fi -} - -create_main_releases() { - for CURRENT_PACKAGE in "${PACKAGES[@]}"; do - local FLUTTER_PACKAGE_NAME="$(echo "${CURRENT_PACKAGE}" | sed "s/\-/\_/g")" - local PACKAGE_PATH="${PACKAGES_DIR_MAIN}/${CURRENT_PACKAGE}" - cp -R ${SOURCE_DIR} ${PACKAGE_PATH} - - # 1. pubspec - $SED_INLINE "s|name: ffmpeg_kit_flutter|name: ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME|g" ${PACKAGE_PATH}/pubspec.yaml - # UPDATE VERSION - rm -f ${PACKAGE_PATH}/pubspec.yaml.tmp - - # 2. android - # UPDATE MIN SDK VERSION - $SED_INLINE "s|com.arthenica:.*|com.arthenica:ffmpeg-kit-$CURRENT_PACKAGE:$NATIVE_VERSION'|g" ${PACKAGE_PATH}/android/build.gradle - rm -f ${PACKAGE_PATH}/android/build.gradle.tmp - - # 3. ios - $SED_INLINE "s|ffmpeg_kit_flutter|ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME|g" ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec - # UPDATE VERSION - $SED_INLINE "s|s.default_subspec.*|s.default_subspec = '$CURRENT_PACKAGE'|g" ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec - rm -f ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec.tmp - mv ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME.podspec - - # 4. macos - $SED_INLINE "s|ffmpeg_kit_flutter|ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME|g" ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec - # UPDATE VERSION - $SED_INLINE "s|s.default_subspec.*|s.default_subspec = '$CURRENT_PACKAGE'|g" ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec - rm -f ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec.tmp - mv ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME.podspec - - done; - - # CREATE DEFAULT PACKAGE - cp -R "${SOURCE_DIR}" "${PACKAGES_DIR_MAIN}/default" - - echo "main releases created!" -} - -create_lts_releases() { - for CURRENT_PACKAGE in "${PACKAGES[@]}"; do - local FLUTTER_PACKAGE_NAME="$(echo "${CURRENT_PACKAGE}" | sed "s/\-/\_/g")" - local PACKAGE_PATH="${PACKAGES_DIR_LTS}/${CURRENT_PACKAGE}" - cp -R ${SOURCE_DIR} ${PACKAGE_PATH} - - # 1. pubspec - $SED_INLINE "s|name: ffmpeg_kit_flutter|name: ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME|g" ${PACKAGE_PATH}/pubspec.yaml - $SED_INLINE "s|version: .*|version: $VERSION-LTS|g" ${PACKAGE_PATH}/pubspec.yaml - rm -f ${PACKAGE_PATH}/pubspec.yaml.tmp - - # 2. android - $SED_INLINE "s|minSdkVersion.*|minSdkVersion 16|g" ${PACKAGE_PATH}/android/build.gradle - $SED_INLINE "s|com.arthenica:.*|com.arthenica:ffmpeg-kit-$CURRENT_PACKAGE:$NATIVE_VERSION.LTS'|g" ${PACKAGE_PATH}/android/build.gradle - rm -f ${PACKAGE_PATH}/android/build.gradle.tmp - - # 3. ios - $SED_INLINE "s|ffmpeg_kit_flutter|ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME|g" ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec - $SED_INLINE "s|s.version.*|s.version = '$VERSION.LTS'|g" ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec - $SED_INLINE "s|s.default_subspec.*|s.default_subspec = '$CURRENT_PACKAGE-lts'|g" ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec - rm -f ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec.tmp - mv ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter.podspec ${PACKAGE_PATH}/ios/ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME.podspec - - # 4. macos - $SED_INLINE "s|ffmpeg_kit_flutter|ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME|g" ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec - $SED_INLINE "s|s.version.*|s.version = '$VERSION.LTS'|g" ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec - $SED_INLINE "s|s.default_subspec.*|s.default_subspec = '$CURRENT_PACKAGE-lts'|g" ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec - rm -f ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec.tmp - mv ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter.podspec ${PACKAGE_PATH}/macos/ffmpeg_kit_flutter_$FLUTTER_PACKAGE_NAME.podspec - - done; - - # CREATE DEFAULT PACKAGE - cp -R "${PACKAGES_DIR_LTS}/https" "${PACKAGES_DIR_LTS}/default" - $SED_INLINE "s|name: ffmpeg_kit_flutter_https|name: ffmpeg_kit_flutter|g" ${PACKAGES_DIR_LTS}/default/pubspec.yaml - rm -f ${PACKAGES_DIR_LTS}/default/pubspec.yaml.tmp - $SED_INLINE "s|ffmpeg_kit_flutter_https|ffmpeg_kit_flutter|g" ${PACKAGES_DIR_LTS}/default/ios/ffmpeg_kit_flutter_https.podspec - rm -f ${PACKAGES_DIR_LTS}/default/ios/ffmpeg_kit_flutter_https.podspec.tmp - mv ${PACKAGES_DIR_LTS}/default/ios/ffmpeg_kit_flutter_https.podspec ${PACKAGES_DIR_LTS}/default/ios/ffmpeg_kit_flutter.podspec - $SED_INLINE "s|ffmpeg_kit_flutter_https|ffmpeg_kit_flutter|g" ${PACKAGES_DIR_LTS}/default/macos/ffmpeg_kit_flutter_https.podspec - rm -f ${PACKAGES_DIR_LTS}/default/macos/ffmpeg_kit_flutter_https.podspec.tmp - mv ${PACKAGES_DIR_LTS}/default/macos/ffmpeg_kit_flutter_https.podspec ${PACKAGES_DIR_LTS}/default/macos/ffmpeg_kit_flutter.podspec - - echo "lts releases created!" -} - -if [[ $# -ne 2 ]]; -then - echo "Usage: create_package.sh " - exit 1 -fi - -VERSION="$1" -NATIVE_VERSION="$2" - -rm -rf "${PACKAGES_DIR_MAIN}" -mkdir -p "${PACKAGES_DIR_MAIN}" -rm -rf "${PACKAGES_DIR_LTS}" -mkdir -p "${PACKAGES_DIR_LTS}" - -prepare_inline_sed - -create_main_releases; - -create_lts_releases; diff --git a/tools/release/ios.lts.sh b/tools/release/ios.lts.sh deleted file mode 100755 index ae7e6bb..0000000 --- a/tools/release/ios.lts.sh +++ /dev/null @@ -1,91 +0,0 @@ -#!/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" - -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 -y "../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 - sed -i '' "s/\,\'VideoToolbox\'//g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 -} - -if [[ $# -ne 1 ]]; -then - echo "Usage: ios.lts.sh " - 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/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_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 diff --git a/tools/release/ios.sh b/tools/release/ios.sh deleted file mode 100755 index 1afea4b..0000000 --- a/tools/release/ios.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/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 -y "../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/10/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 " - 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/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 diff --git a/tools/release/macos.lts.sh b/tools/release/macos.lts.sh deleted file mode 100755 index 33b0580..0000000 --- a/tools/release/macos.lts.sh +++ /dev/null @@ -1,91 +0,0 @@ -#!/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" - -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 -y "../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|ffmpegkit\.framework\/LICENSE|ffmpegkit\.framework\/Resources\/LICENSE|g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 - sed -i '' "s/\,\'AVFoundation\'//g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 -} - -if [[ $# -ne 1 ]]; -then - echo "Usage: macos.lts.sh " - 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/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_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 diff --git a/tools/release/macos.sh b/tools/release/macos.sh deleted file mode 100755 index 0e6f937..0000000 --- a/tools/release/macos.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/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 -y "../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/osx\.xcframeworks/osx\.frameworks/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 - sed -i '' "s/10\.12/10\.15/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 - sed -i '' "s/ffmpegkit\.xcframework\/LICENSE/ffmpegkit\.xcframework\/macos-arm64_x86_64\/ffmpegkit\.framework\/LICENSE/g" "${CURRENT_PACKAGE}"/"${PACKAGE_NAME}".podspec || exit 1 -} - -if [[ $# -ne 1 ]]; -then - echo "Usage: macos.sh " - 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/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 diff --git a/tools/release/tvos.lts.sh b/tools/release/tvos.lts.sh deleted file mode 100755 index 0e3b017..0000000 --- a/tools/release/tvos.lts.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/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" - -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 -y "../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 -} - -if [[ $# -ne 1 ]]; -then - echo "Usage: tvos.lts.sh " - 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/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_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 diff --git a/tools/release/tvos.sh b/tools/release/tvos.sh deleted file mode 100755 index 6b72a99..0000000 --- a/tools/release/tvos.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/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 -y "../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/10\.0/11\.0/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 " - 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/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 diff --git a/tools/tag.sh b/tools/tag.sh deleted file mode 100755 index e76be36..0000000 --- a/tools/tag.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# -# Creates a new tag on the current branch -# - -if [ $# -ne 1 ]; -then - echo "Usage: tag.sh " - exit 1 -fi - -git tag -d $1 -git push origin ":refs/tags/"$1 -git tag $1 -git push origin $1