Move icon to mirror://gentoo
authorTristan Heaven <tristan@gentoo.org>
Wed, 14 Feb 2007 02:37:23 +0000 (02:37 +0000)
committerTristan Heaven <tristan@gentoo.org>
Wed, 14 Feb 2007 02:37:23 +0000 (02:37 +0000)
Package-Manager: portage-2.1.2-r9

games-strategy/galaxyhack/ChangeLog
games-strategy/galaxyhack/Manifest
games-strategy/galaxyhack/files/digest-galaxyhack-1.69
games-strategy/galaxyhack/files/galaxyhack.png [deleted file]
games-strategy/galaxyhack/galaxyhack-1.69.ebuild

index 0d89c065926de5c9476b984a0042b31e22196e4c..f9e61bcd7575a5a7726c2ffc432b413a82b2f601 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-strategy/galaxyhack
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.2 2006/11/20 06:22:48 beandog Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.3 2007/02/14 02:37:23 nyhm Exp $
+
+  14 Feb 2007; Tristan Heaven <nyhm@gentoo.org> -files/galaxyhack.png,
+  galaxyhack-1.69.ebuild:
+  Move icon to mirror://gentoo
 
   20 Nov 2006; Steve Dibb <beandog@gentoo.org> metadata.xml:
   Fix metadata herd, add maintainer email
index da7920d1d43ca153580c5da6cece48a6ccdba3a0..4825129bc585ab21a85f1cf655f10ff4445ceb97 100644 (file)
@@ -1,24 +1,31 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX galaxyhack-1.69-destdirs.patch 767 RMD160 417696eaf75f10ebb0bf58e317bee730b877541b SHA1 8889d58bd6611b92b40b2f3627aad3a42e10b215 SHA256 6a469f6a3c1cfb556483f42d4d3aad90fb2ea99c4df5edaaf134c229e7d38f05
 MD5 ee674048618af52cd0a528e15b8c0da2 files/galaxyhack-1.69-destdirs.patch 767
 RMD160 417696eaf75f10ebb0bf58e317bee730b877541b files/galaxyhack-1.69-destdirs.patch 767
 SHA256 6a469f6a3c1cfb556483f42d4d3aad90fb2ea99c4df5edaaf134c229e7d38f05 files/galaxyhack-1.69-destdirs.patch 767
-AUX galaxyhack.png 819 RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 SHA1 a01db93f2b3c3c32cfd447e26b5b4f389efe05fd SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903
-MD5 3a021fd03b792f9d2ef04715a7b83211 files/galaxyhack.png 819
-RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 files/galaxyhack.png 819
-SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903 files/galaxyhack.png 819
 DIST galaxyhack-1.69.tar.bz2 9947643 RMD160 b764150ab2e8e86d59b4fc599372244330bc7cfa SHA1 67a8791a145fc64316f761f406d5604820d387e4 SHA256 58598b5a4aa43ae401e95f60ba1e1b3e1fabef73a23b556f0c52b2af958d1d17
