Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-puzzle/drod-bin: ChangeLog drod-bin-1.6.7.ebuild
Date: Wed, 01 Feb 2012 20:19:44
Message-Id: 20120201201932.C364B2004B@flycatcher.gentoo.org
1 tupone 12/02/01 20:19:32
2
3 Modified: ChangeLog
4 Added: drod-bin-1.6.7.ebuild
5 Log:
6 Version bump to 1.6.7 Bug #158592
7
8 (Portage version: 2.1.10.44/cvs/Linux i686)
9
10 Revision Changes Path
11 1.15 games-puzzle/drod-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/drod-bin/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/drod-bin/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/drod-bin/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 31 Jan 2012 12:55:26 -0000 1.14
24 +++ ChangeLog 1 Feb 2012 20:19:32 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-puzzle/drod-bin
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/ChangeLog,v 1.14 2012/01/31 12:55:26 tupone Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/ChangeLog,v 1.15 2012/02/01 20:19:32 tupone Exp $
30 +
31 +*drod-bin-1.6.7 (01 Feb 2012)
32 +
33 + 01 Feb 2012; Tupone Alfredo <tupone@g.o> +drod-bin-1.6.7.ebuild:
34 + Version bump to 1.6.7 Bug #158592 by Coran
35
36 31 Jan 2012; Tupone Alfredo <tupone@g.o> drod-bin-1.6.6.ebuild:
37 Removing usage of some bundled libraries. Bug #251505 by
38
39
40
41 1.1 games-puzzle/drod-bin/drod-bin-1.6.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: drod-bin-1.6.7.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/drod-bin/drod-bin-1.6.7.ebuild,v 1.1 2012/02/01 20:19:32 tupone Exp $
51 EAPI=2
52
53 inherit eutils games
54
55 DESCRIPTION="Deadly Rooms Of Death: face room upon room of deadly things, armed with only a sword and your wits"
56 HOMEPAGE="http://www.drod.net/"
57 #SRC_URI="mirror://sourceforge/drod/CDROD-${PV}-setup.sh.bin"
58 SRC_URI="mirror://sourceforge/drod/Linux%20Setup/Caravel%20DROD%201.6.7%20Setup/DRODAESetup-1.6.7.run"
59
60 LICENSE="MPL-1.1"
61 SLOT="0"
62 KEYWORDS="-* ~amd64 ~x86"
63 IUSE=""
64 RESTRICT="strip"
65
66 DEPEND=""
67 RDEPEND="
68 x86? (
69 x11-libs/libX11
70 media-libs/freetype
71 media-libs/libsdl
72 media-libs/sdl-ttf
73 sys-libs/libstdc++-v3
74 )
75 amd64? (
76 app-emulation/emul-linux-x86-xlibs
77 app-emulation/emul-linux-x86-sdl
78 app-emulation/emul-linux-x86-compat
79 )"
80
81 S="${WORKDIR}"
82
83 src_unpack() {
84 unpack_makeself
85 }
86
87 src_configure() {
88 GDIR=${GAMES_PREFIX_OPT}/drod
89 sed "s:%DRODAE_HOME%:${GDIR}:g" bin/Linux/x86/glibc-2.1/drod-ae.in > drod
90 chmod a+x drod-ae
91 }
92
93 src_install() {
94 insinto "${GDIR}"
95 doins -r Data
96
97 exeinto "${GDIR}"
98 doexe bin/Linux/x86/glibc-2.1/drod-ae.bin
99 dogamesbin drod
100
101 exeinto "${GDIR}"/Libs
102 doexe Libs/{libexpat.so.0.5.0,libfmod-3.74.1.so}
103 dosym libexpat.so.0.5.0 "${GDIR}"/Libs/libexpat.so.0
104
105 dosym Data/Help "${GDIR}"/Help
106
107 newicon Data/Bitmaps/Icon.bmp ${PN}.bmp
108 make_desktop_entry drod "Deadly Rooms of Death" /usr/share/pixmaps/${PN}.bmp
109
110 prepgamesdirs
111 }
112
113 pkg_preinst() {
114 games_pkg_preinst
115 if [[ -d "${ROOT}${GDIR}/bin/Data" ]] ; then
116 mv "${ROOT}${GDIR}"/{bin/Data,Data.backup}
117 echo
118 ewarn "Your saved games have been backed up to ${GDIR}/Data.backup."
119 ewarn "You can restore your game by copying the files to"
120 ewarn "~/.caravel/drod-1_6/ like this:"
121 ewarn " mkdir -p ~/.caravel/drod-1_6/"
122 ewarn " cp ${GDIR}/Data.backup/* ~/.caravel/drod-1_6/"
123 echo
124 fi
125 }