1 |
hasufell 13/07/31 01:45:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: odamex-0.6.4.ebuild |
5 |
Removed: odamex-0.6.1.ebuild |
6 |
Log: |
7 |
version bump, remove old |
8 |
|
9 |
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.12 games-engines/odamex/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/ChangeLog?rev=1.12&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/ChangeLog?rev=1.12&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/ChangeLog?r1=1.11&r2=1.12 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-engines/odamex/ChangeLog,v |
21 |
retrieving revision 1.11 |
22 |
retrieving revision 1.12 |
23 |
diff -u -r1.11 -r1.12 |
24 |
--- ChangeLog 6 Jul 2013 16:25:05 -0000 1.11 |
25 |
+++ ChangeLog 31 Jul 2013 01:45:09 -0000 1.12 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for games-engines/odamex |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-engines/odamex/ChangeLog,v 1.11 2013/07/06 16:25:05 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-engines/odamex/ChangeLog,v 1.12 2013/07/31 01:45:09 hasufell Exp $ |
31 |
+ |
32 |
+*odamex-0.6.4 (31 Jul 2013) |
33 |
+ |
34 |
+ 31 Jul 2013; Julian Ospald <hasufell@g.o> -odamex-0.6.1.ebuild, |
35 |
+ -files/odamex-0.6.1-build.patch, +odamex-0.6.4.ebuild, |
36 |
+ +files/2-odamex-0.6.4-cmake-options.patch, |
37 |
+ +files/1-odamex-0.6.4-install-rules.patch, |
38 |
+ +files/4-odamex-0.6.4-odalauncher-bin-path.patch, |
39 |
+ +files/3-odamex-0.6.4-wad-search-path.patch: |
40 |
+ version bump, remove old |
41 |
|
42 |
06 Jul 2013; Agostino Sarubbo <ago@g.o> odamex-0.6.3.ebuild: |
43 |
Stable for x86, wrt bug #474376 |
44 |
|
45 |
|
46 |
|
47 |
1.1 games-engines/odamex/odamex-0.6.4.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/odamex-0.6.4.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/odamex-0.6.4.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: odamex-0.6.4.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/odamex/odamex-0.6.4.ebuild,v 1.1 2013/07/31 01:45:09 hasufell Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
WX_GTK_VER="2.8" |
60 |
inherit cmake-utils eutils gnome2-utils wxwidgets games |
61 |
|
62 |
MY_P=${PN}-src-${PV} |
63 |
DESCRIPTION="An online multiplayer, free software engine for Doom and Doom II" |
64 |
HOMEPAGE="http://odamex.net/" |
65 |
SRC_URI="mirror://sourceforge/${PN}/Odamex/${PV}/${MY_P}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="dedicated +odalaunch master portmidi server" |
71 |
|
72 |
RDEPEND=" |
73 |
dedicated? ( >=net-libs/miniupnpc-1.8 ) |
74 |
!dedicated? ( |
75 |
>=media-libs/libsdl-1.2.9[X,audio,joystick,video] |
76 |
>=media-libs/sdl-mixer-1.2.6 |
77 |
odalaunch? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) |
78 |
portmidi? ( media-libs/portmidi ) |
79 |
server? ( >=net-libs/miniupnpc-1.8 ) |
80 |
)" |
81 |
DEPEND="${RDEPEND}" |
82 |
|
83 |
S=${WORKDIR}/${MY_P} |
84 |
|
85 |
src_prepare() { |
86 |
epatch "${FILESDIR}"/1-${P}-install-rules.patch \ |
87 |
"${FILESDIR}"/2-${P}-cmake-options.patch \ |
88 |
"${FILESDIR}"/3-${P}-wad-search-path.patch \ |
89 |
"${FILESDIR}"/4-${P}-odalauncher-bin-path.patch |
90 |
|
91 |
epatch_user |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
local mycmakeargs=( |
96 |
-DCMAKE_INSTALL_BINDIR="${GAMES_BINDIR}" |
97 |
-DCMAKE_INSTALL_DATADIR="${GAMES_DATADIR}"/${PN} |
98 |
$(cmake-utils_use_build master MASTER) |
99 |
) |
100 |
|
101 |
if use dedicated ; then |
102 |
mycmakeargs+=( |
103 |
-DBUILD_CLIENT=OFF |
104 |
-DBUILD_ODALAUNCH=OFF |
105 |
-DBUILD_SERVER=ON |
106 |
-DENABLE_PORTMIDI=OFF |
107 |
) |
108 |
else |
109 |
mycmakeargs+=( |
110 |
-DBUILD_CLIENT=ON |
111 |
$(cmake-utils_use_build odalaunch ODALAUNCH) |
112 |
$(cmake-utils_use_build server SERVER) |
113 |
$(cmake-utils_use_enable portmidi PORTMIDI) |
114 |
) |
115 |
fi |
116 |
|
117 |
cmake-utils_src_configure |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
cmake-utils_src_compile |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
cmake-utils_src_install |
126 |
|
127 |
if ! use dedicated ; then |
128 |
newicon -s 128 "${S}/media/icon_${PN}_128.png" "${PN}.png" |
129 |
make_desktop_entry ${PN} |
130 |
|
131 |
if use odalaunch ; then |
132 |
newicon -s 128 "${S}/media/icon_odalaunch_128.png" "odalaunch.png" |
133 |
make_desktop_entry odalaunch "Odamex Launcher" odalaunch |
134 |
fi |
135 |
fi |
136 |
|
137 |
prepgamesdirs |
138 |
} |
139 |
|
140 |
pkg_preinst() { |
141 |
games_pkg_preinst |
142 |
gnome2_icon_savelist |
143 |
} |
144 |
|
145 |
pkg_postinst() { |
146 |
games_pkg_postinst |
147 |
einfo |
148 |
elog "This is just the engine, you will need doom resource files in order to play." |
149 |
elog "Check: http://odamex.net/wiki/FAQ#What_data_files_are_required.3F" |
150 |
einfo |
151 |
gnome2_icon_cache_update |
152 |
} |
153 |
|
154 |
pkg_postrm() { |
155 |
gnome2_icon_cache_update |
156 |
} |