cmus: split plugins to new pkgs; cross build support.
This commit is contained in:
parent
6e5e533d69
commit
0379e07c41
11 changed files with 98 additions and 6 deletions
1
srcpkgs/cmus-faad
Symbolic link
1
srcpkgs/cmus-faad
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-ffmpeg
Symbolic link
1
srcpkgs/cmus-ffmpeg
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-flac
Symbolic link
1
srcpkgs/cmus-flac
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-libao
Symbolic link
1
srcpkgs/cmus-libao
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-modplug
Symbolic link
1
srcpkgs/cmus-modplug
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-mpc
Symbolic link
1
srcpkgs/cmus-mpc
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-opus
Symbolic link
1
srcpkgs/cmus-opus
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-oss
Symbolic link
1
srcpkgs/cmus-oss
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-pulseaudio
Symbolic link
1
srcpkgs/cmus-pulseaudio
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
1
srcpkgs/cmus-wavpack
Symbolic link
1
srcpkgs/cmus-wavpack
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cmus
|
|
@ -1,10 +1,8 @@
|
||||||
# Template file for 'cmus'
|
# Template file for 'cmus'
|
||||||
pkgname=cmus
|
pkgname=cmus
|
||||||
version=2.5.0
|
version=2.5.0
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="cmus-v${version}"
|
wrksrc="cmus-v${version}"
|
||||||
build_style=configure
|
|
||||||
configure_args="prefix=/usr"
|
|
||||||
short_desc="Small, fast and powerful console music player"
|
short_desc="Small, fast and powerful console music player"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -12,13 +10,97 @@ homepage="http://cmus.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/cmus/cmus-v${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/cmus/cmus-v${version}.tar.bz2"
|
||||||
checksum=2021fab64088898d62d1439525ec345e219f58d91a9e933dc85e84eda21c8ddf
|
checksum=2021fab64088898d62d1439525ec345e219f58d91a9e933dc85e84eda21c8ddf
|
||||||
|
|
||||||
makedepends="pkg-config faad2-devel libflac-devel libao-devel libmad-devel
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="faad2-devel libflac-devel libao-devel libmad-devel
|
||||||
libmodplug-devel libmp4v2-devel>=2.0.0 libmpcdec-devel pulseaudio-devel
|
libmodplug-devel libmp4v2-devel>=2.0.0 libmpcdec-devel pulseaudio-devel
|
||||||
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel
|
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel
|
||||||
ncurses-devel"
|
ncurses-devel"
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
./configure prefix=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make GCC=$CC CC=$CC LD=$CC ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
cmus_package() {
|
cmus_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue