26 lines
842 B
Bash
26 lines
842 B
Bash
# Template file for 'spotifyd'
|
|
pkgname=spotifyd
|
|
version=0.2.24
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="alsa-lib-devel libressl-devel pulseaudio-devel dbus-devel"
|
|
short_desc="Spotify client running as a UNIX daemon"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/Spotifyd/spotifyd"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=d3763f4647217a8f98ee938b50e141d67a5f3d33e9378894fde2a92c9845ef80
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
aarch64-musl) broken="https://travis-ci.org/void-linux/void-packages/jobs/636076091" ;;
|
|
esac
|
|
|
|
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
|
|
export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
|
|
|
|
pre_configure() {
|
|
vsed -e 's/default = \[/& "dbus", "dbus-tokio", "pulseaudio_backend", "keyring", /' \
|
|
-i Cargo.toml
|
|
}
|