1 |
hasufell 14/03/27 21:20:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: odamex-0.7.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 games-engines/odamex/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/ChangeLog?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/ChangeLog?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/ChangeLog?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-engines/odamex/ChangeLog,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- ChangeLog 30 Sep 2013 17:16:29 -0000 1.14 |
24 |
+++ ChangeLog 27 Mar 2014 21:20:52 -0000 1.15 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for games-engines/odamex |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-engines/odamex/ChangeLog,v 1.14 2013/09/30 17:16:29 ago Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-engines/odamex/ChangeLog,v 1.15 2014/03/27 21:20:52 hasufell Exp $ |
31 |
+ |
32 |
+*odamex-0.7.0 (27 Mar 2014) |
33 |
+ |
34 |
+ 27 Mar 2014; Julian Ospald <hasufell@g.o> +odamex-0.7.0.ebuild, |
35 |
+ +files/2-odamex-0.7.0-cmake-options.patch, |
36 |
+ +files/1-odamex-0.7.0-install-rules.patch, |
37 |
+ +files/odamex-0.7.0-miniupnpc.patch, |
38 |
+ +files/4-odamex-0.7.0-odalauncher-bin-path.patch, |
39 |
+ +files/3-odamex-0.7.0-wad-search-path.patch: |
40 |
+ version bump |
41 |
|
42 |
30 Sep 2013; Agostino Sarubbo <ago@g.o> odamex-0.6.4.ebuild: |
43 |
Stable for x86, wrt bug #486232 |
44 |
|
45 |
|
46 |
|
47 |
1.1 games-engines/odamex/odamex-0.7.0.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/odamex-0.7.0.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/odamex/odamex-0.7.0.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: odamex-0.7.0.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-engines/odamex/odamex-0.7.0.ebuild,v 1.1 2014/03/27 21:20:52 hasufell Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
WX_GTK_VER="3.0" |
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/libpng:0 |
76 |
>=media-libs/libsdl-1.2.9[X,audio,joystick,video] |
77 |
>=media-libs/sdl-mixer-1.2.6 |
78 |
odalaunch? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) |
79 |
portmidi? ( media-libs/portmidi ) |
80 |
server? ( >=net-libs/miniupnpc-1.8 ) |
81 |
)" |
82 |
DEPEND="${RDEPEND}" |
83 |
|
84 |
S=${WORKDIR}/src-${PV:2:3} |
85 |
|
86 |
pkg_pretend() { |
87 |
if ! test-flag-CXX -std=c++11; then |
88 |
die "You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags" |
89 |
fi |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
epatch "${FILESDIR}"/1-${P}-install-rules.patch \ |
94 |
"${FILESDIR}"/2-${P}-cmake-options.patch \ |
95 |
"${FILESDIR}"/3-${P}-wad-search-path.patch \ |
96 |
"${FILESDIR}"/4-${P}-odalauncher-bin-path.patch \ |
97 |
"${FILESDIR}"/${P}-miniupnpc.patch |
98 |
|
99 |
rm -r libraries/libminiupnpc || die |
100 |
|
101 |
epatch_user |
102 |
} |
103 |
|
104 |
src_configure() { |
105 |
local mycmakeargs=( |
106 |
-DUSE_INTREE_PORTMIDI=OFF |
107 |
-DCMAKE_INSTALL_BINDIR="${GAMES_BINDIR}" |
108 |
-DCMAKE_INSTALL_DATADIR="${GAMES_DATADIR}" |
109 |
$(cmake-utils_use_build master MASTER) |
110 |
) |
111 |
|
112 |
if use dedicated ; then |
113 |
mycmakeargs+=( |
114 |
-DBUILD_CLIENT=OFF |
115 |
-DBUILD_ODALAUNCH=OFF |
116 |
-DBUILD_SERVER=ON |
117 |
-DENABLE_PORTMIDI=OFF |
118 |
) |
119 |
else |
120 |
mycmakeargs+=( |
121 |
-DBUILD_CLIENT=ON |
122 |
$(cmake-utils_use_build odalaunch ODALAUNCH) |
123 |
$(cmake-utils_use_build server SERVER) |
124 |
$(cmake-utils_use_enable portmidi PORTMIDI) |
125 |
) |
126 |
fi |
127 |
|
128 |
append-cxxflags -std=c++11 |
129 |
|
130 |
cmake-utils_src_configure |
131 |
} |
132 |
|
133 |
src_compile() { |
134 |
cmake-utils_src_compile |
135 |
} |
136 |
|
137 |
src_install() { |
138 |
cmake-utils_src_install |
139 |
|
140 |
if ! use dedicated ; then |
141 |
newicon -s 128 "${S}/media/icon_${PN}_128.png" "${PN}.png" |
142 |
make_desktop_entry ${PN} |
143 |
|
144 |
if use odalaunch ; then |
145 |
newicon -s 128 "${S}/media/icon_odalaunch_128.png" "odalaunch.png" |
146 |
make_desktop_entry odalaunch "Odamex Launcher" odalaunch |
147 |
fi |
148 |
fi |
149 |
|
150 |
prepgamesdirs |
151 |
} |
152 |
|
153 |
pkg_preinst() { |
154 |
games_pkg_preinst |
155 |
gnome2_icon_savelist |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
games_pkg_postinst |
160 |
einfo |
161 |
elog "This is just the engine, you will need doom resource files in order to play." |
162 |
elog "Check: http://odamex.net/wiki/FAQ#What_data_files_are_required.3F" |
163 |
einfo |
164 |
gnome2_icon_cache_update |
165 |
} |
166 |
|
167 |
pkg_postrm() { |
168 |
gnome2_icon_cache_update |
169 |
} |