librespot: update to githash 5981b88

This commit is contained in:
Rudi Heitbaum 2024-11-04 23:23:56 +00:00
parent d4fee020b6
commit 47c49eded6

View File

@ -3,15 +3,15 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="librespot"
PKG_VERSION="299b7dec20b45b9fa19a4a46252079e8a8b7a8ba"
PKG_VERSION_DATE="2023-12-06"
PKG_SHA256="3699d2f15065222a769e57fec22b51e3d355c2d9837b49c3ec3ef16d2ace4b35"
PKG_VERSION="5981b88ac50876d86c882c2cf817dfe1d0427208"
PKG_VERSION_DATE="2025-04-01"
PKG_SHA256="0a8a7412894d856907bc1d50b65765841516c5730a32e08d882126da3e7f2b3e"
PKG_REV="0"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/librespot-org/librespot/"
PKG_URL="https://github.com/librespot-org/librespot/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi pulseaudio cargo:host"
PKG_DEPENDS_TARGET="toolchain alsa-lib avahi pulseaudio bindgen-cli:host cargo:host cmake:host"
PKG_SECTION="service"
PKG_SHORTDESC="Librespot: play Spotify through Kodi using a Spotify app as a remote"
PKG_LONGDESC="Librespot (${PKG_VERSION_DATE}) lets you play Spotify through Kodi using a Spotify app as a remote."
@ -23,6 +23,12 @@ PKG_ADDON_TYPE="xbmc.service"
PKG_MAINTAINER="Anton Voyl (awiouy)"
make_target() {
# build of the crate aws-lc-rs fails when CMAKE is set. Set the required toolchain.
unset CMAKE
export CMAKE_TOOLCHAIN_FILE="${CMAKE_CONF}"
export CMAKE_INSTALL_PREFIX="/usr"
export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=${SYSROOT_PREFIX}"
export RUSTC_LINKER=${CC}
cargo build \
--target ${TARGET_NAME} \