summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-01-30 22:02:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-01-30 22:02:25 +0000
commitd57b75b776685d099cb9093903d9a3b367f6d7b5 (patch)
tree2b1925a3d24f2df0bc3a09d8bf65b9cfb2200dbd /games-fps
parentold (diff)
downloadhistorical-d57b75b776685d099cb9093903d9a3b367f6d7b5.tar.gz
historical-d57b75b776685d099cb9093903d9a3b367f6d7b5.tar.bz2
historical-d57b75b776685d099cb9093903d9a3b367f6d7b5.zip
old
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/freedoom/ChangeLog7
-rw-r--r--games-fps/freedoom/Manifest31
-rw-r--r--games-fps/freedoom/freedoom-0.4.1.ebuild33
-rw-r--r--games-fps/warsow/ChangeLog5
-rw-r--r--games-fps/warsow/Manifest17
-rw-r--r--games-fps/warsow/warsow-1.02.ebuild179
6 files changed, 16 insertions, 256 deletions
diff --git a/games-fps/freedoom/ChangeLog b/games-fps/freedoom/ChangeLog
index e37db3276331..31d7d5d03983 100644
--- a/games-fps/freedoom/ChangeLog
+++ b/games-fps/freedoom/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/freedoom
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/ChangeLog,v 1.21 2011/04/24 17:33:00 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/ChangeLog,v 1.22 2013/01/30 22:02:20 mr_bones_ Exp $
+
+ 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> -freedoom-0.4.1.ebuild:
+ old
24 Apr 2011; Raúl Porcel <armin76@gentoo.org> freedoom-0.4.1.ebuild,
freedoom-0.7.ebuild:
diff --git a/games-fps/freedoom/Manifest b/games-fps/freedoom/Manifest
index 78232a2fef77..846ce0bd2254 100644
--- a/games-fps/freedoom/Manifest
+++ b/games-fps/freedoom/Manifest
@@ -1,25 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST freedm-0.7.zip 4777958 RMD160 b12167c50652e5750fca7c64f5f20d0334f9a3d3 SHA1 50e5c2e0f835805f1dbc4da520a2b8a14bf84ebb SHA256 379e29e4ee2355d150fba04507c14544bc8af4cc5449aef2cf80b6709a78e59a
-DIST freedoom-demo-0.4.1.zip 2251418 RMD160 6aa132b129a745620fef2de0cb329d1a7c1ca677 SHA1 78d883132b5f39db9f69b967a54bd4294255998c SHA256 b0daeb12dbc2c8297ac62d7bdba8621155e87563b4a50e497b808c19d3eb0635
-DIST freedoom-demo-0.7.zip 2800744 RMD160 f316fabf69a581c3d43214771aa4e98661c1aadc SHA1 e844404dba3738486c2a9ab697e2b497d983fafb SHA256 4caf386adbf217e3c96d1d8f18cbdf5335caf7c1e88d64cdc44065aa92785286
-DIST freedoom-graphics-0.4.1.zip 177344 RMD160 05ef898b5e6cdca9c87699f8182beecf999486f1 SHA1 2042ff1e779caffc6391c17a176254d0524348b5 SHA256 cc5320d9f19267dc3557746cc889d97c1b93eac4100920423d179993c0a15364
-DIST freedoom-iwad-0.4.1.zip 6855237 RMD160 95a50e50f8ae9ac5d18fea0a359e981b7fd06e49 SHA1 26e3b69b1db770c669205c21030c81ffb270c9f1 SHA256 7cb3210d7b1e47d9c39fe782ab62300e0f59396f10ea258c4ba909f72bd19e97
-DIST freedoom-iwad-0.7.zip 9697891 RMD160 0f8f6af57114d744c6ca5a3f19ebbdb6f0c51c9f SHA1 38ed1d58e7ee54acc62a026c892568e2c3289928 SHA256 f8f75fd1909801fe42de0e74db9adcfd33f753374e4923bd93e3d9a9b802ab1f
-DIST freedoom-levels-0.4.1.zip 2508749 RMD160 057c3304aa8d7c10589437de831e044d51de87ef SHA1 6f0fa2e36f68686f4bb88d21853b676dc6f43dd0 SHA256 c1ff8636aab0cdefb229ab0f0a85af7565592d9e9711167301da947d73c2cd42
-DIST freedoom-resource-wad-0.4.1.zip 4339626 RMD160 289f69d9c251c471a4b846abc16da4fd668d53bc SHA1 5c1483e8b16449db0d23047f772102476f16eb05 SHA256 ee59ce7f2bde6698f1f164eaa91bcde936ca94e1f13c434ec6611ce1a3870213
-DIST freedoom-sounds-0.4.1.zip 1285991 RMD160 052bd9096304d54e87f78b25d20ab21693404c6c SHA1 fc2c8de92d923b7b005a66ee94cc667caece8cd7 SHA256 d348a45a9bcdd92e9e28e09ff8358c70bf00ab0316f777b408aabc903cb2875c
-DIST freedoom-sprites-0.4.1.zip 869067 RMD160 29c3a1e4407cdeda4c237d01799f7182801b955f SHA1 a8a66ab6a02aabfbdc813fbd45ee4a380b3a6dd5 SHA256 dcbe414382a113f67a0a335cf9c270afa542b5cebe0d68a49c6bf310f0da5c08
-DIST freedoom-textures-0.4.1.zip 2017163 RMD160 0c92ca090086c2b1d5e1e2d48941e6e322c14d87 SHA1 adc41db6255796e916e651779cbbbcb4b6f7770f SHA256 3d81e1a10dc0c8c17b0893ef76094470cbd039245f2a7ed3112307db278d6120
-EBUILD freedoom-0.4.1.ebuild 1107 RMD160 dd94e7ad47f3286ee97f26204737ee15086eb0e2 SHA1 078beeddec067b02d9547bbebce15a852ed2e1dc SHA256 eab2bf97d944eb8675c6e8237f95a290703e098970e5b812e0af6233cf676844
-EBUILD freedoom-0.7.ebuild 1333 RMD160 5852607c16a9781f5bee42cdd2a44a99b52a8373 SHA1 dadddd10883d1e90bf5f284f4003e8685219e1f7 SHA256 2c74834be8d244321445f89f06df6ec1d8a7b50812a0d87b2e40ade100e9a04c
-MISC ChangeLog 2454 RMD160 a26f252477c20db8bfcbd7ed912ece2b803ea31e SHA1 a3e8180c6c8cfb7f36a56fe8c3d44632bc405957 SHA256 10165448669b7423c63c95ddf43e579d4247cef097f36bcef8d4e12d413eeebc
-MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAk20XtMACgkQuQc30/atMkAFNACfYwkl1FYo6w1OqiFrImJRqZTZ
-w94AnAjBDVYc47XPAsaTBxz7SuDtwgN0
-=3/DQ
------END PGP SIGNATURE-----
+DIST freedm-0.7.zip 4777958 SHA256 379e29e4ee2355d150fba04507c14544bc8af4cc5449aef2cf80b6709a78e59a
+DIST freedoom-demo-0.7.zip 2800744 SHA256 4caf386adbf217e3c96d1d8f18cbdf5335caf7c1e88d64cdc44065aa92785286
+DIST freedoom-iwad-0.7.zip 9697891 SHA256 f8f75fd1909801fe42de0e74db9adcfd33f753374e4923bd93e3d9a9b802ab1f
+EBUILD freedoom-0.7.ebuild 1333 SHA256 2c74834be8d244321445f89f06df6ec1d8a7b50812a0d87b2e40ade100e9a04c SHA512 ebe791a16873466682e63abaae1ccf2e8b8c3920d25ae038b0818b6004676e8af15bab55c77038f5e35fd5eb9f1485ef8206b8e37508ad34c6860a8a75821763 WHIRLPOOL 1cd030e08d22343388e9d6df58f94ddcca82fbaa3fdd579ccdbbe411101a0a97845509f4498f90b199981711c1c460efc514c7f9be4e3663117c246b312cf642
+MISC ChangeLog 2542 SHA256 82865341969daea70d15ddede4a003274b1996ad1389713308a45fd8aae4b2b8 SHA512 bddac4c46e4b4388d4c9f20d612f73bc766061b93b1dc9ca9f14433784ebad82d27d0332cf84855f1bb74631003b561a452728660ba2876216bbd84be535e79e WHIRLPOOL 0507e3e4fbc19b683cbdf437550b8dd0f6f31e824448c7f222cf337c2cbb160ceb0463e2c4a0f72520891490bb07c5be5744f8bdd898affb2b57e0671b04378a
+MISC metadata.xml 160 SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d SHA512 e5ae2b384aa96a402995bf0e8b4c29d38d57f1ebc44eeca71d7eda9a29431b7737c3c3a5df053e868a21c21abb457658344e7fb7c2102d4625a160273048c2db WHIRLPOOL b626c8afedc54ba9adb429cb53f860c0165702b1cea15f5c84c4e458cc94f28755ec66c5b73d9ecc155c1de70c82e1d79ba859c2124d0a78437681f2786e1246
diff --git a/games-fps/freedoom/freedoom-0.4.1.ebuild b/games-fps/freedoom/freedoom-0.4.1.ebuild
deleted file mode 100644
index 57f5d17cdb74..000000000000
--- a/games-fps/freedoom/freedoom-0.4.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/freedoom-0.4.1.ebuild,v 1.4 2011/04/24 17:33:00 armin76 Exp $
-
-inherit games
-
-DESCRIPTION="Freedoom - Open Source Doom resources"
-HOMEPAGE="http://freedoom.sourceforge.net/"
-SRC_URI="mirror://sourceforge/freedoom/freedoom-demo-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-iwad-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-graphics-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-levels-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-resource-wad-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-sounds-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-sprites-${PV}.zip
- mirror://sourceforge/freedoom/freedoom-textures-${PV}.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND="!games-fps/doom-data"
-DEPEND="app-arch/unzip"
-
-S=${WORKDIR}
-
-src_install() {
- insinto "${GAMES_DATADIR}"/doom-data
- doins */*.wad || die "doins wad"
- dodoc freedoom-resource-wad-${PV}/{CREDITS,ChangeLog,NEWS,README}
- prepgamesdirs
-}
diff --git a/games-fps/warsow/ChangeLog b/games-fps/warsow/ChangeLog
index 32b052d99680..603735918c91 100644
--- a/games-fps/warsow/ChangeLog
+++ b/games-fps/warsow/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/warsow
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.49 2013/01/19 13:44:28 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.50 2013/01/30 21:58:40 mr_bones_ Exp $
+
+ 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> -warsow-1.02.ebuild:
+ old
19 Jan 2013; Julian Ospald <hasufell@gentoo.org> warsow-1.0.ebuild,
warsow-1.02.ebuild, warsow-1.02-r1.ebuild:
diff --git a/games-fps/warsow/Manifest b/games-fps/warsow/Manifest
index 99eeb005174f..4b8e8d9e7860 100644
--- a/games-fps/warsow/Manifest
+++ b/games-fps/warsow/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX warsow-1.0-build.patch 16346 SHA256 626f23dc9c99eec2d1e1760e9247eb81079569ea139c165cb3ec908235e3aee7 SHA512 50131166cbd4ea39e9d77936d47ee9ca602f78f37f4f0351c188528deaebee1312b757ec4703b20a104cd23dbb5b68a948af774d67da07d1dac671c752bee4cf WHIRLPOOL 866797b10d0513269e72d2e71cda2d4860c8ca90322a426232dbcbd00cde68350a56ac484dacf350de11263ef329c5632dab5f8d0d8b08795191d6ac671ebe51
AUX warsow-1.0-pic.patch 377 SHA256 300c220fb833424be66da460ad4ac1ef6c61cde0dc5b76e1e8e0b75f5ece3782 SHA512 1f712dbf83c3bca6a2f0424f2250133a23903da86c9045d0917ef5a18b311f6485af6cd5afc1bbcc8b47ff0e0f880154fc17f978c2e7400b6edb4b2ba33b2e18 WHIRLPOOL 536ddb836e09c15d0a3e5645066042164a556d608022c9892a82cd56552a489d6d424909878fe89ddf035a1a604d9ba4a73eabe563c6de51f44ccec1f9b7d854
AUX warsow-1.02-build.patch 18235 SHA256 2651eac7e51e8fabe2782870ab9126f7767e16627c43a5f610d88be714298629 SHA512 85ccd72d70106ec086c5ac84377d1b7c5026b1b98487c104fa88e5a4d5fdbd0b851b98c9c936f925f22e63ce726a453fecd3368946437dbba3623e2f36388c22 WHIRLPOOL 648fbeb9fdef1c37e7bd5cd71c36d82e6243fa7bd9c54ac4c7dc3b98514eb997b97c4103a47d8d4ac32120487d41e69c4e34a830b860600f07ce34d30ea8d61b
@@ -12,17 +9,5 @@ DIST warsow_1.0_sdk.tar.gz 56525636 SHA256 2e394b5c50ad206723a59636ab93448f69d86
DIST warsow_1.0_unified.tar.gz 518459004 SHA256 f933d251de4c92b6107d4db1eef5326baf4873d32a6e2f1c3daae14bc92e85ec SHA512 78706093fb4b8684893d9b497fd10f1ce3ef096b68bbf7d36ed2bc775fa649738f0153a723b2788ef6a54d30826ec96bc36899d2e5c230bf09022b98cc105aad WHIRLPOOL efdffd7f358c704a6c08eb1d8c91543db3b76805edba775f88570debfa1b4a9ac64772958831fff7d0be4d72f2d29abbb7610d115e92cdb0fd897a8e31b1059c
EBUILD warsow-1.0.ebuild 3438 SHA256 2718ea8e803b16d5ae1d291ada956e5993a17e120b08e651e2e3463fde1f7668 SHA512 9565869cec3087019dcf7a66cc9f19825b1e9f713f1fd8875aab053bbcbf8d4c83e24faac5452ef7c4f6b6a5547a0df8483c84d0b78f80deca587bceb823410e WHIRLPOOL fdbd305c14f3db93ff8200277eac6865bee014c04f2b8a81b1a1df3c699f05c8be889119782adfd7bf5e3c406393946b45d685400c4b7f5f4c02965fbb22a82d
EBUILD warsow-1.02-r1.ebuild 3812 SHA256 3fc6ec6c8a46a3d78937033140adf0d88c53c2eafd28a7e39d05b5d4941d25fd SHA512 f3a9fd4708c5cb17d2a062795c136643381375f33a4699ad9ac469dd47ee0261e5610bfb68df6c45b97766f7d173bd3631511c6c85ecfcb55a080eafeb765cbe WHIRLPOOL 68843ab49162894df7717e8264dcfedef860e325805a35fe8422ddb19b1cbe12c4e4c7b6ef1baee733cd60c421baefb237255d5c8cf1d822874663c82f2cca96
-EBUILD warsow-1.02.ebuild 3780 SHA256 d047f709f6f74a0901f083587cc8e5966fb84d2c64bb1c427b433420def772cf SHA512 e2c55e5ccc4c19b6c01bb90008d41274cffd7a512fcee51576ea65a51c048e4cb35b020a3be0d3021264bbdec72d081c492a4c5089db0840043b1c2fc5d092eb WHIRLPOOL 8c4f1f4913b862e4b8a0ee5b2ef4628eca04a89185e9788079a1d440a5ad5324d0eebff6d5b534a8a5491f920df3451a7aa48ec827980fa9097e442d7e266955
-MISC ChangeLog 7169 SHA256 55cb5ed5c0c270eac6cc81c488782a7b470263a94a117a2f3c957f4c4ae566eb SHA512 821480b41a30a9efd23e099f6427317755d6899cd3d2e6824939067fc64f6a042c674fcbe693016accd8b9279dc0164c4c61fb939dc96f06b299e4a2344663c6 WHIRLPOOL 05b5e6b7853913d44e85da8ebee9af744c06a18e5d1f9274d1ac8d8fc2b44f9633ea7a57e8400f5d0d9474c482c32577807a2b1d77d6a170da7d3f62c34d9bbf
+MISC ChangeLog 7253 SHA256 d1c7e81899ec1b1989995f0c1790c0ce42bb7a93ab68259a9e8183abbfc83398 SHA512 5293121371b95d937bb4b0540280271723c44f91c2fa8b60a597c4ea36e49670ce91f592440e6096a458d01bb23ea7cbcc328c7f73a97b022dd5cb7ed3babcaf WHIRLPOOL a5dd2eb03ad4a286eab5840a6fa4fdeb6432ef3a17bdc9a303b236af3cdd5f10061956f70d75a1f497d2c7eeabc08f32c8880d460a11308484f1564a492b5cf1
MISC metadata.xml 347 SHA256 016dbabb997c28f241f054760d9b81b1c43f5161de6d53936a2ebeb78bccdbea SHA512 34e3d6eae3b4665eac573b096d83a2841aee4488cc1a237e54e6e12c0c7ad8caefbbde6b563d1421c9d68cf7fb2b6c2446dfeddb1390971a7630b5efa494cb77 WHIRLPOOL 9d4cbde23eacc798cb4f1ac0c504963d349619229a5c2e926d8fc1348b1fefc53e999cc21e0be0cdca58affd1bfd4a275ae633709af78ca3dc808431fa365db3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQEcBAEBCAAGBQJQ+qM/AAoJEFpvPKfnPDWzC3AIALO7WZscWX7IR0iXTZ8qhCqD
-fHUOLU27dl7N7Qpx+PsGPmTzXLn8N4Y19V5TttQvLF16AJxj++I9emUKGmyIHF0j
-C8Ghk+GGOH4VPOedCmPOUgcNwF+NBv/Ofo41/s7nAk/SAx3sdwJzZwaBWq2AjHSY
-G9SxjdpMhcE5i82aM6C9vyfoYWgzcnSR2Z2n9J8RPdm7Raqzg8TMyGeLW72srrd9
-pzRuMWj0nEeDVuFp9pYf+iKWvQsFZRtuVQxWpsNxyFzG2gTvqkNP8CYBfgmD50zN
-IIeeS6r2mqIQ3Azb/LE53a12aVHkTvWESxSDCVmWYD3/4gNMeHgxrqLornngtoQ=
-=7ijP
------END PGP SIGNATURE-----
diff --git a/games-fps/warsow/warsow-1.02.ebuild b/games-fps/warsow/warsow-1.02.ebuild
deleted file mode 100644
index 37df05c15df5..000000000000
--- a/games-fps/warsow/warsow-1.02.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-1.02.ebuild,v 1.4 2013/01/19 13:44:28 hasufell Exp $
-
-EAPI=4
-inherit eutils check-reqs gnome2-utils games
-
-MY_P=${PN}_${PV}
-DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
-HOMEPAGE="http://www.warsow.net/"
-SRC_URI="http://funpark.warsow-esport.net/~${PN}/1.0/${PN}_1.0_unified.tar.gz
- http://funpark.warsow-esport.net/~${PN}/${PV}/${MY_P}_sdk.tar.gz
- http://funpark.warsow-esport.net/~${PN}/${PV}/${MY_P}_update.zip
- mirror://gentoo/${PN}.png"
-
-# ZLIB: bundled angelscript
-# MIT: bundled libRocket
-LICENSE="GPL-2 MIT ZLIB warsow"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+angelscript debug dedicated irc openal server"
-
-RDEPEND="media-libs/freetype
- net-misc/curl
- sys-libs/zlib
- !dedicated? (
- media-libs/libpng:0
- media-libs/libsdl
- media-libs/libtheora
- media-libs/libvorbis
- x11-libs/libX11
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXxf86dga
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- openal? ( media-libs/openal )
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- x11-misc/makedepend
- !dedicated? (
- x11-proto/xineramaproto
- x11-proto/xf86dgaproto
- x11-proto/xf86vidmodeproto
- )
- openal? ( virtual/pkgconfig )"
-
-S=${WORKDIR}/${MY_P}_sdk/source
-S_U=${WORKDIR}/${PN}_1.0
-S_UPDATE=${WORKDIR}/${MY_P}_update
-
-CHECKREQS_DISK_BUILD="1G"
-CHECKREQS_DISK_USR="500M"
-
-src_unpack() {
- unpack ${PN}_1.0_unified.tar.gz ${MY_P}_sdk.tar.gz
- mkdir "${S_UPDATE}" || die
- cd "${S_UPDATE}" || die
- unpack ${MY_P}_update.zip
-}
-
-src_prepare() {
- sed -i \
- -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \
- qcommon/files.c \
- || die "sed files.c failed"
-
- sed -i \
- -e "s:q_jpeg_mem_src:_&:" \
- ref_gl/r_image.c || die "sed r_image.c failed"
-
- rm -r "${S_U}"/docs/old* || die
-
- cd "${WORKDIR}"/${MY_P}_sdk || die
- epatch "${FILESDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-pic.patch
- epatch_user
-}
-
-src_compile() {
- yesno() { use ${1} && echo YES || echo NO ; }
-
- use angelscript &&
- emake -C ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc
-
- local arch
- if use amd64 ; then
- arch=x86_64
- elif use x86 ; then
- arch=i386
- fi
-
- local myconf
- if use dedicated ; then
- myconf=(
- BUILD_CLIENT=NO
- BUILD_IRC=NO
- BUILD_SND_OPENAL=NO
- BUILD_SND_QF=NO
- BUILD_CIN=NO
- BUILD_SERVER=YES
- BUILD_TV_SERVER=YES
- )
- else
- myconf=(
- BUILD_CLIENT=YES
- BUILD_IRC=$(yesno irc)
- BUILD_SND_OPENAL=$(yesno openal)
- BUILD_SND_QF=YES
- BUILD_CIN=YES
- BUILD_SERVER=$(yesno server)
- BUILD_TV_SERVER=$(yesno server)
- )
- fi
-
- emake \
- V=YES \
- BASE_ARCH=${arch} \
- BINDIR=lib \
- BUILD_ANGELWRAP=$(yesno angelscript) \
- DEBUG_BUILD=$(yesno debug) \
- ${myconf[@]}
-}
-
-src_install() {
- cd lib
-
- if ! use dedicated ; then
- newgamesbin ${PN}.* ${PN}
- doicon -s 48 "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} Warsow
- fi
-
- if use dedicated || use server ; then
- newgamesbin wsw_server.* ${PN}-ded
- newgamesbin wswtv_server.* ${PN}-tv
- fi
-
- exeinto "$(games_get_libdir)"/${PN}
- doexe */*.so
-
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${S_U}"/basewsw
- doins -r "${S_UPDATE}"/basewsw
-
- local so
- for so in basewsw/*.so ; do
- dosym "$(games_get_libdir)"/${PN}/${so##*/} \
- "${GAMES_DATADIR}"/${PN}/${so}
- done
-
- if [[ -e libs ]] ; then
- dodir "${GAMES_DATADIR}"/${PN}/libs
- for so in libs/*.so ; do
- dosym "$(games_get_libdir)"/${PN}/${so##*/} \
- "${GAMES_DATADIR}"/${PN}/${so}
- done
- fi
-
- dodoc "${S_U}"/docs/*
- dodoc "${S_UPDATE}"/docs/*
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}