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/rtcwmp-demo: rtcwmp-demo-1.1-r1.ebuild ChangeLog
Date: Wed, 09 Jul 2014 22:23:29
Message-Id: 20140709222325.A479E2004E@flycatcher.gentoo.org
1 axs 14/07/09 22:23:25
2
3 Modified: ChangeLog
4 Added: rtcwmp-demo-1.1-r1.ebuild
5 Log:
6 Bumped EAPI to 5, adjusted deps for gx86-mulitlib, dropped opengl use flag and made USE=dedicated only install dedicated server as it should; tested fine as-is but did not have any maps to load to test gameplay itself.
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.14 games-fps/rtcwmp-demo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/rtcwmp-demo/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/rtcwmp-demo/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/rtcwmp-demo/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-fps/rtcwmp-demo/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 21 Dec 2012 21:30:29 -0000 1.13
24 +++ ChangeLog 9 Jul 2014 22:23:25 -0000 1.14
25 @@ -1,6 +1,14 @@
26 # ChangeLog for games-fps/rtcwmp-demo
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwmp-demo/ChangeLog,v 1.13 2012/12/21 21:30:29 tupone Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwmp-demo/ChangeLog,v 1.14 2014/07/09 22:23:25 axs Exp $
31 +
32 +*rtcwmp-demo-1.1-r1 (09 Jul 2014)
33 +
34 + 09 Jul 2014; Ian Stakenvicius (_AxS_) <axs@g.o>
35 + +rtcwmp-demo-1.1-r1.ebuild:
36 + Bumped EAPI to 5, adjusted deps for gx86-mulitlib, dropped opengl use flag and
37 + made USE=dedicated only install dedicated server as it should; tested fine as-
38 + is but did not have any maps to load to test gameplay itself.
39
40 21 Dec 2012; Tupone Alfredo <tupone@g.o> rtcwmp-demo-1.1.ebuild:
41 Use QA_PREBUILT. Bug #429150 by Diego Elio Pettenò
42 @@ -50,4 +58,3 @@
43 +files/rtcwmp-demo-ded.rc, +metadata.xml, +rtcwmp-demo-1.1.ebuild:
44 Initial import. Ebuild by Alexander Nicolaysen Sornes
45 <alex@××××××××××××××.com>. Closing bug #115712.
46 -
47
48
49
50 1.1 games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: rtcwmp-demo-1.1-r1.ebuild
56 ===================================================================
57 # Copyright 1999-2014 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r1.ebuild,v 1.1 2014/07/09 22:23:25 axs Exp $
60
61 EAPI=5
62 inherit eutils unpacker games
63
64 MY_P="wolfmpdemo-linux-${PV}-MP.x86.run"
65
66 DESCRIPTION="Return to Castle Wolfenstein - Multi-player demo"
67 HOMEPAGE="http://games.activision.com/games/wolfenstein/"
68 SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P}
69 mirror://3dgamers/returnwolfenstein/${MY_P}"
70
71 LICENSE="RTCW GPL-2" # gpl for init script bug #425946
72 SLOT="0"
73 KEYWORDS="-* ~amd64 ~x86"
74 IUSE="dedicated"
75 RESTRICT="strip mirror"
76
77 RDEPEND="sys-libs/glibc
78 amd64? ( sys-libs/glibc[multilib] )
79 dedicated? ( app-misc/screen )
80 !dedicated? ( || (
81 (
82 virtual/opengl
83 x11-libs/libX11
84 x11-libs/libXext
85 )
86 (
87 app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
88 app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
89 )
90 ) )"
91
92 QA_PREBUILT="${GAMES_PREFIX_OPT:1}/{PN}/*
93 ${GAMES_PREFIX_OPT:1}/{PN}/demomain/*"
94
95 S=${WORKDIR}
96
97 dir=${GAMES_PREFIX_OPT}/${PN}
98 Ddir=${D}/${dir}
99
100 src_install() {
101 insinto "${dir}"
102 doins -r demomain Docs
103 doins WolfMP.xpm
104 dodoc CHANGES QUICKSTART
105
106 exeinto "${dir}"
107 doexe bin/x86/wolfded.x86 openurl.sh
108 games_make_wrapper rtcwmp-demo-ded ./wolfded.x86 "${dir}" "${dir}"
109 newinitd "${FILESDIR}"/rtcwmp-demo-ded.rc rtcwmp-demo-ded
110 sed "s:GENTOO_DIR:${dir}:" "${ED}"/etc/init.d/rtcwmp-demo-ded || die
111
112 if ! use dedicated; then
113 doexe bin/x86/wolf.x86
114 games_make_wrapper rtcwmp-demo ./wolf.x86 "${dir}" "${dir}"
115 newicon WolfMP.xpm rtcwmp-demo.xpm
116 make_desktop_entry rtcwmp-demo "Return to Castle Wolfenstein (MP demo)" \
117 rtcwmp-demo.xpm
118 fi
119
120 prepgamesdirs
121 }
122
123 pkg_postinst() {
124 games_pkg_postinst
125 elog "Install 'rtcwsp-demo' for single-player"
126 elog
127 if ! use dedicated; then
128 elog "Run 'rtcwmp-demo' for multi-player"
129 elog
130 fi
131 elog "Start a dedicated server with"
132 elog "'/etc/init.d/rtcwmp-demo-ded start'"
133 elog
134 elog "Start the server at boot with"
135 elog "'rc-update add rtcwmp-demo-ded default'"
136 }