diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-17 22:05:41 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-17 22:05:41 +0000 |
commit | a1766a0b01c5dc3f5af1f55888ca6024f4dae8fc (patch) | |
tree | 9396dfef2364677fd1a573350f0a31b46aa6c6c7 /media-sound/timidity++ | |
parent | Dropped ppc-macos keyword, see you in prefix (diff) | |
download | gentoo-2-a1766a0b01c5dc3f5af1f55888ca6024f4dae8fc.tar.gz gentoo-2-a1766a0b01c5dc3f5af1f55888ca6024f4dae8fc.tar.bz2 gentoo-2-a1766a0b01c5dc3f5af1f55888ca6024f4dae8fc.zip |
Add check for midi useflag presence in alsa-lib.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r-- | media-sound/timidity++/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/timidity++/timidity++-2.13.2-r3.ebuild | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/media-sound/timidity++/ChangeLog b/media-sound/timidity++/ChangeLog index c154cc20a5c8..64f6f85ee868 100644 --- a/media-sound/timidity++/ChangeLog +++ b/media-sound/timidity++/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/timidity++ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.81 2007/02/10 23:12:33 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.82 2007/02/17 22:05:41 flameeyes Exp $ + + 17 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> + timidity++-2.13.2-r3.ebuild: + Add check for midi useflag presence in alsa-lib. 10 Feb 2007; Christian Faulhammer <opfer@gentoo.org> timidity++-2.13.2.ebuild, timidity++-2.13.2-r2.ebuild, diff --git a/media-sound/timidity++/timidity++-2.13.2-r3.ebuild b/media-sound/timidity++/timidity++-2.13.2-r3.ebuild index 934b4ca94409..7fc9963f6955 100644 --- a/media-sound/timidity++/timidity++-2.13.2-r3.ebuild +++ b/media-sound/timidity++/timidity++-2.13.2-r3.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/timidity++/timidity++-2.13.2-r3.ebuild,v 1.15 2007/02/10 23:12:33 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.13.2-r3.ebuild,v 1.16 2007/02/17 22:05:41 flameeyes Exp $ inherit eutils @@ -39,6 +39,15 @@ RDEPEND="${RDEPEND} PDEPEND="|| ( media-sound/timidity-eawpatches media-sound/timidity-shompatches media-sound/timidity-freepats )" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build TiMidity++ with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_unpack() { unpack ${A} cd "${S}" |