diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-03-21 22:41:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-03-21 22:41:15 +0000 |
commit | a4ceca95e695213851441631873546d3c2b507f9 (patch) | |
tree | 8cbc342a16a37109acdf05e638698c6adab1e8e1 /games-action | |
parent | needs to call games_pkg_postinst (diff) | |
download | historical-a4ceca95e695213851441631873546d3c2b507f9.tar.gz historical-a4ceca95e695213851441631873546d3c2b507f9.tar.bz2 historical-a4ceca95e695213851441631873546d3c2b507f9.zip |
warn about no sound if sdl-mixer wasn't built with vorbis support
Package-Manager: portage-2.1_pre6-r5
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/rrootage/rrootage-0.23a.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/games-action/rrootage/rrootage-0.23a.ebuild b/games-action/rrootage/rrootage-0.23a.ebuild index a76e48a4caad..f40c775637c2 100644 --- a/games-action/rrootage/rrootage-0.23a.ebuild +++ b/games-action/rrootage/rrootage-0.23a.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/rrootage/rrootage-0.23a.ebuild,v 1.4 2005/08/11 12:04:08 r3pek Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/rrootage/rrootage-0.23a.ebuild,v 1.5 2006/03/21 22:41:15 mr_bones_ Exp $ inherit games @@ -46,3 +46,13 @@ src_install() { dodoc ../readme* prepgamesdirs } + +pkg_postinst() { + games_pkg_postinst + if ! built_with_use media-libs/sdl-mixer vorbis ; then + einfo "${PN} will not have sound since sdl-mixer" + einfo "is built with USE=-vorbis" + einfo "Please emerge sdl-mixer with USE=vorbis" + einfo "if you want sound support" + fi +} |