void-packages/srcpkgs/cmus/template

99 lines
1.9 KiB
Plaintext
Raw Normal View History

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