diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-19 10:05:02 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-19 10:05:02 +0000 |
commit | e12113108edc26ad19c05705ef4b287b1fe07c67 (patch) | |
tree | 21487388fb0adf33b07d8892c32f8e3a25831966 /kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild | |
parent | depend slib-3.1.1 on guile-1.6.7 (diff) | |
download | gentoo-2-e12113108edc26ad19c05705ef4b287b1fe07c67.tar.gz gentoo-2-e12113108edc26ad19c05705ef4b287b1fe07c67.tar.bz2 gentoo-2-e12113108edc26ad19c05705ef4b287b1fe07c67.zip |
Error out gracefully when the midi useflag on experimental alsa-lib is unset.
(Portage version: 2.1.2)
Diffstat (limited to 'kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild')
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild b/kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild index 689790dd516c..cd77ae5bf391 100644 --- a/kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild +++ b/kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild,v 1.8 2006/12/11 14:40:16 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild,v 1.9 2007/01/19 10:05:02 flameeyes Exp $ inherit kde flag-o-matic eutils multilib set-kdedir 3.5 @@ -71,6 +71,15 @@ pkg_setup() { elog "behaviour, try to rebuild kde-base/kdelibs with utempter use-flag enabled." echo "" fi + + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "The alsa USE flag in this package enables ALSA support" + eerror "for libkmid, KDE midi library." + eerror "For this reason, you have to merge media-libs/alsa-lib" + eerror "with the midi USE flag enabled, or disable alsa USE flag" + eerror "for this package." + die "Missing midi USE flag on media-libs/alsa-lib" + fi } src_unpack() { |