ffplayout/ffplayout-engine/Cargo.toml

223 lines
6.0 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"
readme = "README.md"
version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
edition.workspace = true
default-run = "ffplayout"
2022-06-21 17:10:38 -04:00
[dependencies]
ffplayout-lib = { path = "../lib" }
chrono = "0.4"
2022-06-21 17:10:38 -04:00
clap = { version = "3.2", features = ["derive"] }
crossbeam-channel = "0.5"
futures = "0.3"
jsonrpc-http-server = "18.0"
2023-06-16 09:25:57 -04:00
notify = "6.0"
notify-debouncer-full = { version = "*", default-features = false }
2022-10-14 04:40:35 -04:00
regex = "1"
2022-06-21 17:10:38 -04:00
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",
2022-06-21 17:10:38 -04:00
] }
[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 = ""
2022-08-18 09:44:19 -04:00
recommends = "sudo"
2022-06-21 17:10:38 -04:00
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/",
"755",
],
[
"../assets/ffpapi.service",
"/lib/systemd/system/",
"644",
],
[
"../assets/ffplayout.service",
"/lib/systemd/system/",
"644",
],
[
"../assets/ffplayout@.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",
],
[
"../assets/ffplayout.yml",
"/usr/share/ffplayout/ffplayout.yml.orig",
"644",
],
[
"../assets/ffplayout.conf",
"/usr/share/ffplayout/ffplayout.conf.example",
"644",
],
[
"../README.md",
"/usr/share/doc/ffplayout/README",
"644",
],
[
"../assets/ffpapi.1.gz",
"/usr/share/man/man1/",
"644",
],
[
"../assets/ffplayout.1.gz",
"/usr/share/man/man1/",
"644",
],
[
"../public/**/*",
"/usr/share/ffplayout/public/",
"644",
],
2022-06-21 17:10:38 -04:00
]
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
2022-07-20 06:09:52 -04:00
[package.metadata.deb.variants.arm64]
assets = [
[
"../target/aarch64-unknown-linux-gnu/release/ffpapi",
"/usr/bin/",
"755",
],
2022-07-20 06:09:52 -04:00
[
"../target/aarch64-unknown-linux-gnu/release/ffplayout",
"/usr/bin/",
"755",
],
[
"../assets/ffpapi.service",
"/lib/systemd/system/",
"644",
],
[
"../assets/ffplayout.service",
"/lib/systemd/system/",
"644",
],
[
"../assets/ffplayout@.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",
],
[
"../assets/ffplayout.yml",
"/usr/share/ffplayout/ffplayout.yml.orig",
"644",
],
[
"../assets/ffplayout.conf",
"/usr/share/ffplayout/ffplayout.conf.example",
"644",
],
[
"../README.md",
"/usr/share/doc/ffplayout/README",
"644",
],
[
"../assets/ffpapi.1.gz",
"/usr/share/man/man1/",
"644",
],
[
"../assets/ffplayout.1.gz",
"/usr/share/man/man1/",
"644",
],
[
"../public/**/*",
"/usr/share/ffplayout/public/",
"644",
],
2022-07-20 06:09:52 -04:00
]
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" },
{ 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" },
{ source = "../README.md", dest = "/usr/share/doc/ffplayout/README", mode = "644" },
{ source = "../assets/ffpapi.1.gz", dest = "/usr/share/man/man1/ffpapi.1.gz", mode = "644", doc = true },
{ source = "../assets/ffplayout.1.gz", dest = "/usr/share/man/man1/ffplayout.1.gz", mode = "644", doc = true },
2022-06-21 17:10:38 -04:00
{ source = "../LICENSE", dest = "/usr/share/doc/ffplayout/LICENSE", mode = "644" },
{ source = "../assets/logo.png", dest = "/usr/share/ffplayout/logo.png", mode = "644" },
{ source = "../assets/ffplayout.yml", dest = "/usr/share/ffplayout/ffplayout.yml.orig", mode = "644" },
2022-07-26 05:18:25 -04:00
{ source = "../assets/ffplayout.conf", dest = "/usr/share/ffplayout/ffplayout.conf.example", mode = "644" },
2022-07-25 11:26:49 -04:00
{ source = "../public/**/*", dest = "/usr/share/ffplayout/public/", 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"