Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/d1x-rebirth: d1x-rebirth-0.55.1.ebuild ChangeLog
Date: Mon, 24 Aug 2009 06:46:45
Message-Id: E1MfTKD-00054o-TP@stork.gentoo.org
1 mr_bones_ 09/08/24 06:46:41
2
3 Modified: ChangeLog
4 Added: d1x-rebirth-0.55.1.ebuild
5 Log:
6 version bump (bug #167339)
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.3 games-action/d1x-rebirth/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d1x-rebirth/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d1x-rebirth/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d1x-rebirth/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 10 Jan 2007 17:40:02 -0000 1.2
23 +++ ChangeLog 24 Aug 2009 06:46:41 -0000 1.3
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-action/d1x-rebirth
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/ChangeLog,v 1.2 2007/01/10 17:40:02 wolf31o2 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/ChangeLog,v 1.3 2009/08/24 06:46:41 mr_bones_ Exp $
30 +
31 +*d1x-rebirth-0.55.1 (24 Aug 2009)
32 +
33 + 24 Aug 2009; Michael Sterrett <mr_bones_@g.o>
34 + +d1x-rebirth-0.55.1.ebuild:
35 + version bump (bug #167339)
36
37 10 Jan 2007; Chris Gianelloni <wolf31o2@g.o>
38 d1x-rebirth-0.50.ebuild:
39
40
41
42 1.1 games-action/d1x-rebirth/d1x-rebirth-0.55.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d1x-rebirth/d1x-rebirth-0.55.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/d1x-rebirth/d1x-rebirth-0.55.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: d1x-rebirth-0.55.1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/d1x-rebirth-0.55.1.ebuild,v 1.1 2009/08/24 06:46:41 mr_bones_ Exp $
52
53 EAPI=2
54 inherit eutils games
55
56 DV=1
57 DESCRIPTION="Descent Rebirth - enhanced Descent ${DV} engine"
58 HOMEPAGE="http://www.dxx-rebirth.de/"
59 SRC_URI="mirror://sourceforge/dxx-rebirth/${PN}_v${PV}-src.tar.gz
60 http://www.dxx-rebirth.com/download/dxx/res/d1xrdata.zip
61 http://www.dxx-rebirth.com/download/dxx/res/dxx-rebirth_icons.zip
62 timidity? ( http://www.dxx-rebirth.com/download/dxx/res/descent${DV/1}_midi.zip )
63 cdinstall? ( http://www.dxx-rebirth.com/download/dxx/res/d1datapt.zip )
64 linguas_de? ( http://www.dxx-rebirth.com/download/dxx/res/D${DV}XBDE01.zip )"
65
66 LICENSE="D1X GPL-2 as-is"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="cdinstall ipv6 linguas_de opengl timidity"
70
71 RDEPEND="virtual/opengl
72 virtual/glu
73 dev-games/physfs[hog,zip]
74 media-libs/libsdl
75 media-libs/sdl-mixer[timidity?]"
76 DEPEND="${RDEPEND}
77 app-arch/unzip
78 dev-util/scons"
79
80 S=${WORKDIR}/${PN}_v${PV}-src
81
82 src_unpack() {
83 unpack ${PN}_v${PV}-src.tar.gz dxx-rebirth_icons.zip
84 use linguas_de && unpack D${DV}XBDE01.zip
85 if use cdinstall ; then
86 unpack d1datapt.zip
87 cdrom_get_cds descent/descent.hog
88 mkdir "${S}"/Data
89 cp \
90 ${CDROM_ROOT}/descent/descent.{hog,pig} \
91 ${CDROM_ROOT}/descent/chaos.{hog,msn} \
92 "${S}"/Data \
93 || die "cp failed"
94 fi
95 }
96
97 src_prepare() {
98 if use cdinstall ; then
99 cd Data
100 patch -p0 < "${WORKDIR}"/d1datapt/descent.hog.diff descent.hog
101 patch -p0 < "${WORKDIR}"/d1datapt/descent.pig.diff descent.pig
102 fi
103 }
104
105 src_compile() {
106 local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
107
108 scons ${sconsopts} \
109 sharepath="${GAMES_DATADIR}/d${DV}x" \
110 sdlmixer=1 \
111 sdl_only=$(use opengl && echo 0 || echo 1)
112 ipv6=$(use ipv6 && echo 1 || echo 0)
113 }
114
115 src_install() {
116 dodoc INSTALL.txt README.txt
117 insinto "${GAMES_DATADIR}/d${DV}x"
118 doins "${DISTDIR}"/d1xrdata.zip || die
119 if use linguas_de ; then
120 doins "${WORKDIR}"/D${DV}XBDE01/D${DV}XbDE01/*.txb
121 fi
122 if use timidity ; then
123 doins "${DISTDIR}"/descent_midi.zip || die
124 fi
125 if use cdinstall ; then
126 doins Data/descent.{hog,pig} || die
127 insinto "${GAMES_DATADIR}"/d${DV}x/missions
128 doins Data/chaos.{hog,msn} || die
129 fi
130 doicon "${WORKDIR}/${PN}.xpm"
131
132 if use opengl ; then
133 newgamesbin d${DV}x-rebirth-gl d${DV}x-rebirth
134 else
135 newgamesbin d${DV}x-rebirth-sdl d${DV}x-rebirth
136 fi
137 make_desktop_entry d${DV}x-rebirth "Descent ${DV} Rebirth" ${PN}.xpm
138 prepgamesdirs
139 }
140
141 pkg_postinst() {
142 games_pkg_postinst
143 if ! use cdinstall ; then
144 echo
145 elog "You need to copy data-files from original Descent ${DV}"
146 elog "installation to ${GAMES_DATADIR}/d${DV}x. Please read "
147 elog "/usr/share/doc/${PF}/INSTALL.txt for more info."
148 echo
149 fi
150 }