2022-08-31 16:14:41 -04:00
|
|
|
[package]
|
|
|
|
name = "adept"
|
2022-09-01 12:35:39 -04:00
|
|
|
description = "Bit Goblin automated video transcoding service."
|
2022-08-31 16:14:41 -04:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2022-09-01 12:35:39 -04:00
|
|
|
readme = "README.md"
|
|
|
|
license = "BSD 2-Clause"
|
|
|
|
authors = ["Gregory Ballantine <gballantine@bitgoblin.tech>"]
|
2022-08-31 16:14:41 -04:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
toml = "0.5"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
shellexpand = "2.1"
|
2022-09-01 12:35:39 -04:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
license-file = "LICENSE"
|
2022-09-01 13:33:41 -04:00
|
|
|
maintainer-scripts = "build/debian/scripts"
|
2022-09-01 12:35:39 -04:00
|
|
|
depends = "ffmpeg (>= 4)"
|
|
|
|
section = "video"
|
|
|
|
assets = [
|
2022-09-01 13:01:20 -04:00
|
|
|
["target/release/adept", "usr/bin/adept", "755"],
|
2022-09-01 12:35:39 -04:00
|
|
|
["build/etc/example.toml", "etc/adept/example.toml", "644"],
|
|
|
|
["README.md", "usr/share/doc/adept/README", "644"]
|
|
|
|
]
|
|
|
|
[package.metadata.deb.systemd-units]
|
2022-09-01 13:33:41 -04:00
|
|
|
unit-scripts = "build/debian/service"
|
2022-09-01 12:35:39 -04:00
|
|
|
unit-name = "adept.service"
|
|
|
|
enable = true
|
|
|
|
start = true
|
|
|
|
|
|
|
|
[package.metadata.generate-rpm]
|
|
|
|
assets = [
|
|
|
|
{ source = "target/release/adept", dest = "/usr/bin/adept", mode = "755" },
|
|
|
|
{ source = "build/etc/example.toml", dest = "/etc/adept/example.toml", mode = "755"},
|
2022-09-01 12:52:11 -04:00
|
|
|
{ source = "README.md", dest = "/usr/share/doc/adept/README", mode = "644"}
|
2022-09-01 12:35:39 -04:00
|
|
|
]
|
2022-09-01 13:33:41 -04:00
|
|
|
post_install_script = "build/script/postinst"
|
2022-09-01 12:35:39 -04:00
|
|
|
[package.metadata.generate-rpm.requires]
|
|
|
|
ffmpeg = ">= 4"
|