summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-03-20 20:12:10 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-03-20 20:12:10 +0000
commit6af28cb4786b1771ac965018dbd45287dd1d289e (patch)
tree24f4e05b6dc7cfecc856780eca41dbcdf427c269 /games-action
parentbzflag security flaw (bug #125647) fixed (diff)
downloadgentoo-2-6af28cb4786b1771ac965018dbd45287dd1d289e.tar.gz
gentoo-2-6af28cb4786b1771ac965018dbd45287dd1d289e.tar.bz2
gentoo-2-6af28cb4786b1771ac965018dbd45287dd1d289e.zip
Added pkg_postinst section to inform the user about how to get sound support and closing bug #126864.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/noiz2sa/ChangeLog8
-rw-r--r--games-action/noiz2sa/noiz2sa-0.51a.ebuild13
2 files changed, 17 insertions, 4 deletions
diff --git a/games-action/noiz2sa/ChangeLog b/games-action/noiz2sa/ChangeLog
index b3061dfd0de0..8fef3ca55d17 100644
--- a/games-action/noiz2sa/ChangeLog
+++ b/games-action/noiz2sa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/noiz2sa
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/ChangeLog,v 1.3 2005/06/17 08:40:56 slarti Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/ChangeLog,v 1.4 2006/03/20 20:12:10 wolf31o2 Exp $
+
+ 20 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> noiz2sa-0.51a.ebuild:
+ Added pkg_postinst section to inform the user about how to get sound support
+ and closing bug #126864.
17 Jun 2005; Tom Martin <slarti@gentoo.org> noiz2sa-0.51a.ebuild:
Marked ~amd64.
diff --git a/games-action/noiz2sa/noiz2sa-0.51a.ebuild b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
index a6089eb4f969..154911031938 100644
--- a/games-action/noiz2sa/noiz2sa-0.51a.ebuild
+++ b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/noiz2sa-0.51a.ebuild,v 1.3 2005/06/17 08:40:56 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/noiz2sa-0.51a.ebuild,v 1.4 2006/03/20 20:12:10 wolf31o2 Exp $
inherit games
@@ -46,3 +46,12 @@ src_install(){
fperms 660 "${GAMES_STATEDIR}/${PN}.prf"
prepgamesdirs
}
+
+pkg_postinst() {
+ if ! built_with_use media-libs/sdl-mixer vorbis ; then
+ einfo "Noiz2a will not have sound if sdl-mixer"
+ einfo "is built with USE=-vorbis"
+ einfo "Please emerge sdl-mixer with USE=vorbis"
+ einfo "if you want vorbis sound support"
+ fi
+}