ncspot: update to 1.2.1

This commit is contained in:
terminaldweller 2024-12-24 14:38:59 -05:00 committed by classabbyamp
parent be0eace9e9
commit ea03bf582e

View file

@ -1,11 +1,11 @@
# Template file for 'ncspot'
pkgname=ncspot
version=1.1.0
version=1.2.1
revision=1
build_style=cargo
build_helper="qemu"
configure_args="--features alsa_backend,cover"
hostmakedepends="pkg-config python3"
hostmakedepends="pkg-config python3 cmake clang rust-bindgen"
makedepends="openssl-devel dbus-devel pulseaudio-devel alsa-lib-devel"
depends="ueberzug"
short_desc="Cross-platform ncurses Spotify client"
@ -14,7 +14,14 @@ license="BSD-2-Clause"
homepage="https://github.com/hrkfdn/ncspot"
changelog="https://raw.githubusercontent.com/hrkfdn/ncspot/main/CHANGELOG.md"
distfiles="https://github.com/hrkfdn/ncspot/archive/refs/tags/v${version}.tar.gz"
checksum=d3cd828cebb3e84470f03be16925db566d4dd8289cfd3e230e64278ec9d96338
checksum=6bd08609a56aa5854a1964c9a872fe58b69a768d7d94c874d40d7a8848241213
# 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_build() {
cargo auditable build --release --target ${RUST_TARGET} --package xtask