cmus: add jack output plugin

This commit is contained in:
Moritz Waser 2021-08-18 20:54:47 +02:00 committed by Érico Nogueira Rolim
parent c14b7c82e0
commit 07632f6772
2 changed files with 10 additions and 2 deletions

1
srcpkgs/cmus-jack Symbolic link
View file

@ -0,0 +1 @@
cmus

View file

@ -1,7 +1,7 @@
# Template file for 'cmus'
pkgname=cmus
version=2.9.1
revision=1
revision=2
build_style=configure
configure_args="prefix=/usr LD=$CC"
hostmakedepends="pkg-config"
@ -9,7 +9,7 @@ makedepends="ncurses-devel faad2-devel libcdio-devel libcdio-paranoia-devel
libcddb-devel libdiscid-devel libflac-devel libao-devel libmad-devel
libmodplug-devel libmp4v2-devel libmpcdec-devel pulseaudio-devel
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel
sndio-devel $(vopt_if elogind elogind-devel)"
sndio-devel jack-devel $(vopt_if elogind elogind-devel)"
short_desc="Small, fast and powerful console music player"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
@ -96,6 +96,13 @@ cmus-pulseaudio_package() {
vmove usr/lib/cmus/op/pulse.so
}
}
cmus-jack_package() {
short_desc+=" - JACK output plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmus/op/jack.so
}
}
cmus-wavpack_package() {
short_desc+=" - Wavpack input plugin"
depends="${sourcepkg}>=${version}_${revision}"