From afbf2b9ebddf52233df63fb34cf013068db00e26 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 9 Jan 2015 22:51:31 +0100 Subject: [PATCH] cmus: make subpkgs depend on sourcepkg. --- srcpkgs/cmus/template | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cmus/template b/srcpkgs/cmus/template index 6a3926cf87..efcb0dfe88 100644 --- a/srcpkgs/cmus/template +++ b/srcpkgs/cmus/template @@ -1,7 +1,7 @@ # Template file for 'cmus' pkgname=cmus version=2.6.0 -revision=2 +revision=3 short_desc="Small, fast and powerful console music player" maintainer="Juan RP " license="GPL-2" @@ -28,6 +28,7 @@ do_install() { cmus-libao_package() { short_desc+=" - libao output plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/op/ao.so } @@ -35,6 +36,7 @@ cmus-libao_package() { cmus-faad_package() { short_desc+=" - AAC/MP4 input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/aac.so vmove usr/lib/cmus/ip/mp4.so @@ -43,6 +45,7 @@ cmus-faad_package() { cmus-ffmpeg_package() { short_desc+=" - FFmpeg input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/ffmpeg.so } @@ -50,6 +53,7 @@ cmus-ffmpeg_package() { cmus-flac_package() { short_desc+=" - FLAC input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/flac.so } @@ -57,6 +61,7 @@ cmus-flac_package() { cmus-mpc_package() { short_desc+=" - MPC input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/mpc.so } @@ -64,6 +69,7 @@ cmus-mpc_package() { cmus-modplug_package() { short_desc+=" - MOD input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/modplug.so } @@ -71,6 +77,7 @@ cmus-modplug_package() { cmus-opus_package() { short_desc+=" - Opus input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/opus.so } @@ -78,6 +85,7 @@ cmus-opus_package() { cmus-oss_package() { short_desc+=" - OSS output plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/op/oss.so } @@ -85,6 +93,7 @@ cmus-oss_package() { cmus-pulseaudio_package() { short_desc+=" - Pulseaudio output plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/op/pulse.so } @@ -92,6 +101,7 @@ cmus-pulseaudio_package() { cmus-wavpack_package() { short_desc+=" - Wavpack input plugin" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/cmus/ip/wavpack.so }