summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-10-21 00:37:30 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-10-21 00:37:30 +0000
commit1cace371118fedde1d2ae9e1d21a3efd504bcd99 (patch)
tree196c74158694ab74d97a079728877e354866661b /games-fps/warsow
parentUpdates; drop 3.2.21, 3.3.8, and 3.4.4. Replace with 3.4.14, 3.5.7, and 3.6.2. (diff)
downloadhistorical-1cace371118fedde1d2ae9e1d21a3efd504bcd99.tar.gz
historical-1cace371118fedde1d2ae9e1d21a3efd504bcd99.tar.bz2
historical-1cace371118fedde1d2ae9e1d21a3efd504bcd99.zip
version bump
Package-Manager: portage-2.2.0_alpha140/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-fps/warsow')
-rw-r--r--games-fps/warsow/ChangeLog7
-rw-r--r--games-fps/warsow/Manifest15
-rw-r--r--games-fps/warsow/warsow-1.02.ebuild176
3 files changed, 193 insertions, 5 deletions
diff --git a/games-fps/warsow/ChangeLog b/games-fps/warsow/ChangeLog
index a8145bd1dc73..0b31ec35ac8f 100644
--- a/games-fps/warsow/ChangeLog
+++ b/games-fps/warsow/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/warsow
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.42 2012/10/17 03:07:16 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.43 2012/10/21 00:37:24 hasufell Exp $
+
+*warsow-1.02 (21 Oct 2012)
+
+ 21 Oct 2012; Julian Ospald <hasufell@gentoo.org> +warsow-1.02.ebuild:
+ version bump
17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> warsow-1.0.ebuild:
x86 stable wrt bug #436808
diff --git a/games-fps/warsow/Manifest b/games-fps/warsow/Manifest
index f52cd3ba9118..80d5a890e3fd 100644
--- a/games-fps/warsow/Manifest
+++ b/games-fps/warsow/Manifest
@@ -15,18 +15,25 @@ DIST warsow_0.62_sdk.zip 36600605 SHA256 e1a86c355307539b8f427a76fc54e7279f39567
DIST warsow_0.62_update.zip 11553787 SHA256 d16309bfc39929a47efe71d5dd28a790c16a7de07232f68fc9672407bebda278 SHA512 568d8523103c23679128dfd2cb8ecd5b47a5b14e26b33e837268e10d8e4fe04b8cb5addd51031f2d90938a0b35f82adbfcf910146a7c40d32ae8e912a7e78a8c WHIRLPOOL e4881c58533b1810bdf45af9610c8f076f0511f22b940727db840aef14be53b259b9751d5aa7e6e6064ccd2ab2441f440cd6fd143751ed91eedd56fdaa1c0c6e
DIST warsow_1.01_sdk.tar.gz 56537475 SHA256 a9c7766f96290e58e0707fbbed412162af7a4711eae988744e61861cf7db5a91 SHA512 e1f6526176535c61e9d270672a340d11d7861ca398e0af0c13049b162615dfaf71799d73079d9179e90411ef2e3fce013b15a2e2d9a5098a461571a87b8ef468 WHIRLPOOL 040020995f1319ef69d7ba54788396f3e4ed0a272f6d244688702fd4e4d05ce1c586255f02d54998e27116b2ec20a40f61382fed28fc09af0dc5d216ade00456
DIST warsow_1.01_update.tar.gz 14557600 SHA256 f09696c4a4a13a9e3da0a0499bbe471a8c552be8524574c78a9946f7776e6586 SHA512 c80a18c00db9a9bce137cfef74fef79f8cc4e4c534cdfecf737a6caef682e0532aa8d6a6455600ed9549cb46720abba41f17b81d02e75a51f0cfb8a4129df7c1 WHIRLPOOL 8a23ea53d1b4fe5be80c5327529d7c3dd4094adbaf72f53de1fe1c2e917a4c14f8771417dfc8bc96c56a20dd6a87d82c5822607d30433e32de7abace8eb01057
+DIST warsow_1.02_sdk.tar.gz 56541955 SHA256 bec1f0ec26c39defad393578b28eb955504f054599142b096773c28889cabb2c SHA512 d62399baa13341bc87863d123a9d852ec688d0aa279eb626b8c95bda28b7ac1d602c7571e02dfda7dd8ea83a231cd8c3310a0126c1235968291e9e700679fbca WHIRLPOOL 7c44fb252b95b400e829c752c58a4d715b695d56f7e9b35504be9c1e1566c513f101090f7bbe0eabba5aef11ff3f320106fe7ce1d4b7b17e7368979b0b193621
+DIST warsow_1.02_update.zip 20582996 SHA256 23efd46590be99140b836125335dc973f606625785926377b60bd1467e661ac1 SHA512 4f0985c9a17e4562d46d289bfc78bf44fa544bdc30af3b0b670572e819966a2fa8f38902cb6810b09ce38a49f7de956177f31bf2858883ad2b3f27d41e6c2276 WHIRLPOOL 978987c70aa8b82a4252505fab95717056701a599d8e52a308206aee59a4cd36520be4f6b202411733d22dcca82f64919423bbd4bcd227d71b6e59cf6859e5b2
DIST warsow_1.0_sdk.tar.gz 56525636 SHA256 2e394b5c50ad206723a59636ab93448f69d8602e710ab334451badf746870e22 SHA512 dee6591fb5ed7150e3e18db20b18366777dbacd4a465074eb3c978a04b7df5140e8a7817a5248542af06d2a6eb972ad986690f16e57ac08f753cccb2470d7bfe WHIRLPOOL e30772b49f37dede19d54e129cc1ca05bf9f01c9a10f372c9c420ceba25514c6a928c12ba61e140efc5ea8d46cbd6db403ca03aee215964173662127b9dbfd59
DIST warsow_1.0_unified.tar.gz 518459004 SHA256 f933d251de4c92b6107d4db1eef5326baf4873d32a6e2f1c3daae14bc92e85ec SHA512 78706093fb4b8684893d9b497fd10f1ce3ef096b68bbf7d36ed2bc775fa649738f0153a723b2788ef6a54d30826ec96bc36899d2e5c230bf09022b98cc105aad WHIRLPOOL efdffd7f358c704a6c08eb1d8c91543db3b76805edba775f88570debfa1b4a9ac64772958831fff7d0be4d72f2d29abbb7610d115e92cdb0fd897a8e31b1059c
EBUILD warsow-0.5-r1.ebuild 3307 SHA256 c255ca80016a3ebed54d30ed965307b938b77a675f4ef47ab59ad5629a778302 SHA512 adf3e2a7f934a3d6d4589087f25c7db748d9bfea35f92bfff6018973354aa9c9271797565f8afd6e72c34c98928a3977dd4e72c5d726d48e824990fda180f402 WHIRLPOOL ae508adccd0eeef5e28c0147cf4d820e80058fa6192963a565ef741763994861c4ae99af6bc10ea791cc78e49926e05375ba1e701c4a9ee0fab1e3c2d1f48f57
EBUILD warsow-0.62.ebuild 3455 SHA256 e15b191b283a2c9ccd36b83d250119564ac326922f1d5700a3112223ba314a6c SHA512 9b9eb9bc00aef219722733eb249e796436c8d9c5812c4ab1591c495279086a803c452f68665149d1948d1e96194e434f856e396e72d8078006fddfd909d27755 WHIRLPOOL f3c166b4d89b28e8e9406ae8326762c1365bce779cb7574d18889d8292ee21ccc99fd737fc85be96f72196f76e348f045cbfb52ddd5b3d2e04453f15546300ff
EBUILD warsow-1.0.ebuild 3383 SHA256 8cd92ac8f52b73fe2d10c32284ca45f24d5803aeef6899f5baf009518b5edbbf SHA512 23e0baf3b4bbfba245d8a0eacc3cdb301a4bd89427aea49d0a2b7f48f4fc32ffe90dd42530f2b97bae0426516e765e5a4d8f652a2241f1de4c3f3b5dc29515d7 WHIRLPOOL 4d23ea88a5d0d471de8950dd2407ff189d004bcb55d6b7d5d9a657fd133ab0afd33179fe3bfe9bc7d0ca1dc3e31a88f50a9e2eb65faab3b239207e753646467e
EBUILD warsow-1.01.ebuild 3550 SHA256 d0632396aa4e1d0b00b9dfd76514249614cad060838c13545d3cafb69044386e SHA512 74b6f411adfb076d2f7fee3531fd08d1305cc10d503c453c0f1f6751a4a20b7c9a4bf9224204617fc3e1348036876d206fe9947ecdfe370f5858cbe27556e9c4 WHIRLPOOL b35d00c570f341293f70dc31213ad52eb11d79c404dd34cf9aeb6713fd43852c1f5c8ce59094c095609e791d346d4a2c9f4c650e2e068839698e7d3f04ba1a52
-MISC ChangeLog 5938 SHA256 14a9b89a59e68bc2f46d9c8161080804fb2f86753a1414167d6b0e322421fa98 SHA512 73aaa9eee5394baa743f1886cf99ac3aadb7ccc82a85787d60ae71cfb651fc6f6865ab0abbb44aa399e773e2bdde889bc4756aebdd0c56ac110e1cedcdb8d5a7 WHIRLPOOL a767220ec957ce99b922f205c57a0e0425c3211edc5ffdf47abb94b5b57dff2f60a18a97d761755f346bb96c2f64f9d07a9d490d4c529f4716889c5902a6b692
+EBUILD warsow-1.02.ebuild 3713 SHA256 973bd8128832a465530245293a9c840d9f6edf1c2c4813118e74966642d88350 SHA512 bb8f097e120662220a8e5eac4665fa607ccb1a563ff13528b9ee3e04c8586dfa01de4e04a0ae88ca24d3fc44cb68a756708afb96244eba9bf1186497075a33d9 WHIRLPOOL b0c24299c7d7c99a7642440a4b47ade9ae1e32e97ffa30617bc0c0ebb2badee3a2938b887952e619dd116561d038a48ab9df0eee43467e9e4db2931636099e8e
+MISC ChangeLog 6052 SHA256 3f317571e0b3e8d2e8e27e616ef812283ba7a076d72c622baf06a4d49f554053 SHA512 52e692af3f1f9f1518ebe2be3a00c02d750a8b22a3e36f097f2dab83907bf112a08172af7b125b6c6dfba17ac7961dd5385464bcc738de76175d6e389d79a333 WHIRLPOOL 3dc2fa07e3a8f1de558cf31a591bd7f044450e086f9ddd28e0eda9c0342e73c8d4a8d9e2629320084a3de2809215a615a0df109278f25c5c89d73f5dfc496790
MISC metadata.xml 347 SHA256 016dbabb997c28f241f054760d9b81b1c43f5161de6d53936a2ebeb78bccdbea SHA512 34e3d6eae3b4665eac573b096d83a2841aee4488cc1a237e54e6e12c0c7ad8caefbbde6b563d1421c9d68cf7fb2b6c2446dfeddb1390971a7630b5efa494cb77 WHIRLPOOL 9d4cbde23eacc798cb4f1ac0c504963d349619229a5c2e926d8fc1348b1fefc53e999cc21e0be0cdca58affd1bfd4a275ae633709af78ca3dc808431fa365db3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlB+IOgACgkQuUQtlDBCeQIOGgCffpz55rgMMZEVj8aJcS5MeEgH
-Ja0AoIHGkVTvrpL/1suRT5LvSnwXkpZf
-=RFm8
+iQEcBAEBCAAGBQJQg0PJAAoJEFpvPKfnPDWznuIH/0BnXi4GUhGozQNoUmQKcHrr
+E90KCLOmp7r1BjS5lyO2GGWQWI8b/lEHg3Yca9qCrWKvdRYQn4UkW/j3u3biWvBW
+NgkA9a9nMDGyQSelbTMKS7zEc7bWq11CtCIWOL7T+aNJqwlbsPjIc49OdyKGtxCY
+M1Z/gclAywhgaMeNc3Xsp5KPpx0Bf3y9G75pLiCRGLnLAmXTGK2FvrMHztl76qgS
+KdNbduVpCnaazxRfr9n+te5eFtDJ+Z1fh9WgoHiNhYk8MTsbMt2Sx+0Ipz6XORC0
+Dr2+50D8A/7neuBd8LkUNRw4eynlRPd7+dlS/RPlb7SyVWi5NQyQE61PVkLtlPw=
+=E7s5
-----END PGP SIGNATURE-----
diff --git a/games-fps/warsow/warsow-1.02.ebuild b/games-fps/warsow/warsow-1.02.ebuild
new file mode 100644
index 000000000000..fefcc65c521a
--- /dev/null
+++ b/games-fps/warsow/warsow-1.02.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2012 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.1 2012/10/21 00:37:24 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"
+
+LICENSE="GPL-2 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}"/${PN}-0.5-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 \
+ 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
+}