diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-06 17:47:42 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-06 17:47:42 +0000 |
commit | 7e402b033ed7672b4db6935fa295788c3d0f8522 (patch) | |
tree | d4dc148c4314cb2c78cdb154f438290005c92d54 /games-engines/scummvm | |
parent | Add a pkg_setup check for midi USE flag in alsa-lib. (diff) | |
download | gentoo-2-7e402b033ed7672b4db6935fa295788c3d0f8522.tar.gz gentoo-2-7e402b033ed7672b4db6935fa295788c3d0f8522.tar.bz2 gentoo-2-7e402b033ed7672b4db6935fa295788c3d0f8522.zip |
Add a pkg_setup check for midi USE flag in alsa-lib.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'games-engines/scummvm')
-rw-r--r-- | games-engines/scummvm/ChangeLog | 5 | ||||
-rw-r--r-- | games-engines/scummvm/scummvm-0.10.0.ebuild | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/games-engines/scummvm/ChangeLog b/games-engines/scummvm/ChangeLog index 678ad2800f64..f836ca5792c7 100644 --- a/games-engines/scummvm/ChangeLog +++ b/games-engines/scummvm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-engines/scummvm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.48 2007/07/05 20:00:02 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.49 2007/07/06 17:47:42 flameeyes Exp $ + + 06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> scummvm-0.10.0.ebuild: + Add a pkg_setup check for midi USE flag in alsa-lib. 05 Jul 2007; Markus Rothe <corsair@gentoo.org> scummvm-0.10.0.ebuild: Added ~ppc64; bug #183570 diff --git a/games-engines/scummvm/scummvm-0.10.0.ebuild b/games-engines/scummvm/scummvm-0.10.0.ebuild index 10632a506cd4..079fbb155298 100644 --- a/games-engines/scummvm/scummvm-0.10.0.ebuild +++ b/games-engines/scummvm/scummvm-0.10.0.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/games-engines/scummvm/scummvm-0.10.0.ebuild,v 1.2 2007/07/05 20:00:02 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-0.10.0.ebuild,v 1.3 2007/07/06 17:47:42 flameeyes Exp $ inherit eutils games @@ -26,6 +26,17 @@ RDEPEND=">=media-libs/libsdl-1.2.2 DEPEND="${RDEPEND} x86? ( dev-lang/nasm )" +pkg_setup() { + games_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_unpack() { unpack ${A} cd "${S}" |