mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-06-06 20:17:36 +00:00
39 lines
1.0 KiB
Swift
39 lines
1.0 KiB
Swift
// swift-tools-version:5.1
|
|
// 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)
|
|
],
|
|
products: [
|
|
.library(name: "HaishinKit", targets: ["HaishinKit"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/shogo4405/Logboard.git", from: "2.3.0")
|
|
],
|
|
targets: [
|
|
.target(name: "SwiftPMSupport"),
|
|
.target(name: "HaishinKit",
|
|
dependencies: ["Logboard", "SwiftPMSupport"],
|
|
path: "Sources",
|
|
sources: [
|
|
"Codec",
|
|
"Extension",
|
|
"FLV",
|
|
"HTTP",
|
|
"ISO",
|
|
"Media",
|
|
"MP4",
|
|
"Net",
|
|
"RTMP",
|
|
"Util",
|
|
"Platforms",
|
|
"TS"
|
|
])
|
|
]
|
|
)
|