mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+crates.io/spotify_player (#5464)
* spotify_player * Rename package.yaml to package.yml * version.tag to match url * client is in ./spotify_player * linux needs alsa * and dbus * needs openssl --------- Co-authored-by: user.name <user.email> Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
a5cb296926
commit
9418a956b1
1 changed files with 27 additions and 0 deletions
27
projects/crates.io/spotify_player/package.yml
Normal file
27
projects/crates.io/spotify_player/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
distributable:
|
||||
url: https://github.com/aome510/spotify-player/archive/refs/tags/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/spotify_player
|
||||
|
||||
versions:
|
||||
github: aome510/spotify-player
|
||||
strip: /v/
|
||||
|
||||
dependencies:
|
||||
openssl.org: ^1.1
|
||||
linux:
|
||||
alsa-project.org/alsa-lib: ^1
|
||||
freedesktop.org/dbus: ^1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.60'
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
cargo install --locked --path spotify_player --root {{prefix}}
|
||||
|
||||
test:
|
||||
script:
|
||||
- test "$(spotify_player --version)" = "spotify_player {{version}}"
|
Loading…
Reference in a new issue