From 0c4c3f639eda11c28495004cfdb5e9ef3c326043 Mon Sep 17 00:00:00 2001 From: agorabuilder Date: Fri, 25 Oct 2024 06:47:32 +0000 Subject: [PATCH] 0.0.6-test-with-aosl --- Package.swift | 156 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 145 insertions(+), 11 deletions(-) diff --git a/Package.swift b/Package.swift index 08161c5..7cd05d6 100644 --- a/Package.swift +++ b/Package.swift @@ -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"]) ] -) \ No newline at end of file +)