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 | |
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')
-rw-r--r-- | kde-base/kdelibs/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.2-r6.ebuild | 11 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.5-r4.ebuild | 13 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.5-r5.ebuild | 13 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.5-r6.ebuild | 13 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.5-r7.ebuild | 13 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5.6.ebuild | 11 |
7 files changed, 70 insertions, 11 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog index cc00c718732f..683d3b5225d7 100644 --- a/kde-base/kdelibs/ChangeLog +++ b/kde-base/kdelibs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdelibs # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.404 2007/01/18 16:06:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.405 2007/01/19 10:05:02 flameeyes Exp $ + + 19 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> + kdelibs-3.5.2-r6.ebuild, kdelibs-3.5.5-r4.ebuild, kdelibs-3.5.5-r5.ebuild, + kdelibs-3.5.5-r6.ebuild, kdelibs-3.5.5-r7.ebuild, kdelibs-3.5.6.ebuild: + Error out gracefully when the midi useflag on experimental alsa-lib is unset. 18 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> kdelibs-3.5.6.ebuild: Don't depend on arts 3.5.6, as 3.5.5 is just the same. diff --git a/kde-base/kdelibs/kdelibs-3.5.2-r6.ebuild b/kde-base/kdelibs/kdelibs-3.5.2-r6.ebuild index 7d539e909e0a..b429519ce210 100644 --- a/kde-base/kdelibs/kdelibs-3.5.2-r6.ebuild +++ b/kde-base/kdelibs/kdelibs-3.5.2-r6.ebuild @@ -1,6 +1,6 @@ # 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.2-r6.ebuild,v 1.20 2007/01/05 16:57:50 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.2-r6.ebuild,v 1.21 2007/01/19 10:05:02 flameeyes Exp $ inherit kde flag-o-matic eutils multilib set-kdedir 3.5 @@ -67,6 +67,15 @@ pkg_setup() { ewarn "For more information, see bug #128922." 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() { 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() { diff --git a/kde-base/kdelibs/kdelibs-3.5.5-r5.ebuild b/kde-base/kdelibs/kdelibs-3.5.5-r5.ebuild index f59f324ff8fb..78035f4b0b9f 100644 --- a/kde-base/kdelibs/kdelibs-3.5.5-r5.ebuild +++ b/kde-base/kdelibs/kdelibs-3.5.5-r5.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-r5.ebuild,v 1.16 2006/12/01 19:08:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.5-r5.ebuild,v 1.17 2007/01/19 10:05:02 flameeyes Exp $ inherit kde flag-o-matic eutils multilib set-kdedir 3.5 @@ -72,6 +72,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() { diff --git a/kde-base/kdelibs/kdelibs-3.5.5-r6.ebuild b/kde-base/kdelibs/kdelibs-3.5.5-r6.ebuild index 5583c4d7c3e1..f4fc49726acf 100644 --- a/kde-base/kdelibs/kdelibs-3.5.5-r6.ebuild +++ b/kde-base/kdelibs/kdelibs-3.5.5-r6.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-r6.ebuild,v 1.8 2006/12/01 19:08:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.5-r6.ebuild,v 1.9 2007/01/19 10:05:02 flameeyes Exp $ inherit kde flag-o-matic eutils multilib set-kdedir 3.5 @@ -74,6 +74,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() { diff --git a/kde-base/kdelibs/kdelibs-3.5.5-r7.ebuild b/kde-base/kdelibs/kdelibs-3.5.5-r7.ebuild index e48fad09dab6..2a39b8d75402 100644 --- a/kde-base/kdelibs/kdelibs-3.5.5-r7.ebuild +++ b/kde-base/kdelibs/kdelibs-3.5.5-r7.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-r7.ebuild,v 1.6 2006/12/18 03:05:32 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.5-r7.ebuild,v 1.7 2007/01/19 10:05:02 flameeyes Exp $ inherit kde flag-o-matic eutils multilib set-kdedir 3.5 @@ -75,6 +75,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() { diff --git a/kde-base/kdelibs/kdelibs-3.5.6.ebuild b/kde-base/kdelibs/kdelibs-3.5.6.ebuild index 736dc89f2e2b..3a54eaf160d5 100644 --- a/kde-base/kdelibs/kdelibs-3.5.6.ebuild +++ b/kde-base/kdelibs/kdelibs-3.5.6.ebuild @@ -1,6 +1,6 @@ # 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.6.ebuild,v 1.2 2007/01/18 16:06:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.6.ebuild,v 1.3 2007/01/19 10:05:02 flameeyes Exp $ inherit kde flag-o-matic eutils multilib set-kdedir 3.5 @@ -75,6 +75,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() { |