1 |
mr_bones_ 14/07/02 05:48:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: d2x-rebirth-0.58.1.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 games-action/d2x-rebirth/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/d2x-rebirth/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/d2x-rebirth/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/d2x-rebirth/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-action/d2x-rebirth/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 15 May 2014 16:22:00 -0000 1.7 |
24 |
+++ ChangeLog 2 Jul 2014 05:48:27 -0000 1.8 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-action/d2x-rebirth |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/d2x-rebirth/ChangeLog,v 1.7 2014/05/15 16:22:00 ulm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/d2x-rebirth/ChangeLog,v 1.8 2014/07/02 05:48:27 mr_bones_ Exp $ |
30 |
+ |
31 |
+*d2x-rebirth-0.58.1 (02 Jul 2014) |
32 |
+ |
33 |
+ 02 Jul 2014; Michael Sterrett <mr_bones_@g.o> |
34 |
+ +d2x-rebirth-0.58.1.ebuild, +files/d2x-rebirth-0.58.1-flags.patch: |
35 |
+ version bump |
36 |
|
37 |
15 May 2014; Ulrich Müller <ulm@g.o> d2x-rebirth-0.57.3.ebuild: |
38 |
Fix USE dependency on media-libs/libsdl, "audio" USE flag was renamed to |
39 |
@@ -31,4 +37,3 @@ |
40 |
+d2x-rebirth-0.50.ebuild: |
41 |
Initial import. Ebuild by Paul Bredbury <brebs@××××.com>. Closing bug |
42 |
#137309. |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: d2x-rebirth-0.58.1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2014 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild,v 1.1 2014/07/02 05:48:27 mr_bones_ Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
inherit eutils scons-utils games |
61 |
|
62 |
DV=2 |
63 |
MY_P=dxx-rebirth-${PV}-d2x |
64 |
DESCRIPTION="Descent Rebirth - enhanced Descent ${DV} engine" |
65 |
HOMEPAGE="http://www.dxx-rebirth.com/" |
66 |
SRC_URI="https://github.com/dxx-rebirth/dxx-rebirth/archive/0.58.1-d2x.tar.gz -> ${P}.tar.gz |
67 |
opl3-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-opl3-music.zip ) |
68 |
sc55-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-sc55-music.zip ) |
69 |
linguas_de? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-briefings-ger.zip )" |
70 |
|
71 |
LICENSE="D1X GPL-2 public-domain" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86" |
74 |
IUSE="cdinstall debug demo ipv6 linguas_de +music opengl opl3-musicpack sc55-musicpack" |
75 |
REQUIRED_USE="?? ( opl3-musicpack sc55-musicpack ) |
76 |
opl3-musicpack? ( music ) |
77 |
sc55-musicpack? ( music )" |
78 |
|
79 |
RDEPEND="dev-games/physfs[hog,mvl,zip] |
80 |
media-libs/libsdl[X,sound,joystick,opengl?,video] |
81 |
music? ( |
82 |
media-libs/sdl-mixer[timidity,vorbis] |
83 |
) |
84 |
opengl? ( |
85 |
virtual/opengl |
86 |
virtual/glu |
87 |
)" |
88 |
DEPEND="${RDEPEND} |
89 |
app-arch/unzip" |
90 |
PDEPEND="cdinstall? ( games-action/descent2-data ) |
91 |
demo? ( games-action/descent2-demodata )" |
92 |
|
93 |
S=${WORKDIR}/${MY_P} |
94 |
|
95 |
src_unpack() { |
96 |
unpack ${P}.tar.gz |
97 |
} |
98 |
|
99 |
src_prepare() { |
100 |
epatch "${FILESDIR}"/${P}-flags.patch |
101 |
|
102 |
DOCS=( {CHANGELOG,INSTALL,README,RELEASE-NOTES}.txt ) |
103 |
edos2unix ${DOCS[@]} |
104 |
} |
105 |
|
106 |
src_compile() { |
107 |
escons \ |
108 |
verbosebuild=1 \ |
109 |
sharepath="${GAMES_DATADIR}/d${DV}x" \ |
110 |
$(use_scons ipv6) \ |
111 |
$(use_scons music sdlmixer) \ |
112 |
$(use_scons debug) \ |
113 |
$(use_scons opengl) \ |
114 |
|| die |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
dodoc ${DOCS[@]} |
119 |
|
120 |
insinto "${GAMES_DATADIR}/d${DV}x" |
121 |
|
122 |
# None of the following zip files need to be extracted. |
123 |
use linguas_de && newins "${DISTDIR}"/d${DV}xr-briefings-ger.zip d${DV}xr-briefings-ger.dxa |
124 |
use opl3-musicpack && newins "${DISTDIR}"/d${DV}xr-opl3-music.zip d${DV}xr-opl3-music.dxa |
125 |
use sc55-musicpack && newins "${DISTDIR}"/d${DV}xr-sc55-music.zip d${DV}xr-sc55-music.dxa |
126 |
|
127 |
doicon ${PN}.xpm |
128 |
|
129 |
dogamesbin ${PN} |
130 |
make_desktop_entry ${PN} "Descent ${DV} Rebirth" |
131 |
prepgamesdirs |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
games_pkg_postinst |
136 |
if ! use cdinstall ; then |
137 |
echo |
138 |
elog "To play the full game enable USE=\"cdinstall\" or manually " |
139 |
elog "copy the files to ${GAMES_DATADIR}/d${DV}x." |
140 |
elog "See /usr/share/doc/${PF}/INSTALL.txt for details." |
141 |
echo |
142 |
fi |
143 |
elog 'AddOns now use filename extension ".dxa".' |
144 |
elog 'Your old AddOns will not work anymore.' |
145 |
elog 'You can either re-download them or simply' |
146 |
elog 'rename them from *.zip to *.dxa.' |
147 |
} |