Skip to content

Commit

Permalink
feat: add debian deb package #34
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Jan 5, 2024
1 parent 0cd6dc0 commit 5f1fdf1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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 <[email protected]>"
copyright = "BinBat LTD <[email protected]>"
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"],
]

0 comments on commit 5f1fdf1

Please sign in to comment.