-EBUILD galaxyhack-1.69.ebuild 1530 RMD160 cd52d1dd28ca7f77c358c038fdc7af09e17af3cb SHA1 42faad2a2e8475e9fdd1310fb8d48f4c2a0fae3c SHA256 a98bb93a92e5f4d11d7039407dc9cfd553cb3dc7318671904d8fe891f3104af3
-MD5 d18ff8bcc355c41a5a307e1004e97d5e galaxyhack-1.69.ebuild 1530
-RMD160 cd52d1dd28ca7f77c358c038fdc7af09e17af3cb galaxyhack-1.69.ebuild 1530
-SHA256 a98bb93a92e5f4d11d7039407dc9cfd553cb3dc7318671904d8fe891f3104af3 galaxyhack-1.69.ebuild 1530
-MISC ChangeLog 546 RMD160 03dd839b5e2531eda6df8beb28e6ff02c3934389 SHA1 b0d70725a0eb899b334d42000cc5c75dfe7f8cbb SHA256 25c895d41672e758bb341239f45510018c7318f164bcd29c41e8856348a6ca63
-MD5 745abdf074d6ca1baa580c0190f863ee ChangeLog 546
-RMD160 03dd839b5e2531eda6df8beb28e6ff02c3934389 ChangeLog 546
-SHA256 25c895d41672e758bb341239f45510018c7318f164bcd29c41e8856348a6ca63 ChangeLog 546
+DIST galaxyhack.png 819 RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 SHA1 a01db93f2b3c3c32cfd447e26b5b4f389efe05fd SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903
+EBUILD galaxyhack-1.69.ebuild 1693 RMD160 4ec101a7e552a6295a9500a651cb00849b4a82fc SHA1 98bfe89f9dc5931f4a535cb3ae70875e8f294569 SHA256 9b7335f3e13398042929373e6eba891ddf89e7e1a805ff6993e353ebd58eb00a
+MD5 a66aebca533d1cea82dfb691ffed00e3 galaxyhack-1.69.ebuild 1693
+RMD160 4ec101a7e552a6295a9500a651cb00849b4a82fc galaxyhack-1.69.ebuild 1693
+SHA256 9b7335f3e13398042929373e6eba891ddf89e7e1a805ff6993e353ebd58eb00a galaxyhack-1.69.ebuild 1693
+MISC ChangeLog 672 RMD160 d941d82057a6a0f990a192e32fc0358db071a6f7 SHA1 7e4556bfc39bbc8815f608807be0ccfd9d87bbbc SHA256 84e62bbd0a417e57e837aff8c00c8da400de7e3c8ecd4adbfbc659f2512af233
+MD5 565e8e4b1ef1f49c43a53d3e4469681c ChangeLog 672
+RMD160 d941d82057a6a0f990a192e32fc0358db071a6f7 ChangeLog 672
+SHA256 84e62bbd0a417e57e837aff8c00c8da400de7e3c8ecd4adbfbc659f2512af233 ChangeLog 672
 MISC metadata.xml 1207 RMD160 42f594c141624b20faf04966bda60ef38998871a SHA1 a0e134c3a46fa92c1f076814b5e57da2c1d8dd7f SHA256 b49a896d99275f98ee92e6b225f573551e4eb1af5af57b88ebf2d8d5fa63c295
 MD5 36c67505007774705f0da7f14b101294 metadata.xml 1207
 RMD160 42f594c141624b20faf04966bda60ef38998871a metadata.xml 1207
 SHA256 b49a896d99275f98ee92e6b225f573551e4eb1af5af57b88ebf2d8d5fa63c295 metadata.xml 1207
-MD5 6737709eb7892377cc539f5017273bfd files/digest-galaxyhack-1.69 253
-RMD160 9938e32ef459d7db69be83ead9c31ea70be21a2d files/digest-galaxyhack-1.69 253
-SHA256 b8f863838415ea4ac230cde682c8622477c760bd3bbd0c0b90d814cf52c4482e files/digest-galaxyhack-1.69 253
+MD5 0f00eef729cf52c1cf7f8a9d75fc9745 files/digest-galaxyhack-1.69 467
+RMD160 8089364ba053d7e9087c134db2bf9d6472707298 files/digest-galaxyhack-1.69 467
+SHA256 7ca6bb8f584ef770a63f86dbfc1d0e9099dfb94785891cb9f8eb82d7316c4a03 files/digest-galaxyhack-1.69 467
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF0nXrdz7hIScOURERAhMMAKDJB/k7PBQ2j21AcNqR1lAsLjnr9gCeKJnO
+c19sPDxrhRDwe04f/hticYs=
+=Ecxk
+-----END PGP SIGNATURE-----
index 7b53b3218f8a482bf24e8ef31f95a0efae5dfcb5..1cfca8ef3f7ed981612d84c1b4f8a3ed409f24f0 100644 (file)
@@ -1,3 +1,6 @@
 MD5 51482e724455a9a7fc693bb157960a40 galaxyhack-1.69.tar.bz2 9947643
 RMD160 b764150ab2e8e86d59b4fc599372244330bc7cfa galaxyhack-1.69.tar.bz2 9947643
 SHA256 58598b5a4aa43ae401e95f60ba1e1b3e1fabef73a23b556f0c52b2af958d1d17 galaxyhack-1.69.tar.bz2 9947643
