diff options
Diffstat (limited to 'media-sound/chuck/chuck-1.2.0.6.ebuild')
-rw-r--r-- | media-sound/chuck/chuck-1.2.0.6.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-sound/chuck/chuck-1.2.0.6.ebuild b/media-sound/chuck/chuck-1.2.0.6.ebuild index 1e43b76d5..b5e85acd5 100644 --- a/media-sound/chuck/chuck-1.2.0.6.ebuild +++ b/media-sound/chuck/chuck-1.2.0.6.ebuild @@ -18,6 +18,9 @@ DEPEND="jack? ( media-sound/jack-audio-connection-kit ) media-libs/libsndfile sys-devel/bison sys-devel/flex" +RDEPEND="jack? ( media-sound/jack-audio-connection-kit ) + alsa? ( >=media-libs/alsa-lib-0.9 ) + media-libs/libsndfile" src_unpack() { unpack ${A} @@ -31,9 +34,8 @@ pkg_setup() { use alsa && cnt="$((${cnt} + 1))" use oss && cnt="$((${cnt} + 1))" if [[ "${cnt}" -eq 0 ]] ; then - local msg="One of the following USE flags is needed: jack, alsa or oss" - eerror "${msg}" - die "${msg}" + eerror "One of the following USE flags is needed: jack, alsa or oss" + die "Please set one audio engine type" elif [[ "${cnt}" -ne 1 ]] ; then eerror "You have set ${P} to use multiple audio engine." eerror "I don't know which to use!" |