From 58d24e2744a800f336649f19f9d7ceea75e923a1 Mon Sep 17 00:00:00 2001 From: herrernst Date: Fri, 5 Aug 2016 13:08:32 +0200 Subject: [PATCH] add some fields to Cargo manifest so debian package can be build easily with cargo-deb --- Cargo.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 46d90217..8a824939 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,11 @@ name = "librespot" version = "0.1.0" authors = ["Paul Liétar "] build = "build.rs" +license = "MIT" +description = "Open Source Spotify client library" +keywords = ["spotify"] +repository = "https://github.com/plietar/librespot" +readme = "README.md" [lib] name = "librespot" @@ -70,3 +75,19 @@ facebook = ["hyper/ssl", "openssl"] portaudio-backend = ["portaudio"] pulseaudio-backend= ["libpulse-sys"] default = ["with-syntex", "portaudio-backend"] + +[package.metadata.deb] +maintainer = "nobody" +copyright = "2016 Paul Liétar" +license_file = ["LICENSE", "4"] +depends = "$auto" +extended_description = """\ +librespot is an open source client library for Spotify. It enables applications \ +to use Spotify's service, without using the official but closed-source \ +libspotify. Additionally, it will provide extra features which are not \ +available in the official library.""" +section = "sound" +priority = "optional" +assets = [ + ["target/release/librespot", "usr/bin/", "755"] +]