Skip to content

Commit 214ed61

Browse files
committed
Update Package.swift and wrappers for mega-package v7.2.16
1 parent 3a6b472 commit 214ed61

10 files changed

Lines changed: 165 additions & 10 deletions

File tree

Package.swift

Lines changed: 156 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,169 @@
1-
// swift-tools-version:5.5
1+
// swift-tools-version:5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
3-
// https://developer.apple.com/documentation/xcode/creating_a_standalone_swift_package_with_xcode?language=objc
3+
//
4+
// This file is generated by bin/scripts/megapackage/publish-megapackage.sh.
5+
// Do not edit by hand: edit the template at bin/scripts/megapackage/Package.swift.template
6+
// in the videocloud_agave repository instead.
47

58
import PackageDescription
69

7-
let BrightcovePlayerSDK = Package(
8-
name: "Brightcove Player SDK",
10+
let package = Package(
11+
name: "BrightcovePlayerSDK",
912
platforms: [
10-
.iOS(.v12), .tvOS(.v12)
13+
.iOS(.v14), .tvOS(.v15)
1114
],
1215
products: [
1316
.library(
1417
name: "BrightcovePlayerSDK",
15-
targets: ["BrightcovePlayerSDK"])
18+
targets: ["BrightcovePlayerSDKWrapper"]),
19+
.library(
20+
name: "BrightcoveIMA",
21+
targets: ["BrightcoveIMAWrapper"]),
22+
.library(
23+
name: "BrightcoveDAI",
24+
targets: ["BrightcoveDAIWrapper"]),
25+
.library(
26+
name: "BrightcoveFW",
27+
targets: ["BrightcoveFWWrapper"]),
28+
.library(
29+
name: "BrightcoveGoogleCast",
30+
targets: ["BrightcoveGoogleCastWrapper"]),
31+
.library(
32+
name: "BrightcoveAMC",
33+
targets: ["BrightcoveAMCWrapper"]),
34+
.library(
35+
name: "BrightcovePulse",
36+
targets: ["BrightcovePulseWrapper"]),
37+
.library(
38+
name: "BrightcoveSSAI",
39+
targets: ["BrightcoveSSAIWrapper"]),
40+
.library(
41+
name: "OMSDK_Brightcove",
42+
targets: ["OMSDK_BrightcoveWrapper"])
43+
],
44+
dependencies: [
45+
.package(
46+
url: "https://github.com/googleads/swift-package-manager-google-interactive-media-ads-ios.git",
47+
.upToNextMinor(from: "3.26.1")),
48+
.package(
49+
url: "https://github.com/googleads/swift-package-manager-google-interactive-media-ads-tvos.git",
50+
.upToNextMinor(from: "4.16.0")),
51+
.package(
52+
url: "https://github.com/SRGSSR/google-cast-sdk.git",
53+
exact: "4.8.3")
1654
],
1755
targets: [
56+
// Binary targets. Each is reached transitively through its wrapper target; none is
57+
// listed directly in a library product's targets: array.
1858
.binaryTarget(
19-
name: "BrightcovePlayerSDK",
20-
path: "xcframework/BrightcovePlayerSDK.xcframework"
21-
)
59+
name: "BrightcovePlayerSDK",
60+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcovePlayerSDK.xcframework.zip",
61+
checksum: "14d33bf65cd507c120155964f67632104852a0f149ff5408c45f11b15cfaf05d"),
62+
.binaryTarget(
63+
name: "BrightcoveIMA",
64+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcoveIMA.xcframework.zip",
65+
checksum: "a604a2b0181e1fd2ff6d64ad8bda6eb7d5b3cf73d6ed06ce9ddc2d78ef2a1fb4"),
66+
.binaryTarget(
67+
name: "BrightcoveDAI",
68+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcoveDAI.xcframework.zip",
69+
checksum: "4d610ed9bdac0c9f09ed2c974dbdd062dc376f6b7c66523ae9f84d3b0f21bfbd"),
70+
.binaryTarget(
71+
name: "BrightcoveFW",
72+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcoveFW.xcframework.zip",
73+
checksum: "7fa0a8619c40c9d48180ae522dc00fad6e3a742d03f33f0399520c72383362bb"),
74+
.binaryTarget(
75+
name: "BrightcoveGoogleCast",
76+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcoveGoogleCast.xcframework.zip",
77+
checksum: "a37cc5f8929a1e09d2a7341be4236ee57cb40bdbc2a1ab7f0e3edd40e4f61e05"),
78+
.binaryTarget(
79+
name: "BrightcoveAMC",
80+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcoveAMC.xcframework.zip",
81+
checksum: "14ed78f8ece810dacecbe8b26bd0039c93b486cb5a54c69ca766654997a666ba"),
82+
.binaryTarget(
83+
name: "BrightcovePulse",
84+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcovePulse.xcframework.zip",
85+
checksum: "35bab7afe718527c73c4b95e65d8515eee4646a26d20206b6a4f5670df49bec6"),
86+
.binaryTarget(
87+
name: "BrightcoveSSAI",
88+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/BrightcoveSSAI.xcframework.zip",
89+
checksum: "96895f54a24252d49b898e8aeb7cbc14c6cd95b1716957322fc21cdd016a51a3"),
90+
.binaryTarget(
91+
name: "OMSDK_Brightcove",
92+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.16/OMSDK_Brightcove.xcframework.zip",
93+
checksum: "722417723a036dbe5d2b0ceb2d764f80d3d3862c94a392143af7f63eeab296ff"),
94+
95+
// Wrapper targets. Each carries the dependencies and linker settings that the
96+
// matching .binaryTarget cannot declare directly. The library products expose
97+
// only these wrappers.
98+
.target(
99+
name: "BrightcovePlayerSDKWrapper",
100+
dependencies: ["BrightcovePlayerSDK"],
101+
path: "Sources/BrightcovePlayerSDKWrapper"),
102+
.target(
103+
name: "BrightcoveIMAWrapper",
104+
dependencies: [
105+
"BrightcoveIMA",
106+
"BrightcovePlayerSDKWrapper",
107+
.product(name: "GoogleInteractiveMediaAds",
108+
package: "swift-package-manager-google-interactive-media-ads-ios",
109+
condition: .when(platforms: [.iOS])),
110+
.product(name: "GoogleInteractiveMediaAdsTvOS",
111+
package: "swift-package-manager-google-interactive-media-ads-tvos",
112+
condition: .when(platforms: [.tvOS]))
113+
],
114+
path: "Sources/BrightcoveIMAWrapper"),
115+
.target(
116+
name: "BrightcoveDAIWrapper",
117+
dependencies: [
118+
"BrightcoveDAI",
119+
"BrightcovePlayerSDKWrapper",
120+
.product(name: "GoogleInteractiveMediaAds",
121+
package: "swift-package-manager-google-interactive-media-ads-ios",
122+
condition: .when(platforms: [.iOS])),
123+
.product(name: "GoogleInteractiveMediaAdsTvOS",
124+
package: "swift-package-manager-google-interactive-media-ads-tvos",
125+
condition: .when(platforms: [.tvOS]))
126+
],
127+
path: "Sources/BrightcoveDAIWrapper"),
128+
.target(
129+
name: "BrightcoveFWWrapper",
130+
dependencies: ["BrightcoveFW", "BrightcovePlayerSDKWrapper"],
131+
path: "Sources/BrightcoveFWWrapper",
132+
linkerSettings: [
133+
.linkedLibrary("xml2"),
134+
.linkedFramework("AdSupport"),
135+
.linkedFramework("CoreLocation"),
136+
.linkedFramework("MessageUI", .when(platforms: [.iOS])),
137+
.linkedFramework("WebKit", .when(platforms: [.iOS]))
138+
]),
139+
.target(
140+
name: "BrightcoveGoogleCastWrapper",
141+
dependencies: [
142+
"BrightcoveGoogleCast",
143+
"BrightcovePlayerSDKWrapper",
144+
.product(name: "GoogleCast", package: "google-cast-sdk")
145+
],
146+
path: "Sources/BrightcoveGoogleCastWrapper"),
147+
.target(
148+
name: "BrightcoveAMCWrapper",
149+
dependencies: ["BrightcoveAMC", "BrightcovePlayerSDKWrapper"],
150+
path: "Sources/BrightcoveAMCWrapper",
151+
linkerSettings: [
152+
.linkedLibrary("sqlite3"),
153+
.linkedFramework("SystemConfiguration"),
154+
.linkedFramework("WebKit")
155+
]),
156+
.target(
157+
name: "BrightcovePulseWrapper",
158+
dependencies: ["BrightcovePulse", "BrightcovePlayerSDKWrapper"],
159+
path: "Sources/BrightcovePulseWrapper"),
160+
.target(
161+
name: "BrightcoveSSAIWrapper",
162+
dependencies: ["BrightcoveSSAI", "BrightcovePlayerSDKWrapper"],
163+
path: "Sources/BrightcoveSSAIWrapper"),
164+
.target(
165+
name: "OMSDK_BrightcoveWrapper",
166+
dependencies: ["OMSDK_Brightcove"],
167+
path: "Sources/OMSDK_BrightcoveWrapper")
22168
]
23-
)
169+
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcoveAMC library product. Carries the system library and framework linkage and Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcoveDAI library product. Carries the Google IMA SPM dependency and Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcoveFW library product. Carries the system library and framework linkage and Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcoveGoogleCast library product. Carries the Google Cast SPM dependency and Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcoveIMA library product. Carries the Google IMA SPM dependency and Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcovePlayerSDK library product. Carries the Core binary target dependency. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcovePulse library product. Carries the BrightcovePulse binary dependency and the Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the BrightcoveSSAI library product. Carries the BrightcoveSSAI binary dependency and the Core link. See Package.swift.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Linkage shim for the OMSDK_Brightcove library product. See Package.swift.

0 commit comments

Comments
 (0)