summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-08-13 19:09:26 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-08-13 19:09:26 +0000
commit12a73529a6ca2d97e36e406f1e593b781afb2c4e (patch)
treec3435348e7ce12b96fb1b15fa323a96e8fb14416 /games-rpg
parentMarking fapg-0.41 ~ppc64 for bug 234600 (diff)
downloadgentoo-2-12a73529a6ca2d97e36e406f1e593b781afb2c4e.tar.gz
gentoo-2-12a73529a6ca2d97e36e406f1e593b781afb2c4e.tar.bz2
gentoo-2-12a73529a6ca2d97e36e406f1e593b781afb2c4e.zip
Fixed LINGUAS issue, thanks to Michael Sterrett. Fixed QA warnings.
(Portage version: 2.2_rc7/cvs/Linux 2.6.25-gentoo-r6 i686)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/nwn/ChangeLog5
-rw-r--r--games-rpg/nwn/nwn-1.69.ebuild14
2 files changed, 16 insertions, 3 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog
index 8c53c3da26fc..e665e1e3a1ea 100644
--- a/games-rpg/nwn/ChangeLog
+++ b/games-rpg/nwn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/nwn
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.69 2008/08/02 13:45:12 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.70 2008/08/13 19:09:26 calchan Exp $
+
+ 13 Aug 2008; Denis Dupeyron <calchan@gentoo.org> nwn-1.69.ebuild:
+ Fixed LINGUAS issue, thanks to Michael Sterrett. Fixed QA warnings.
*nwn-1.69 (02 Aug 2008)
diff --git a/games-rpg/nwn/nwn-1.69.ebuild b/games-rpg/nwn/nwn-1.69.ebuild
index 0d4891da1dc0..dc80411b2331 100644
--- a/games-rpg/nwn/nwn-1.69.ebuild
+++ b/games-rpg/nwn/nwn-1.69.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.69.ebuild,v 1.1 2008/08/02 13:45:12 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.69.ebuild,v 1.2 2008/08/13 19:09:26 calchan Exp $
inherit eutils games
@@ -21,6 +21,8 @@ KEYWORDS="-* ~amd64 ~x86"
IUSE="sou hou"
RESTRICT="mirror strip"
+QA_DT_HASH="/opt/nwn/en/nwserver /opt/nwn/en/nwmain /opt/nwn/lib/libSDL-1.2.so.0.11.2 /opt/nwn/lib/libelf.so.1"
+
RDEPEND=">=games-rpg/nwn-data-1.29-r3
virtual/opengl
>=media-libs/libsdl-1.2.5
@@ -62,7 +64,15 @@ pkg_setup() {
then
built_with_use games-rpg/nwn-data hou || die_from_busted_nwn-data hou
fi
- built_with_use games-rpg/nwn-data linguas_en || die_from_busted_nwn-data linguas_en
+
+ if ! built_with_use games-rpg/nwn-data linguas_en && \
+ ( built_with_use games-rpg/nwn-data linguas_fr \
+ || built_with_use games-rpg/nwn-data linguas_de \
+ || built_with_use games-rpg/nwn-data linguas_es \
+ || built_with_use games-rpg/nwn-data linguas_it )
+ then
+ die "${P} requires games-rpg/nwn-data emerged with at least LINGUAS=en or none at all"
+ fi
}
src_unpack() {