Add simple debian-packaging with cargo-deb

This commit is contained in:
Klaus Umbach
2021-01-23 19:35:45 +01:00
committed by Henrik Friedrichsen
parent ab60556644
commit 58c0d22d41
2 changed files with 31 additions and 0 deletions

View File

@@ -63,3 +63,17 @@ termion_backend = ["cursive/termion-backend"]
mpris = ["dbus", "dbus-tree"]
notify = ["notify-rust"]
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "cursive/pancurses-backend"]
[package.metadata.deb]
depends = "$auto, pulseaudio"
section = "sound"
priority = "optional"
extended-description = """\
ncurses Spotify client written in Rust using librespot. \
It is heavily inspired by ncurses MPD clients, such as ncmpc."""
license-file = ["LICENSE"]
assets = [
["target/release/ncspot", "usr/bin/", "755"],
["README.md", "usr/share/doc/ncspot/README.md", "644"],
]