+MD5 3a021fd03b792f9d2ef04715a7b83211 galaxyhack.png 819
+RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 galaxyhack.png 819
+SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903 galaxyhack.png 819
diff --git a/games-strategy/galaxyhack/files/galaxyhack.png b/games-strategy/galaxyhack/files/galaxyhack.png
deleted file mode 100644 (file)
index e96b392..0000000
Binary files a/games-strategy/galaxyhack/files/galaxyhack.png and /dev/null differ
index 91b25114f1b287fea763d7f0e48546006373eb27..6eca78ba4779c9b3e9b3fc88852b276fb3096c02 100644 (file)
@@ -1,12 +1,14 @@
-# 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-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.1 2006/10/30 20:01:32 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.2 2007/02/14 02:37:23 nyhm Exp $
 
 inherit eutils games
 
 DESCRIPTION="Multiplayer AI script based strategy game."
 HOMEPAGE="http://galaxyhack.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+       mirror://gentoo/${PN}.png"
+
 LICENSE="GPL-2 galaxyhack"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
@@ -17,34 +19,44 @@ DEPEND="media-libs/libsdl
        media-libs/sdl-mixer
        dev-libs/boost"
 
-S="${WORKDIR}/${PN}/src"
+S=${WORKDIR}/${PN}/src
 
 src_unpack() {
        unpack ${A}
        cd "${S}"
        edos2unix Makefile
        epatch "${FILESDIR}"/${P}-destdirs.patch
-       sed -i -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
-               Main.cpp
-       sed -i -e "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:"       \
-               ../settings.dat
+       sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
+               Main.cpp \
+               || die "sed Main.cpp failed"
+       sed -i "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \
+               ../settings.dat \
+               || die "sed settings.dat failed"
+       sed -i \
+               -e "/^CXXFLAGS/s:-O3:${CXXFLAGS}:" \
+               -e '/^LDFLAGS/s:=:+=:' \
+               Makefile \
+               || die "sed Makefile failed"
 }
 
 src_install() {
        dogamesbin "${PN}" || die "dogamesbin failed"
        cd ..
-       insinto "${GAMES_DATADIR}/${PN}"
+       insinto "${GAMES_DATADIR}"/${PN}
        doins -r fleets gamedata graphics music standardpictures \
                settings.dat || die "doins failed"
-       dodoc readme.txt || die "dodoc failed"
-       doicon "${FILESDIR}/${PN}.png" || die "doicon failed"
-       make_desktop_entry "${PN}" GalaxyHack "${PN}.png"
+       dodoc readme.txt
+       doicon "${DISTDIR}"/${PN}.png
+       make_desktop_entry ${PN} GalaxyHack
        prepgamesdirs
 }
 
 pkg_postinst() {
        games_pkg_postinst
-       einfo "Settings will default to those found in ${GAMES_DATADIR}/galaxyhack/settings.dat."
-       einfo "Per user settings can be specified by creating \$HOME/.galaxyhack/settings.dat"
-       einfo "Additional user submitted fleets can be downloaded from http://galaxyhack.sourceforge.net/viewfleets.php"
+       elog "Settings will default to those found in"
+       elog "${GAMES_DATADIR}/galaxyhack/settings.dat"
+       elog "Per user settings can be specified by creating"
+       elog "~/.galaxyhack/settings.dat"
+       elog "Additional user submitted fleets can be downloaded from"
+       elog "http://galaxyhack.sourceforge.net/viewfleets.php"
 }