-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
28 lines (25 loc) · 872 Bytes
/
Package.swift
File metadata and controls
28 lines (25 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "libbluray",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13)],
products: [
.library(name: "Libbluray", targets: ["_Libbluray"]),
],
targets: [
// Need a dummy target to embedded correctly.
// https://github.com/apple/swift-package-manager/issues/6069
.target(
name: "_Libbluray",
dependencies: ["Libbluray"],
path: "Sources/_Dummy"
),
//AUTO_GENERATE_TARGETS_BEGIN//
.binaryTarget(
name: "Libbluray",
url: "https://github.com/mpvkit/libbluray-build/releases/download/1.4.0/Libbluray.xcframework.zip",
checksum: "bc037d34e2b0b5ab7f202fb371f5fb298136cc66fdf406c2172185d06f53f18d"
),
//AUTO_GENERATE_TARGETS_END//
]
)