cmus: make subpkgs depend on sourcepkg.

This commit is contained in:
Enno Boland 2015-01-09 22:51:31 +01:00
parent 5d81c71815
commit afbf2b9ebd
1 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cmus' # Template file for 'cmus'
pkgname=cmus pkgname=cmus
version=2.6.0 version=2.6.0
revision=2 revision=3
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"
@ -28,6 +28,7 @@ do_install() {
cmus-libao_package() { cmus-libao_package() {
short_desc+=" - libao output plugin" short_desc+=" - libao output plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/op/ao.so vmove usr/lib/cmus/op/ao.so
} }
@ -35,6 +36,7 @@ cmus-libao_package() {
cmus-faad_package() { cmus-faad_package() {
short_desc+=" - AAC/MP4 input plugin" short_desc+=" - AAC/MP4 input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/aac.so vmove usr/lib/cmus/ip/aac.so
vmove usr/lib/cmus/ip/mp4.so vmove usr/lib/cmus/ip/mp4.so
@ -43,6 +45,7 @@ cmus-faad_package() {
cmus-ffmpeg_package() { cmus-ffmpeg_package() {
short_desc+=" - FFmpeg input plugin" short_desc+=" - FFmpeg input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/ffmpeg.so vmove usr/lib/cmus/ip/ffmpeg.so
} }
@ -50,6 +53,7 @@ cmus-ffmpeg_package() {
cmus-flac_package() { cmus-flac_package() {
short_desc+=" - FLAC input plugin" short_desc+=" - FLAC input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/flac.so vmove usr/lib/cmus/ip/flac.so
} }
@ -57,6 +61,7 @@ cmus-flac_package() {
cmus-mpc_package() { cmus-mpc_package() {
short_desc+=" - MPC input plugin" short_desc+=" - MPC input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/mpc.so vmove usr/lib/cmus/ip/mpc.so
} }
@ -64,6 +69,7 @@ cmus-mpc_package() {
cmus-modplug_package() { cmus-modplug_package() {
short_desc+=" - MOD input plugin" short_desc+=" - MOD input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/modplug.so vmove usr/lib/cmus/ip/modplug.so
} }
@ -71,6 +77,7 @@ cmus-modplug_package() {
cmus-opus_package() { cmus-opus_package() {
short_desc+=" - Opus input plugin" short_desc+=" - Opus input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/opus.so vmove usr/lib/cmus/ip/opus.so
} }
@ -78,6 +85,7 @@ cmus-opus_package() {
cmus-oss_package() { cmus-oss_package() {
short_desc+=" - OSS output plugin" short_desc+=" - OSS output plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/op/oss.so vmove usr/lib/cmus/op/oss.so
} }
@ -85,6 +93,7 @@ cmus-oss_package() {
cmus-pulseaudio_package() { cmus-pulseaudio_package() {
short_desc+=" - Pulseaudio output plugin" short_desc+=" - Pulseaudio output plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/op/pulse.so vmove usr/lib/cmus/op/pulse.so
} }
@ -92,6 +101,7 @@ cmus-pulseaudio_package() {
cmus-wavpack_package() { cmus-wavpack_package() {
short_desc+=" - Wavpack input plugin" short_desc+=" - Wavpack input plugin"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/cmus/ip/wavpack.so vmove usr/lib/cmus/ip/wavpack.so
} }