1 |
hasufell 12/06/01 20:21:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wargus-2.2.6-r2.ebuild |
5 |
Removed: wargus-2.2.6-r1.ebuild |
6 |
Log: |
7 |
revbump, fix underlinking, split wargus-data and fix sandbox violation wrt #418051 and #419143 |
8 |
|
9 |
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.20 games-strategy/wargus/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wargus/ChangeLog?rev=1.20&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wargus/ChangeLog?rev=1.20&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wargus/ChangeLog?r1=1.19&r2=1.20 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/wargus/ChangeLog,v |
21 |
retrieving revision 1.19 |
22 |
retrieving revision 1.20 |
23 |
diff -u -r1.19 -r1.20 |
24 |
--- ChangeLog 28 May 2012 13:18:06 -0000 1.19 |
25 |
+++ ChangeLog 1 Jun 2012 20:21:09 -0000 1.20 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for games-strategy/wargus |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/ChangeLog,v 1.19 2012/05/28 13:18:06 hasufell Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/ChangeLog,v 1.20 2012/06/01 20:21:09 hasufell Exp $ |
31 |
+ |
32 |
+*wargus-2.2.6-r2 (01 Jun 2012) |
33 |
+ |
34 |
+ 01 Jun 2012; Julian Ospald <hasufell@g.o> -wargus-2.2.6-r1.ebuild, |
35 |
+ +wargus-2.2.6-r2.ebuild, +files/wargus-2.2.6-underlinking.patch: |
36 |
+ revbump, fix underlinking, split wargus-data and fix sandbox violation wrt |
37 |
+ #418051 and #419143 |
38 |
|
39 |
*wargus-2.2.6-r1 (28 May 2012) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 games-strategy/wargus/wargus-2.2.6-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wargus/wargus-2.2.6-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/wargus/wargus-2.2.6-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: wargus-2.2.6-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus/wargus-2.2.6-r2.ebuild,v 1.1 2012/06/01 20:21:09 hasufell Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
inherit eutils cmake-utils gnome2-utils games |
57 |
|
58 |
DESCRIPTION="Warcraft II for the Stratagus game engine" |
59 |
HOMEPAGE="http://wargus.sourceforge.net/" |
60 |
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="" |
66 |
|
67 |
RDEPEND="=games-engines/stratagus-${PV}*[theora] |
68 |
media-libs/freetype |
69 |
media-libs/libpng:0 |
70 |
sys-libs/zlib |
71 |
x11-libs/gtk+:2" |
72 |
DEPEND="${RDEPEND} |
73 |
virtual/pkgconfig" |
74 |
PDEPEND="games-strategy/wargus-data" |
75 |
|
76 |
S=${WORKDIR}/${PN}_${PV}.orig |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}/${PN}-2.2.5.5-libpng.patch" \ |
80 |
"${FILESDIR}/${P}-build.patch" \ |
81 |
"${FILESDIR}/${P}-underlinking.patch" |
82 |
|
83 |
sed \ |
84 |
-e "/^Exec/s#/usr/games/wargus#${GAMES_BINDIR}/wargus#" \ |
85 |
-i wargus.desktop || die "fixing desktop file failed" |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
local mycmakeargs=( |
90 |
-DBINDIR="${GAMES_BINDIR}" |
91 |
-DSTRATAGUS="${GAMES_BINDIR}"/stratagus |
92 |
-DICONDIR=/usr/share/icons/hicolor/64x64/apps |
93 |
) |
94 |
|
95 |
cmake-utils_src_configure |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
cmake-utils_src_compile |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
cmake-utils_src_install |
104 |
prepgamesdirs |
105 |
} |
106 |
|
107 |
pkg_preinst() { |
108 |
games_pkg_preinst |
109 |
gnome2_icon_savelist |
110 |
} |
111 |
|
112 |
pkg_postinst() { |
113 |
elog "Enabling OpenGL in-game seems to cause segfaults/crashes." |
114 |
games_pkg_postinst |
115 |
gnome2_icon_cache_update |
116 |
} |
117 |
|
118 |
pkg_postrm() { |
119 |
gnome2_icon_cache_update |
120 |
} |