26 lines
830 B
Bash
26 lines
830 B
Bash
# Template file for 'spotify-player'
|
|
pkgname=spotify-player
|
|
version=0.20.4
|
|
revision=1
|
|
build_style=cargo
|
|
make_install_args="--path spotify_player"
|
|
hostmakedepends="pkg-config cmake clang rust-bindgen"
|
|
makedepends="openssl-devel alsa-lib-devel dbus-devel libxcb-devel"
|
|
short_desc="Command driven spotify player"
|
|
maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
|
|
license="MIT"
|
|
homepage="https://github.com/aome510/spotify-player"
|
|
distfiles="https://github.com/aome510/spotify-player/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=1d13f47ef4df3415835736f32629d57e331707d781507007ea04217a7dc735d8
|
|
|
|
# FIXME: Workaround will be removed when https://github.com/aws/aws-lc-rs/issues/632 is resolved
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv[67]l)
|
|
export AWS_LC_SYS_CFLAGS="-Wno-stringop-overflow"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|