diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-06 17:44:11 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-06 17:44:11 +0000 |
commit | 12f531df5b237335b127dd7329c5ce042f1a1bfe (patch) | |
tree | 8a896190088fe4ba7f55b39275eab3c73f3cda4c /media-sound | |
parent | ebuild cleanups (diff) | |
download | gentoo-2-12f531df5b237335b127dd7329c5ce042f1a1bfe.tar.gz gentoo-2-12f531df5b237335b127dd7329c5ce042f1a1bfe.tar.bz2 gentoo-2-12f531df5b237335b127dd7329c5ce042f1a1bfe.zip |
Add a pkg_setup check for midi USE flag in alsa-lib.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ecasound/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/ecasound/ecasound-2.4.5.ebuild | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/media-sound/ecasound/ChangeLog b/media-sound/ecasound/ChangeLog index ff9fe2e4f943..43e275b2c2d8 100644 --- a/media-sound/ecasound/ChangeLog +++ b/media-sound/ecasound/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/ecasound # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.40 2007/07/02 15:10:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.41 2007/07/06 17:44:11 flameeyes Exp $ + + 06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> ecasound-2.4.5.ebuild: + Add a pkg_setup check for midi USE flag in alsa-lib. 02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml: Hand to newly-born proaudio herd. diff --git a/media-sound/ecasound/ecasound-2.4.5.ebuild b/media-sound/ecasound/ecasound-2.4.5.ebuild index 731355b693aa..28849735602d 100644 --- a/media-sound/ecasound/ecasound-2.4.5.ebuild +++ b/media-sound/ecasound/ecasound-2.4.5.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/media-sound/ecasound/ecasound-2.4.5.ebuild,v 1.1 2007/06/15 12:22:23 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.5.ebuild,v 1.2 2007/07/06 17:44:11 flameeyes Exp $ inherit multilib @@ -31,6 +31,15 @@ DEPEND="${RDEPEND}" # We don't make RDEPEND for vorbis-tools, mpg123/mpg321, timidity++ or lame -- no # use flags for them. +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you" + eerror "need to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_compile () { local myconf |