Update spotifyd to v4.0.1
This commit is contained in:
parent
565b9b4c3a
commit
78edccd0f5
1 changed files with 7 additions and 10 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'spotifyd'
|
# Template file for 'spotifyd'
|
||||||
pkgname=spotifyd
|
pkgname=spotifyd
|
||||||
version=0.3.5
|
version=0.4.1
|
||||||
revision=3
|
revision=1
|
||||||
archs="x86_64* i686* aarch64* arm*" # ring
|
archs="x86_64* i686* aarch64* arm*" # ring
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
configure_args="--no-default-features"
|
configure_args="--no-default-features"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config cmake clang"
|
||||||
makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
|
makedepends="openssl-devel $(vopt_if alsa alsa-lib-devel)
|
||||||
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
|
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if portaudio portaudio-devel)
|
||||||
$(vopt_if dbus dbus-devel)"
|
$(vopt_if dbus dbus-devel)"
|
||||||
|
@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/Spotifyd/spotifyd"
|
homepage="https://github.com/Spotifyd/spotifyd"
|
||||||
changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/Spotifyd/spotifyd/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Spotifyd/spotifyd/archive/v${version}.tar.gz"
|
||||||
checksum=59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7
|
checksum=fdbf93c51232d85a0ef29813a02f3c23aacf733444eacf898729593e8837bcfc
|
||||||
|
|
||||||
build_options="alsa pulseaudio portaudio dbus"
|
build_options="alsa pulseaudio portaudio dbus"
|
||||||
build_options_default="alsa pulseaudio portaudio dbus"
|
build_options_default="alsa pulseaudio portaudio dbus"
|
||||||
|
@ -23,16 +23,13 @@ build_options_default="alsa pulseaudio portaudio dbus"
|
||||||
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
|
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
|
||||||
export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
|
export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
|
||||||
|
|
||||||
|
export AWS_LC_SYS_CFLAGS="-Wno-stringop-overflow"
|
||||||
|
|
||||||
_features="$(vopt_if alsa ',alsa_backend')"
|
_features="$(vopt_if alsa ',alsa_backend')"
|
||||||
_features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
|
_features+="$(vopt_if pulseaudio ',pulseaudio_backend')"
|
||||||
_features+="$(vopt_if dbus ',dbus_mpris,dbus_keyring')"
|
_features+="$(vopt_if dbus ',dbus_mpris')"
|
||||||
_features+="$(vopt_if portaudio ',portaudio_backend')"
|
_features+="$(vopt_if portaudio ',portaudio_backend')"
|
||||||
|
|
||||||
if [ "$_features" ]; then
|
if [ "$_features" ]; then
|
||||||
configure_args+=" --features $_features"
|
configure_args+=" --features $_features"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
cargo update --package rustc-serialize@0.3.24 --precise 0.3.25
|
|
||||||
cargo update --package time@0.3.20 --precise 0.3.35
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue