mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ncspot: update to 0.13.1.
This commit is contained in:
parent
c270075305
commit
4192d0091f
1 changed files with 17 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'ncspot'
|
# Template file for 'ncspot'
|
||||||
pkgname=ncspot
|
pkgname=ncspot
|
||||||
version=0.11.2
|
version=0.13.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
build_helper="qemu"
|
||||||
configure_args="--features alsa_backend,cover"
|
configure_args="--features alsa_backend,cover"
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
makedepends="openssl-devel dbus-devel pulseaudio-devel alsa-lib-devel"
|
makedepends="openssl-devel dbus-devel pulseaudio-devel alsa-lib-devel"
|
||||||
|
@ -11,11 +12,23 @@ short_desc="Cross-platform ncurses Spotify client"
|
||||||
maintainer="Omar Zeghouani <omarzeghouanii@gmail.com>"
|
maintainer="Omar Zeghouani <omarzeghouanii@gmail.com>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/hrkfdn/ncspot"
|
homepage="https://github.com/hrkfdn/ncspot"
|
||||||
distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz"
|
changelog="https://github.com/hrkfdn/ncspot/releases"
|
||||||
checksum=0fd9696e13912b906605e9972bf3b2a8a68688cce17478353713550801c94fab
|
distfiles="https://github.com/hrkfdn/ncspot/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=51394f0a4f75c6d6273f1a98be350dca3f50a8ba21e5b563e85b08b9da04af89
|
||||||
|
|
||||||
|
post_build() {
|
||||||
|
cargo auditable build --release --target ${RUST_TARGET} --package xtask
|
||||||
|
vtargetrun target/${RUST_TARGET}/release/xtask generate-shell-completion
|
||||||
|
vtargetrun target/${RUST_TARGET}/release/xtask generate-manpage
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vinstall misc/ncspot.desktop 644 usr/share/applications
|
vinstall misc/ncspot.desktop 644 usr/share/applications
|
||||||
vinstall images/logo.svg 644 usr/share/icons/hicolor/scalable/apps ncspot.svg
|
vinstall images/logo.svg 644 usr/share/icons/hicolor/scalable/apps ncspot.svg
|
||||||
|
|
||||||
|
vman misc/ncspot.1
|
||||||
|
vcompletion misc/ncspot.bash bash
|
||||||
|
vcompletion misc/_ncspot zsh
|
||||||
|
vcompletion misc/ncspot.fish fish
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue