-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPackage.swift
More file actions
110 lines (104 loc) · 4.33 KB
/
Package.swift
File metadata and controls
110 lines (104 loc) · 4.33 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "libsmbclient",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13)],
products: [
.library(
name: "Libsmbclient",
targets: ["_Libsmbclient"]
),
.library(
name: "Libsmbclient-ios",
targets: ["_Libsmbclient-ios"]
),
.library(
name: "Libsmbclient-tvos",
targets: ["_Libsmbclient-tvos"]
),
.library(
name: "Libsmbclient-macos",
targets: ["_Libsmbclient-macos"]
),
.library(
name: "Libsmbclient-xros",
targets: ["_Libsmbclient-xros"]
),
],
targets: [
// Need a dummy target to embedded correctly.
// https://github.com/apple/swift-package-manager/issues/6069
.target(
name: "_Libsmbclient",
dependencies: ["gmp", "nettle", "hogweed", "gnutls", "Libsmbclient"],
path: "Sources/_Libsmbclient"
),
.target(
name: "_Libsmbclient-ios",
dependencies: ["gmp", "nettle", "hogweed", "gnutls", "Libsmbclient-ios"],
path: "Sources/_Libsmbclient-ios"
),
.target(
name: "_Libsmbclient-tvos",
dependencies: ["gmp", "nettle", "hogweed", "gnutls", "Libsmbclient-tvos"],
path: "Sources/_Libsmbclient-tvos"
),
.target(
name: "_Libsmbclient-macos",
dependencies: ["gmp", "nettle", "hogweed", "gnutls", "Libsmbclient-macos"],
path: "Sources/_Libsmbclient-macos"
),
.target(
name: "_Libsmbclient-xros",
dependencies: ["gmp", "nettle", "hogweed", "gnutls", "Libsmbclient-xros"],
path: "Sources/_Libsmbclient-xros"
),
//AUTO_GENERATE_TARGETS_BEGIN//
.binaryTarget(
name: "gmp",
url: "https://github.com/mpvkit/gnutls-build/releases/download/3.8.11/gmp.xcframework.zip",
checksum: "ad33c7a08f4cdcb9924c8f0e6d9a054dad33d7794b97667bf8b6fb2b236ae585"
),
.binaryTarget(
name: "nettle",
url: "https://github.com/mpvkit/gnutls-build/releases/download/3.8.11/nettle.xcframework.zip",
checksum: "0fdf3ebf8bd7b8bc8eee837cf27261cb4c52ae520b6576a2f468656aa1691e02"
),
.binaryTarget(
name: "hogweed",
url: "https://github.com/mpvkit/gnutls-build/releases/download/3.8.11/hogweed.xcframework.zip",
checksum: "25727c9fa67287fa0a4f4722f88bb8be669b23cd7e837e2d00870eb8a25d3f27"
),
.binaryTarget(
name: "gnutls",
url: "https://github.com/mpvkit/gnutls-build/releases/download/3.8.11/gnutls.xcframework.zip",
checksum: "3dbec5809339189bf9679e218c6cff387ebf8fb72745927835afc2678f5c9f4d"
),
.binaryTarget(
name: "Libsmbclient",
url: "https://github.com/mpvkit/libsmbclient-build/releases/download/4.15.13-2512/Libsmbclient.xcframework.zip",
checksum: "3a53375fab11bc888cc553664ea5dd902208d04f0cc21ec746302bf356246b6f"
),
.binaryTarget(
name: "Libsmbclient-ios",
url: "https://github.com/mpvkit/libsmbclient-build/releases/download/4.15.13-2512/Libsmbclient-ios.xcframework.zip",
checksum: "3131a78e28f75e504329faec4a2121f7f9368e1457cb6a5474ce37cd3b00e5de"
),
.binaryTarget(
name: "Libsmbclient-tvos",
url: "https://github.com/mpvkit/libsmbclient-build/releases/download/4.15.13-2512/Libsmbclient-tvos.xcframework.zip",
checksum: "50613b38bafa2dc22a8e97d26dda5ae84ae52bdf309e57671f9966cb1f63038a"
),
.binaryTarget(
name: "Libsmbclient-macos",
url: "https://github.com/mpvkit/libsmbclient-build/releases/download/4.15.13-2512/Libsmbclient-macos.xcframework.zip",
checksum: "950a2cc8671c359bfcb3298702c13c882f13ef91d75bb2fb45072c17094c72c4"
),
.binaryTarget(
name: "Libsmbclient-xros",
url: "https://github.com/mpvkit/libsmbclient-build/releases/download/4.15.13-2512/Libsmbclient-xros.xcframework.zip",
checksum: "a0d17f11ddc5ab8609a4e168006eb900527b2de9abe81b2a2388af611c46a74d"
),
//AUTO_GENERATE_TARGETS_END//
]
)