Skip to content

Commit

Permalink
New package: spotifyd-0.2.23
Browse files Browse the repository at this point in the history
  • Loading branch information
abenson committed Jan 16, 2020
1 parent 130bf27 commit 2c3fc57
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions srcpkgs/spotifyd/template
@@ -0,0 +1,25 @@
# Template file for 'spotifyd'
pkgname=spotifyd
version=0.2.23
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=fc282ea0773645106195eb399df900bcbd1a9c5e9e54635ea7b9a9f4b90764bd

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
}

0 comments on commit 2c3fc57

Please sign in to comment.