43 lines
1.2 KiB
Swift
43 lines
1.2 KiB
Swift
// swift-tools-version:5.5
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "HaishinKit",
|
|
platforms: [
|
|
.iOS(.v11),
|
|
.tvOS(.v11),
|
|
.macOS(.v10_13),
|
|
.macCatalyst(.v14)
|
|
],
|
|
products: [
|
|
.library(name: "HaishinKit", targets: ["HaishinKit"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/shogo4405/Logboard.git", from: "2.3.1")
|
|
],
|
|
targets: [
|
|
.target(name: "SwiftPMSupport"),
|
|
.target(name: "HaishinKit",
|
|
dependencies: ["Logboard", "SwiftPMSupport"],
|
|
path: "Sources",
|
|
exclude: [
|
|
"Platforms/iOS/Info.plist",
|
|
"Platforms/macOS/Info.plist",
|
|
"Platforms/tvOS/Info.plist"
|
|
],
|
|
sources: [
|
|
"Codec",
|
|
"Extension",
|
|
"FLV",
|
|
"HTTP",
|
|
"Media",
|
|
"MPEG",
|
|
"Net",
|
|
"RTMP",
|
|
"Util",
|
|
"Platforms"
|
|
])
|
|
]
|
|
)
|