This repository was archived by the owner on Apr 28, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
51 lines (49 loc) · 1.44 KB
/
Package.swift
File metadata and controls
51 lines (49 loc) · 1.44 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "VLC",
platforms: [
.iOS(.v17),
.tvOS(.v17),
.macOS(.v14),
],
products: [
.library(
name: "VLC",
targets: [
"VLC",
]
),
],
targets: [
.target(
name: "VLC",
dependencies: [
.target(name: "MobileVLCKit", condition: .when(platforms: [.iOS])),
.target(name: "TVVLCKit", condition: .when(platforms: [.tvOS])),
.target(name: "VLCKit", condition: .when(platforms: [.macOS])),
],
path: "Sources",
linkerSettings: [
.linkedFramework("MobileVLCKit", .when(platforms: [.iOS])),
.linkedFramework("TVVLCKit", .when(platforms: [.tvOS])),
.linkedFramework("VLCKit", .when(platforms: [.macOS])),
]
),
.binaryTarget(
name: "MobileVLCKit",
url: "https://github.com/harflabs/VLC/releases/download/3.7.0/MobileVLCKit.zip",
checksum: "5bc436aeb94f765a22d103dd101979ace1ed81c5fef1460e2785ba1093699d97"
),
.binaryTarget(
name: "TVVLCKit",
url: "https://github.com/harflabs/VLC/releases/download/3.7.0/TVVLCKit.zip",
checksum: "46d47370d868f4da00971c68941754fdb45d304cccff3cb58e8978e57075dc4c"
),
.binaryTarget(
name: "VLCKit",
url: "https://github.com/harflabs/VLC/releases/download/3.7.0/VLCKit.zip",
checksum: "b73618a24b19c921f1c6f3a365ade7bc9d2eafd6d995bdd5534432c3effd2f52"
),
]
)