ffplayout/ffplayout-engine/Cargo.toml

77 lines
2.9 KiB
TOML
Raw Normal View History

2022-06-21 17:10:38 -04:00
[package]
2022-06-23 16:39:13 -04:00
name = "ffplayout"
2022-06-21 17:10:38 -04:00
description = "24/7 playout based on rust and ffmpeg"
license = "GPL-3.0"
authors = ["Jonathan Baecker jonbae77@gmail.com"]
readme = "README.md"
2022-07-08 04:22:31 -04:00
version = "0.10.4"
2022-06-21 17:10:38 -04:00
edition = "2021"
[dependencies]
ffplayout-lib = { path = "../lib" }
clap = { version = "3.2", features = ["derive"] }
crossbeam-channel = "0.5"
futures = "0.3"
jsonrpc-http-server = "18.0"
notify = "4.0"
reqwest = { version = "0.11", features = ["blocking", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simplelog = { version = "^0.12", features = ["paris"] }
zeromq = { git = "https://github.com/zeromq/zmq.rs.git", default-features = false, features = [
"async-std-runtime",
"tcp-transport"
] }
[target.x86_64-unknown-linux-musl.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
[[bin]]
name = "ffplayout"
path = "src/main.rs"
# DEBIAN DEB PACKAGE
[package.metadata.deb]
2022-06-23 16:39:13 -04:00
name = "ffplayout"
2022-06-21 17:10:38 -04:00
priority = "optional"
section = "net"
license-file = ["../LICENSE", "0"]
depends = ""
suggests = "ffmpeg"
copyright = "Copyright (c) 2022, Jonathan Baecker. All rights reserved."
conf-files = ["/etc/ffplayout/ffplayout.yml"]
assets = [
["../target/x86_64-unknown-linux-musl/release/ffpapi", "/usr/bin/", "755"],
2022-06-21 17:10:38 -04:00
[
"../target/x86_64-unknown-linux-musl/release/ffplayout",
"/usr/bin/",
2022-06-21 17:10:38 -04:00
"755"
],
["../assets/ffpapi.service", "/lib/systemd/system/", "644"],
["../assets/11-ffplayout", "/etc/sudoers.d/", "644"],
["../assets/ffplayout.yml", "/etc/ffplayout/", "644"],
["../assets/logo.png", "/usr/share/ffplayout/", "644"],
2022-06-21 17:10:38 -04:00
["../README.md", "/usr/share/doc/ffplayout/README", "644"],
]
2022-06-23 16:39:13 -04:00
maintainer-scripts = "../debian/"
systemd-units = { enable = false, unit-scripts = "../assets" }
2022-06-21 17:10:38 -04:00
# REHL RPM PACKAGE
[package.metadata.generate-rpm]
2022-06-23 16:39:13 -04:00
name = "ffplayout"
2022-06-21 17:10:38 -04:00
license = "GPL-3.0"
assets = [
2022-06-23 16:39:13 -04:00
{ source = "../target/x86_64-unknown-linux-musl/release/ffpapi", dest = "/usr/bin/ffpapi", mode = "755" },
2022-06-21 17:10:38 -04:00
{ source = "../target/x86_64-unknown-linux-musl/release/ffplayout", dest = "/usr/bin/ffplayout", mode = "755" },
{ source = "../assets/ffplayout.yml", dest = "/etc/ffplayout/ffplayout.yml", mode = "644", config = true },
2022-06-23 16:39:13 -04:00
{ source = "../assets/ffpapi.service", dest = "/lib/systemd/system/ffpapi.service", mode = "644" },
{ source = "../assets/ffplayout.service", dest = "/lib/systemd/system/ffplayout.service", mode = "644" },
2022-06-24 11:41:55 -04:00
{ source = "../assets/11-ffplayout", dest = "/etc/sudoers.d/11-ffplayout", mode = "644" },
2022-06-21 17:10:38 -04:00
{ source = "../README.md", dest = "/usr/share/doc/ffplayout/README", mode = "644", doc = true },
{ source = "../LICENSE", dest = "/usr/share/doc/ffplayout/LICENSE", mode = "644" },
{ source = "../assets/logo.png", dest = "/usr/share/ffplayout/logo.png", mode = "644" },
2022-06-27 08:55:34 -04:00
{ source = "../debian/postinst", dest = "/usr/share/ffplayout/postinst", mode = "755" },
2022-06-21 17:10:38 -04:00
]
2022-06-27 08:55:34 -04:00
auto-req = "no"
post_install_script = "/usr/share/ffplayout/postinst"