Skip to content

Commit 10232f1

Browse files
committed
Update Package.swift and wrappers for mega-package v7.2.19
1 parent eb2f4a2 commit 10232f1

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.19/BrightcovePlayerSDK.xcframework.zip",
61+
checksum: "f7fc36412ce7042fd2133dc9f68a25e36fb899645a8f2ec59fc91b70aeaf63c5"),
62+
.binaryTarget(
63+
name: "BrightcoveIMA",
64+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveIMA.xcframework.zip",
65+
checksum: "8c9f4051088d2271dee0ebeb611ac3f8c52610150390e92f9b8f99e1780ee074"),
66+
.binaryTarget(
67+
name: "BrightcoveDAI",
68+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveDAI.xcframework.zip",
69+
checksum: "51eaf70d2ac905802823b737e084b59412dc556d30f4c4669fdbedd021a971c9"),
70+
.binaryTarget(
71+
name: "BrightcoveFW",
72+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveFW.xcframework.zip",
73+
checksum: "9122a80d72b1b0a9d597bdf1ee3d62c848ca060b80ba562001b8f35addb339b5"),
74+
.binaryTarget(
75+
name: "BrightcoveGoogleCast",
76+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveGoogleCast.xcframework.zip",
77+
checksum: "862b865e0931a4d8485e12ebc38b03a3109dbc0be5334cd68e6ef2986074e7b2"),
78+
.binaryTarget(
79+
name: "BrightcoveAMC",
80+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveAMC.xcframework.zip",
81+
checksum: "7185e9f765af991d509d77ea5188695c0909993e1c0557bf591e3d94485965db"),
82+
.binaryTarget(
83+
name: "BrightcovePulse",
84+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcovePulse.xcframework.zip",
85+
checksum: "519d1505beb9ce3745832c182a6c71fca9e7d4c2f19bba730c9dfc23ec7d3b72"),
86+
.binaryTarget(
87+
name: "BrightcoveSSAI",
88+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveSSAI.xcframework.zip",
89+
checksum: "89e45e85afadbf6b548aa10511846bd3c6d1ab7cb90d50837515eee5f84dd05d"),
90+
.binaryTarget(
91+
name: "OMSDK_Brightcove",
92+
url: "https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/OMSDK_Brightcove.xcframework.zip",
93+
checksum: "789a15163204f3bea14208901e004c3298e5dcc43586e92199409bb7c83b75b1"),
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)