summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/savage2-bin/ChangeLog8
-rw-r--r--games-strategy/savage2-bin/Manifest13
-rw-r--r--games-strategy/savage2-bin/savage2-bin-2.1.0.1-r1.ebuild93
3 files changed, 112 insertions, 2 deletions
diff --git a/games-strategy/savage2-bin/ChangeLog b/games-strategy/savage2-bin/ChangeLog
index 581b222978ff..dd6a1bdca87b 100644
--- a/games-strategy/savage2-bin/ChangeLog
+++ b/games-strategy/savage2-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/savage2-bin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage2-bin/ChangeLog,v 1.2 2009/09/14 02:05:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage2-bin/ChangeLog,v 1.3 2009/09/16 13:56:03 nyhm Exp $
+
+*savage2-bin-2.1.0.1-r1 (16 Sep 2009)
+
+ 16 Sep 2009; Tristan Heaven <nyhm@gentoo.org>
+ +savage2-bin-2.1.0.1-r1.ebuild:
+ Remove bundled libs (except libpng), bug #284884
*savage2-bin-2.1.0.1 (14 Sep 2009)
diff --git a/games-strategy/savage2-bin/Manifest b/games-strategy/savage2-bin/Manifest
index 3fbeebbf4f53..a8a896c64c8e 100644
--- a/games-strategy/savage2-bin/Manifest
+++ b/games-strategy/savage2-bin/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST Savage2Install-2.1.0.1-i686.bin 855983153 RMD160 816b1ac4db0b40fc2411e06bbfcb24cc1d9538a3 SHA1 b57dd95237a5b30e2ad2a14acf63b9c9bfe3c264 SHA256 e569ba82e9764e35a73164b515dbd9992cb65980cde1088143fbeb75a439cecf
DIST Savage2Install-2.1.0.1-x86_64.bin 856277275 RMD160 a4ecb439601f2e86a7fca0393d3612f648df4deb SHA1 9ade8b736e58a86aba63bf66691b511b1a25cfc1 SHA256 e21fceff738d1bdcd9ea640c86a932f4ac84493bbafea3c199f7eaa721b46ea1
+EBUILD savage2-bin-2.1.0.1-r1.ebuild 2713 RMD160 a9391c537cc63b8674914232a20f78d5a6275c3c SHA1 b8f35d1cec9b3155602b14754c4891d75fd14795 SHA256 ccede2e5b2d3c201311159fb821cb5b57c4149075c613b39bed187868435fe82
EBUILD savage2-bin-2.1.0.1.ebuild 2863 RMD160 fc8545d086d004c319eaf2e54fd75f19de0a93dc SHA1 9204fd73e42a09a0d74474ec171e25a70139296f SHA256 15697b9edbf06170d6fd1b7e1a419b586367724914f765e9d8766788ac76b046
-MISC ChangeLog 630 RMD160 76836e535956817b99b970447f66fd29b6b0be6a SHA1 0f683c97bf8daa529a899d921012de40d14888be SHA256 274af1c469419991b8cd30c0318f2b4110d72a0998d32de750fd3e69b7a4ee39
+MISC ChangeLog 798 RMD160 a3e51045e804887443b80f21fe794db52636d9d4 SHA1 16d6c4fe46d15461639fcf5ce864a5fd959e27dc SHA256 ce8ff1b91c3fe9c2753f44bb273bbd2143cc683187e625694803072000f19ba0
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkqw7nkACgkQdz7hIScOURGqoQCfU6e76CDGiEtZbw4We6/EDVEu
+1l0An3k7a3nszREQdSf2MZozv+AdzbZP
+=DsHP
+-----END PGP SIGNATURE-----
diff --git a/games-strategy/savage2-bin/savage2-bin-2.1.0.1-r1.ebuild b/games-strategy/savage2-bin/savage2-bin-2.1.0.1-r1.ebuild
new file mode 100644
index 000000000000..ed808e18feb6
--- /dev/null
+++ b/games-strategy/savage2-bin/savage2-bin-2.1.0.1-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/savage2-bin/savage2-bin-2.1.0.1-r1.ebuild,v 1.1 2009/09/16 13:56:03 nyhm Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Unique mix of strategy and FPS"
+HOMEPAGE="http://savage2.s2games.com/"
+SRC_URI="x86? ( http://www.savage2.com/en/downloads/installers/Savage2Install-${PV}-i686.bin )
+ amd64? ( http://www.savage2.com/en/downloads/installers/Savage2Install-${PV}-x86_64.bin )"
+
+LICENSE="savage2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+PROPERTIES="interactive"
+QA_TEXTRELS_x86="
+ ${GAMES_PREFIX_OPT:1}/savage2/vid_gl2.so
+ ${GAMES_PREFIX_OPT:1}/savage2/editor/cgame.so
+ ${GAMES_PREFIX_OPT:1}/savage2/game/libgame_shared.so
+ ${GAMES_PREFIX_OPT:1}/savage2/game/game.so
+ ${GAMES_PREFIX_OPT:1}/savage2/game/cgame.so
+ ${GAMES_PREFIX_OPT:1}/savage2/modelviewer/cgame.so
+ ${GAMES_PREFIX_OPT:1}/savage2/libk2.so"
+QA_EXECSTACK_x86="
+ ${GAMES_PREFIX_OPT:1}/savage2/savage2.bin
+ ${GAMES_PREFIX_OPT:1}/savage2/savage2_update.bin"
+QA_EXECSTACK_amd64="
+ ${GAMES_PREFIX_OPT:1}/savage2/savage2.bin
+ ${GAMES_PREFIX_OPT:1}/savage2/savage2_update.bin"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ dev-libs/libxml2
+ net-misc/curl
+ x11-libs/libX11
+ x11-libs/libXrandr
+ media-libs/alsa-lib
+ media-libs/speex
+ media-libs/freetype:2
+ media-libs/fmod:1
+ sys-libs/glibc
+ x86? ( || ( media-libs/jpeg-compat <media-libs/jpeg-7 ) )"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/data
+
+GAMES_CHECK_LICENSE="yes"
+
+src_unpack() {
+ if use x86 ; then
+ unzip "${DISTDIR}"/Savage2Install-${PV}-i686.bin
+ elif use amd64 ; then
+ unzip "${DISTDIR}"/Savage2Install-${PV}-x86_64.bin
+ else
+ die "Unsupported arch"
+ fi
+}
+
+src_prepare() {
+ rm -f dedicated_server.sh editor.sh modelviewer.sh
+ mv -f libs/libpng12.so.0 . || die
+ rm -rf libs
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/savage2
+
+ insinto "${dir}"
+ doins -r * || die "doins failed"
+ fperms g+x "${dir}"/savage2{,_update}.bin || die "fperms failed"
+ newicon s2icon.png ${PN}.png
+
+ games_make_wrapper savage2 "./savage2.bin" "${dir}" "${dir}:${dir}/game"
+ make_desktop_entry savage2 "Savage 2: A Tortured Soul"
+
+ games_make_wrapper savage2-editor \
+ "./savage2.bin \"PushMod editor; Set host_autoExec StartClient\"" \
+ "${dir}" "${dir}"
+ make_desktop_entry savage2-editor "Savage 2: Editor"
+
+ games_make_wrapper savage2-modelviewer \
+ "./savage2.bin \"PushMod modelviewer; Set host_autoExec StartClient\"" \
+ "${dir}" "${dir}"
+ make_desktop_entry savage2-modelviewer "Savage 2: Model Viewer"
+
+ games_make_wrapper savage2-ded \
+ "./savage2.bin \"Set host_dedicatedServer true\"" "${dir}" "${dir}"
+
+ prepgamesdirs
+}