From: Tristan Heaven Date: Sat, 3 Feb 2007 09:47:23 +0000 (+0000) Subject: Add nls USE flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44b439108276de4fa3bd01e9cc543a6f39e0e7b8;p=gentoo.git Add nls USE flag Package-Manager: portage-2.1.2-r6 --- diff --git a/games-board/sirius/ChangeLog b/games-board/sirius/ChangeLog index 40c09b369e24..704cc2262d4f 100644 --- a/games-board/sirius/ChangeLog +++ b/games-board/sirius/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/sirius -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/sirius/ChangeLog,v 1.6 2006/12/01 21:43:41 wolf31o2 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/sirius/ChangeLog,v 1.7 2007/02/03 09:47:23 nyhm Exp $ + + 03 Feb 2007; Tristan Heaven sirius-0.8.0.ebuild: + Add nls USE flag 01 Dec 2006; Chris Gianelloni sirius-0.8.0.ebuild: Added ~amd64 wrt bug #156059. diff --git a/games-board/sirius/Manifest b/games-board/sirius/Manifest index 87cbbdd517cd..d39328947b73 100644 --- a/games-board/sirius/Manifest +++ b/games-board/sirius/Manifest @@ -1,26 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST sirius-0.8.0.tar.gz 1623435 -EBUILD sirius-0.8.0.ebuild 631 RMD160 403935b2077894a5c11a382b686588e50236d0fb SHA1 683ffa2f34dc3680a62a3b292a98378843cfa3bf SHA256 01c04cbd8da37392f1acefd007242aa806bcdea25c7b592c4a3185d0340a8c72 -MD5 96f2ee8436d791326a92f95839a3c82d sirius-0.8.0.ebuild 631 -RMD160 403935b2077894a5c11a382b686588e50236d0fb sirius-0.8.0.ebuild 631 -SHA256 01c04cbd8da37392f1acefd007242aa806bcdea25c7b592c4a3185d0340a8c72 sirius-0.8.0.ebuild 631 -MISC ChangeLog 1096 RMD160 8f75e37365fa8bb6ee4ab2a57046944b5a038b4d SHA1 01a6ec6f5f8feb99d31e0c9db8385619298aeabc SHA256 964e3ac6a080cb56cf31e1fe81ee9d2ac83a85e75bc3ccf35cb5aeda1c6a43f9 -MD5 3bfdb7ce23211180787f42a3d0d29399 ChangeLog 1096 -RMD160 8f75e37365fa8bb6ee4ab2a57046944b5a038b4d ChangeLog 1096 -SHA256 964e3ac6a080cb56cf31e1fe81ee9d2ac83a85e75bc3ccf35cb5aeda1c6a43f9 ChangeLog 1096 +DIST sirius-0.8.0.tar.gz 1623435 RMD160 9d264f6072ac64ab236d1b209b35e88d8d6e5a00 SHA1 4d6854c9a7bcb19069215162040037518cd66cea SHA256 6e512fccaf276a818f96072898576fb9bdd8905de95e6d23aa3277e2b04332ae +EBUILD sirius-0.8.0.ebuild 953 RMD160 2d51f231967c424d46dabfcba7b67478e432d7f1 SHA1 16a225f64f92b7972f2d41decc04bc31699ea691 SHA256 4f3cf79e5286d4bd563cc3bb03f3a4e2698458a42efcabd68817937fcbcf39d0 +MD5 c587f49b0df84874339eb6174a8a670b sirius-0.8.0.ebuild 953 +RMD160 2d51f231967c424d46dabfcba7b67478e432d7f1 sirius-0.8.0.ebuild 953 +SHA256 4f3cf79e5286d4bd563cc3bb03f3a4e2698458a42efcabd68817937fcbcf39d0 sirius-0.8.0.ebuild 953 +MISC ChangeLog 1181 RMD160 215f32e4f104e217cce0c40904c06ae28886918a SHA1 9ff0a4e924c4d4c4591b8a8ae5cf8c96e6ca6921 SHA256 ade7f9c68303f929db9bc9c26876313e03693bc29d7c839c9c6a4c0e8b973f95 +MD5 d2e378a9ddf717a1be2c83cf4ed6c0da ChangeLog 1181 +RMD160 215f32e4f104e217cce0c40904c06ae28886918a ChangeLog 1181 +SHA256 ade7f9c68303f929db9bc9c26876313e03693bc29d7c839c9c6a4c0e8b973f95 ChangeLog 1181 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 0b5b01fd48178eb33491139af936c6aa files/digest-sirius-0.8.0 65 -RMD160 0ce5c617bd8f023ce52af2bdada47c0e02d77c50 files/digest-sirius-0.8.0 65 -SHA256 dc5934748fdf635a3c419802723b11ae69ab992b6f2a63f9349bfbb42ed4068d files/digest-sirius-0.8.0 65 +MD5 372e5df006166f97c3dd11c39aec910b files/digest-sirius-0.8.0 241 +RMD160 b6af5157040b26f2d02b31d2999a282c8499f5e2 files/digest-sirius-0.8.0 241 +SHA256 1b34c8f5113237511b7853c5d63e2ad867e6f7af443eb84ca2de7c8e082f6f16 files/digest-sirius-0.8.0 241 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFcKCckT4lNIS36YERAt0MAJwK7+ejeM2SUU8yNo3rNdPajD4XGQCdHzaQ -E9LuZiXdn9389BeWXimbskw= -=CjQ8 +iD8DBQFFxFoydz7hIScOURERAoyXAKDOExfMQwxVYPYCkmi4uQ6S5z8wHACggZ07 +yULZYzMLwiNeEXLNXlyV5+4= +=NTjK -----END PGP SIGNATURE----- diff --git a/games-board/sirius/files/digest-sirius-0.8.0 b/games-board/sirius/files/digest-sirius-0.8.0 index d4f3c2c26bcb..49e72c7d41fc 100644 --- a/games-board/sirius/files/digest-sirius-0.8.0 +++ b/games-board/sirius/files/digest-sirius-0.8.0 @@ -1 +1,3 @@ MD5 e01d079ca62aa3cc85f542bb5e9389a5 sirius-0.8.0.tar.gz 1623435 +RMD160 9d264f6072ac64ab236d1b209b35e88d8d6e5a00 sirius-0.8.0.tar.gz 1623435 +SHA256 6e512fccaf276a818f96072898576fb9bdd8905de95e6d23aa3277e2b04332ae sirius-0.8.0.tar.gz 1623435 diff --git a/games-board/sirius/sirius-0.8.0.ebuild b/games-board/sirius/sirius-0.8.0.ebuild index 31c46810156f..91bdeec791e2 100644 --- a/games-board/sirius/sirius-0.8.0.ebuild +++ b/games-board/sirius/sirius-0.8.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/sirius/sirius-0.8.0.ebuild,v 1.7 2006/12/01 21:43:41 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/sirius/sirius-0.8.0.ebuild,v 1.8 2007/02/03 09:47:23 nyhm Exp $ inherit games @@ -11,15 +11,32 @@ SRC_URI="http://sirius.bitvis.nu/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86" -IUSE="" +IUSE="nls" -DEPEND="=x11-libs/gtk+-2* +RDEPEND="=x11-libs/gtk+-2* =gnome-base/gconf-2* gnome-base/libgnomeui - gnome-base/libgnomecanvas" + gnome-base/libgnomecanvas + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '/-g -O3/d' configure || die "sed failed" +} + +src_compile() { + egamesconf \ + --datadir=/usr/share \ + $(use_enable nls) \ + || die + emake || die "emake failed" +} src_install() { - egamesinstall || die + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS BUGS ChangeLog README prepgamesdirs }