1// swift-tools-version: 6.0
2import PackageDescription
3
4// Capture core for Clover Recorder.
5//
6// A small ScreenCaptureKit + AVFoundation command-line engine that records any
7// combination of displays, the system-audio mix, the microphone, and (later) a
8// webcam into one session folder, each stream as its own file, all timestamped
9// against the shared mach host clock so the streams can be re-aligned exactly.
10//
11// No external dependencies, so it builds fully offline.
12let package = Package(
13 name: "recorder",
14 platforms: [.macOS(.v14)],
15 targets: [
16 .executableTarget(
17 name: "recorder",
18 path: "Sources/recorder",
19 swiftSettings: [.swiftLanguageMode(.v5)]
20 )
21 ]
22)