diff --git a/Cargo.toml b/Cargo.toml index 7d443781..f478a5f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,8 @@ name = "live777" version = "0.3.2" edition = "2021" +license = "MPL-2.0" +description = "A very simple, high performance, edge WebRTC SFU" [workspace] members = [".", "libs/cli", "libs/libwish", "tools/whepfrom", "tools/whipinto"] @@ -31,3 +33,25 @@ rust-embed = { version = "8.0.0", features = ["axum-ex"] } prometheus = "0.13.3" lazy_static = "1.4.0" thiserror = "1" + +# cargo install cargo-deb +# Reference: https://github.com/kornelski/cargo-deb +[package.metadata.deb] +maintainer = "Metal A-Wing <1@233.email>" +copyright = "BinBat LTD " +license-file = ["LICENSE"] +extended-description = """\ +A very simple, high performance, edge WebRTC SFU.\ +Real-time video streaming for the `WHIP`/`WHEP` as first protocol.\ +""" +depends = "libc6 systemd" +section = "utility" +priority = "optional" +assets = [ + ["target/release/live777", "usr/bin/", "755"], + ["target/release/whipinto", "usr/bin/", "755"], + ["target/release/whepfrom", "usr/bin/", "755"], + ["config-dist.toml", "etc/live777/config.toml", "644"], + ["live777.service", "usr/lib/systemd/system/live777.service", "644"], + ["README.md", "usr/share/doc/live777/README", "644"], +]