2013-01-04 22:31:58 +00:00
|
|
|
# Template file for 'cmus'
|
|
|
|
pkgname=cmus
|
2015-07-14 05:15:32 +00:00
|
|
|
version=2.7.1
|
2015-06-30 06:22:27 +00:00
|
|
|
revision=1
|
2013-01-04 22:31:58 +00:00
|
|
|
short_desc="Small, fast and powerful console music player"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-01-04 22:31:58 +00:00
|
|
|
license="GPL-2"
|
2014-08-14 10:22:07 +00:00
|
|
|
homepage="http://cmus.github.io"
|
|
|
|
distfiles="https://github.com/cmus/cmus/archive/v${version}.tar.gz"
|
2015-07-14 05:15:32 +00:00
|
|
|
checksum=8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165
|
2013-01-04 22:31:58 +00:00
|
|
|
|
2013-06-22 07:58:04 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-01 17:21:48 +00:00
|
|
|
makedepends="ncurses-devel faad2-devel libflac-devel libao-devel libmad-devel
|
2015-03-27 09:50:40 +00:00
|
|
|
libmodplug-devel libmp4v2-devel libmpcdec-devel pulseaudio-devel
|
|
|
|
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel"
|
2013-06-22 07:58:04 +00:00
|
|
|
|
2014-02-15 05:24:43 +00:00
|
|
|
do_configure() {
|
|
|
|
./configure prefix=/usr
|
|
|
|
}
|
2013-06-22 07:58:04 +00:00
|
|
|
do_build() {
|
|
|
|
make GCC=$CC CC=$CC LD=$CC ${makejobs}
|
|
|
|
}
|
2014-02-15 05:24:43 +00:00
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
2013-06-22 07:58:04 +00:00
|
|
|
cmus-libao_package() {
|
|
|
|
short_desc+=" - libao output plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/op/ao.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-faad_package() {
|
|
|
|
short_desc+=" - AAC/MP4 input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/aac.so
|
|
|
|
vmove usr/lib/cmus/ip/mp4.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-ffmpeg_package() {
|
|
|
|
short_desc+=" - FFmpeg input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/ffmpeg.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-flac_package() {
|
|
|
|
short_desc+=" - FLAC input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/flac.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-mpc_package() {
|
|
|
|
short_desc+=" - MPC input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/mpc.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-modplug_package() {
|
|
|
|
short_desc+=" - MOD input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/modplug.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-opus_package() {
|
|
|
|
short_desc+=" - Opus input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/opus.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-oss_package() {
|
|
|
|
short_desc+=" - OSS output plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/op/oss.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-pulseaudio_package() {
|
|
|
|
short_desc+=" - Pulseaudio output plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/op/pulse.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmus-wavpack_package() {
|
|
|
|
short_desc+=" - Wavpack input plugin"
|
2015-01-09 21:51:31 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-22 07:58:04 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/cmus/ip/wavpack.so
|
|
|
|
}
|
|
|
|
}
|