-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
31 lines (28 loc) · 897 Bytes
/
Package.swift
File metadata and controls
31 lines (28 loc) · 897 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
29
30
31
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "libdav1d",
platforms: [.macOS(.v11), .iOS(.v14), .tvOS(.v14)],
products: [
.library(
name: "Libdav1d",
targets: ["_Libdav1d"]
),
],
targets: [
// Need a dummy target to embedded correctly.
// https://github.com/apple/swift-package-manager/issues/6069
.target(
name: "_Libdav1d",
dependencies: ["Libdav1d"],
path: "Sources/_Dummy"
),
//AUTO_GENERATE_TARGETS_BEGIN//
.binaryTarget(
name: "Libdav1d",
url: "https://github.com/mpvkit/libdav1d-build/releases/download/1.5.3/Libdav1d.xcframework.zip",
checksum: "d1a32ae6a1f0193e9f05c44c9176844af7f6d2a58cb33843f6f1b8dfd9224083"
),
//AUTO_GENERATE_TARGETS_END//
]
)