Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/etqw-bin: etqw-bin-1.5-r1.ebuild ChangeLog
Date: Mon, 07 Jul 2014 18:04:05
Message-Id: 20140707180358.D76E720051@flycatcher.gentoo.org
1 axs 14/07/07 18:03:58
2
3 Modified: ChangeLog
4 Added: etqw-bin-1.5-r1.ebuild
5 Log:
6 Bumped EAPI to 5, adjusted deps for gx86-multilib, added missing deps, dropped bundled libs. Note, could not fully runtime-test as I don't have the PAKs
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
9
10 Revision Changes Path
11 1.7 games-fps/etqw-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/etqw-bin/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/etqw-bin/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/etqw-bin/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-fps/etqw-bin/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 1 Feb 2013 01:38:32 -0000 1.6
24 +++ ChangeLog 7 Jul 2014 18:03:58 -0000 1.7
25 @@ -1,6 +1,13 @@
26 # ChangeLog for games-fps/etqw-bin
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-bin/ChangeLog,v 1.6 2013/02/01 01:38:32 tristan Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-bin/ChangeLog,v 1.7 2014/07/07 18:03:58 axs Exp $
31 +
32 +*etqw-bin-1.5-r1 (07 Jul 2014)
33 +
34 + 07 Jul 2014; Ian Stakenvicius (_AxS_) <axs@g.o>
35 + +etqw-bin-1.5-r1.ebuild:
36 + Bumped EAPI to 5, adjusted deps for gx86-multilib, added missing deps, dropped
37 + bundled libs. Note, could not fully runtime-test as I don't have the PAKs
38
39 01 Feb 2013; Tristan Heaven <tristan@g.o> etqw-bin-1.5.ebuild:
40 Use QA_PREBUILT, bug #430534
41 @@ -22,4 +29,3 @@
42 06 Sep 2008; Tristan Heaven <nyhm@g.o> +metadata.xml,
43 +etqw-bin-1.5.ebuild:
44 Initial commit, bug #196452
45 -
46
47
48
49 1.1 games-fps/etqw-bin/etqw-bin-1.5-r1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/etqw-bin/etqw-bin-1.5-r1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/etqw-bin/etqw-bin-1.5-r1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: etqw-bin-1.5-r1.ebuild
55 ===================================================================
56 # Copyright 1999-2014 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/games-fps/etqw-bin/etqw-bin-1.5-r1.ebuild,v 1.1 2014/07/07 18:03:58 axs Exp $
59
60 EAPI=5
61 inherit eutils games
62
63 DESCRIPTION="Enemy Territory: Quake Wars"
64 HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
65 SRC_URI="ftp://ftp.i3d.net/Games/Enemy%20Territory%20Quake%20Wars/Patches/ETQW-client-${PV}-full.x86.run"
66
67 LICENSE="ETQW"
68 SLOT="0"
69 KEYWORDS="-* ~amd64 ~x86"
70 IUSE="cdinstall"
71 RESTRICT="strip"
72
73 DEPEND="app-arch/unzip"
74 RDEPEND="sys-libs/glibc
75 amd64? ( sys-libs/glibc[multilib] )
76 || (
77 (
78 >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
79 >=virtual/jpeg-62:62[abi_x86_32(-)]
80 >=media-libs/libsdl-1.2.15-r4[video,sound,opengl,abi_x86_32(-)]
81 >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
82 >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
83 >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
84 )
85 (
86 app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
87 app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
88 app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
89 )
90 )
91 cdinstall? ( games-fps/etqw-data )"
92
93 S=${WORKDIR}/data
94 dir=${GAMES_PREFIX_OPT}/etqw
95
96 QA_PREBUILT="${dir:1}/*.x86
97 ${dir:1}/*.so*"
98
99 src_unpack() {
100 tail -c +194885 "${DISTDIR}"/${A} > ${A}.zip
101 unpack ./${A}.zip
102 rm -f ${A}.zip
103 }
104
105 src_install() {
106 insinto "${dir}"
107 doins -r base pb *.png
108 dodoc *.txt
109
110 exeinto "${dir}"
111 doexe etqw{,ded,-rthread}.x86 openurl.sh libCgx86.so libSDL*.id.so*
112
113 newicon etqw_icon.png etqw.png
114 games_make_wrapper etqw ./etqw.x86 "${dir}" "${dir}"
115 make_desktop_entry etqw "Enemy Territory: Quake Wars" etqw
116
117 games_make_wrapper etqw-dedicated ./etqwded.x86 "${dir}" "${dir}"
118 make_desktop_entry etqw-dedicated "Enemy Territory: Quake Wars (dedicated server)" etqw
119
120 games_make_wrapper etqw-rthread ./etqw-rthread.x86 "${dir}" "${dir}"
121 make_desktop_entry etqw-rthread "Enemy Territory: Quake Wars (SMP)" etqw
122
123 prepgamesdirs
124 }
125
126 pkg_postinst() {
127 games_pkg_postinst
128
129 if ! use cdinstall ; then
130 elog "You need to copy pak00*.pk4, zpak_*.pk4 and the megatextures"
131 elog "directory to ${dir}/base before running the game."
132 fi
133 elog "To change the game language from English, add"
134 elog "seta sys_lang \"your_language\" to your autoexec.cfg file."
135 elog "Menu fonts may not show up until you do so."
136 }