cmus: add cdio (w/ cdda, cddb, discid) input plugin

This commit is contained in:
Owen Rafferty 2019-11-26 02:06:08 -06:00 committed by Helmut Pozimski
parent b95fefcf18
commit 45531dbfcd
2 changed files with 11 additions and 2 deletions

1
srcpkgs/cmus-cdio Symbolic link
View file

@ -0,0 +1 @@
cmus

View file

@ -1,11 +1,12 @@
# Template file for 'cmus'
pkgname=cmus
version=2.8.0
revision=2
revision=3
build_style=configure
configure_args="prefix=/usr LD=$CC"
hostmakedepends="pkg-config"
makedepends="ncurses-devel faad2-devel libflac-devel libao-devel libmad-devel
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)"
@ -34,6 +35,13 @@ cmus-libao_package() {
vmove usr/lib/cmus/op/ao.so
}
}
cmus-cdio_package() {
short_desc+=" - CDIO input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmus/ip/cdio.so
}
}
cmus-faad_package() {
short_desc+=" - AAC/MP4 input plugin"
depends="${sourcepkg}>=${version}_${revision}"