mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-05 02:41:38 +01:00
testing/spotify-player: new aport
This commit is contained in:
parent
25b9bd44e9
commit
c2d7e90a0e
40
testing/spotify-player/APKBUILD
Normal file
40
testing/spotify-player/APKBUILD
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
||||||
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
||||||
|
pkgname=spotify-player
|
||||||
|
pkgver=0.12.0
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Command driven spotify player"
|
||||||
|
url="https://github.com/aome510/spotify-player"
|
||||||
|
arch="x86_64 aarch64 x86 ppc64le" # limited by rust/cargo, does not compile on armv7, armhf
|
||||||
|
license="MIT"
|
||||||
|
makedepends="
|
||||||
|
alsa-lib-dev
|
||||||
|
cargo
|
||||||
|
dbus-dev
|
||||||
|
openssl-dev
|
||||||
|
wayland-dev
|
||||||
|
"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/aome510/spotify-player/archive/v$pkgver.tar.gz"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
default_prepare
|
||||||
|
|
||||||
|
cargo fetch --target="$CTARGET" --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cargo build --release --frozen \
|
||||||
|
--no-default-features --features 'alsa-backend,media-control,notify,streaming'
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cargo test --frozen
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 target/release/spotify_player -t "$pkgdir"/usr/bin
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
fb9ca3c1aeabebd2fd7ef7202183440dff8946ced89e6b19d64ff92ff21c64d3e7d570209ff534f4d46805f2fa0ae19efaf3edaedba5699342e86d05926cea8b spotify-player-0.12.0.tar.gz
|
||||||
|
"
|
||||||
Loading…
x
Reference in New Issue
Block a user