-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bd4107
commit 0c4c3f6
Showing
1 changed file
with
145 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,157 @@ | ||
// swift-tools-version:5.3 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "{{package_name}}", | ||
name: "AgoraRtcKit", | ||
defaultLocalization: "en", | ||
platforms: [{{platforms}}], | ||
platforms: [.iOS(.v9)], | ||
products: [ | ||
{%- for product in products %} | ||
.library(name: "{{ product.name}}", targets: {{product.targets}}), | ||
{%- endfor %} | ||
.library(name: "RtcBasic", targets: ["AgoraRtcKit", "Agorafdkaac", "Agoraffmpeg", "AgoraSoundTouch"]), | ||
.library(name: "AINS", targets: ["AgoraAiNoiseSuppressionExtension"]), | ||
.library(name: "AINSLL", targets: ["AgoraAiNoiseSuppressionLLExtension"]), | ||
.library(name: "AudioBeauty", targets: ["AgoraAudioBeautyExtension"]), | ||
.library(name: "ClearVision", targets: ["AgoraClearVisionExtension"]), | ||
.library(name: "ContentInspect", targets: ["AgoraContentInspectExtension"]), | ||
.library(name: "SpatialAudio", targets: ["AgoraSpatialAudioExtension"]), | ||
.library(name: "VirtualBackground", targets: ["AgoraVideoSegmentationExtension"]), | ||
.library(name: "AIAEC", targets: ["AgoraAiEchoCancellationExtension"]), | ||
.library(name: "AIAECLL", targets: ["AgoraAiEchoCancellationLLExtension"]), | ||
.library(name: "VQA", targets: ["AgoraVideoQualityAnalyzerExtension"]), | ||
.library(name: "FaceDetection", targets: ["AgoraFaceDetectionExtension"]), | ||
.library(name: "FaceCapture", targets: ["AgoraFaceCaptureExtension"]), | ||
.library(name: "LipSync", targets: ["AgoraLipSyncExtension"]), | ||
.library(name: "VideoCodecEnc", targets: ["AgoraVideoEncoderExtension", "video_enc"]), | ||
.library(name: "VideoCodecDec", targets: ["AgoraVideoDecoderExtension", "video_dec"]), | ||
.library(name: "VideoAv1CodecEnc", targets: ["AgoraVideoAv1EncoderExtension"]), | ||
.library(name: "VideoAv1CodecDec", targets: ["AgoraVideoAv1DecoderExtension"]), | ||
.library(name: "ReplayKit", targets: ["AgoraReplayKitExtension"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/AgoraIO/AgoraInfra_iOS.git", from: "0.0.5-test") | ||
], | ||
targets: [ | ||
{%- for target in targets %} | ||
.binaryTarget( | ||
name: "{{target.name}}", | ||
url: "{{target.url}}", | ||
checksum: "{{target.checksum}}" | ||
name: "AgoraRtcKit", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraRtcKit.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "Agorafdkaac", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/Agorafdkaac.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "Agoraffmpeg", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/Agoraffmpeg.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraSoundTouch", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraSoundTouch.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraAiNoiseSuppressionExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraAiNoiseSuppressionExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraAiNoiseSuppressionLLExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraAiNoiseSuppressionLLExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraAudioBeautyExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraAudioBeautyExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraClearVisionExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraClearVisionExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraContentInspectExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraContentInspectExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraSpatialAudioExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraSpatialAudioExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraVideoSegmentationExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraVideoSegmentationExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraAiEchoCancellationExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraAiEchoCancellationExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraAiEchoCancellationLLExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraAiEchoCancellationLLExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraVideoQualityAnalyzerExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraVideoQualityAnalyzerExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraFaceDetectionExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraFaceDetectionExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraFaceCaptureExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraFaceCaptureExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraLipSyncExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraLipSyncExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraVideoEncoderExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraVideoEncoderExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "video_enc", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/video_enc.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraVideoDecoderExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraVideoDecoderExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "video_dec", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/video_dec.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraVideoAv1EncoderExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraVideoAv1EncoderExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraVideoAv1DecoderExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraVideoAv1DecoderExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
.binaryTarget( | ||
name: "AgoraReplayKitExtension", | ||
url: "https://download.agora.io/swiftpm/AgoraRtcEngine_iOS/0.0.6-test-with-aosl/AgoraReplayKitExtension.xcframework.zip", | ||
checksum: "sha256_value" | ||
), | ||
{%- endfor %} | ||
.target(name: "RtcBasic", dependencies: ["AgoraInfra_iOS"]) | ||
] | ||
) | ||
) |