1 |
mr_bones_ 15/02/06 17:25:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: warzone2100-3.1.2.ebuild |
5 |
Removed: warzone2100-3.1.1.ebuild |
6 |
Log: |
7 |
version bump; clean old |
8 |
|
9 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
10 |
|
11 |
Revision Changes Path |
12 |
1.88 games-strategy/warzone2100/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.88&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warzone2100/ChangeLog?rev=1.88&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warzone2100/ChangeLog?r1=1.87&r2=1.88 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v |
21 |
retrieving revision 1.87 |
22 |
retrieving revision 1.88 |
23 |
diff -u -r1.87 -r1.88 |
24 |
--- ChangeLog 29 Oct 2014 12:49:58 -0000 1.87 |
25 |
+++ ChangeLog 6 Feb 2015 17:25:45 -0000 1.88 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for games-strategy/warzone2100 |
28 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.87 2014/10/29 12:49:58 tupone Exp $ |
30 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.88 2015/02/06 17:25:45 mr_bones_ Exp $ |
32 |
+ |
33 |
+*warzone2100-3.1.2 (06 Feb 2015) |
34 |
+ |
35 |
+ 06 Feb 2015; Michael Sterrett <mr_bones_@g.o> |
36 |
+ +files/warzone2100-3.1.2-openGL.patch, +files/warzone2100-3.1.2-pkgconf.patch, |
37 |
+ +warzone2100-3.1.2.ebuild, -files/warzone2100-3.1.1-openGL.patch, |
38 |
+ -files/warzone2100-3.1.1-pkgconf.patch, -warzone2100-3.1.1.ebuild: |
39 |
+ version bump; clean old |
40 |
|
41 |
29 Oct 2014; Alfredo Tupone <tupone@g.o> warzone2100-3.1.1.ebuild, |
42 |
+files/warzone2100-3.1.1-openGL.patch: |
43 |
|
44 |
|
45 |
|
46 |
1.1 games-strategy/warzone2100/warzone2100-3.1.2.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warzone2100/warzone2100-3.1.2.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/warzone2100/warzone2100-3.1.2.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: warzone2100-3.1.2.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2015 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-3.1.2.ebuild,v 1.1 2015/02/06 17:25:45 mr_bones_ Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
inherit autotools toolchain-funcs eutils versionator gnome2-utils games |
59 |
|
60 |
MY_PV=$(get_version_component_range -2) |
61 |
VIDEOS_PV=2.2 |
62 |
VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz |
63 |
DESCRIPTION="3D real-time strategy game" |
64 |
HOMEPAGE="http://wz2100.net/" |
65 |
SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.xz |
66 |
videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )" |
67 |
|
68 |
LICENSE="GPL-2 CC-BY-SA-3.0 public-domain" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~ppc ~x86" |
71 |
# upstream requested debug support |
72 |
IUSE="debug nls qt4 videos" |
73 |
|
74 |
# TODO: unbundle miniupnpc and quesoglc |
75 |
RDEPEND=">=dev-games/physfs-2[zip] |
76 |
dev-libs/fribidi |
77 |
media-libs/fontconfig |
78 |
media-libs/freetype:2 |
79 |
media-libs/glew |
80 |
media-libs/libogg |
81 |
media-libs/libpng:0 |
82 |
media-libs/libtheora |
83 |
media-libs/libvorbis |
84 |
media-libs/openal |
85 |
sys-libs/zlib |
86 |
virtual/glu |
87 |
virtual/opengl |
88 |
x11-libs/libX11 |
89 |
x11-libs/libXrandr |
90 |
dev-qt/qtcore:4 |
91 |
dev-qt/qtscript:4 |
92 |
nls? ( virtual/libintl ) |
93 |
qt4? ( |
94 |
dev-qt/qtgui:4 |
95 |
dev-qt/qtopengl:4 |
96 |
) |
97 |
!qt4? ( media-libs/libsdl[opengl,video] )" |
98 |
DEPEND="${RDEPEND} |
99 |
app-arch/zip |
100 |
virtual/pkgconfig |
101 |
nls? ( sys-devel/gettext )" |
102 |
RDEPEND="${RDEPEND} |
103 |
media-fonts/dejavu" |
104 |
|
105 |
src_prepare() { |
106 |
sed -i \ |
107 |
-e 's/#top_builddir/top_builddir/' \ |
108 |
po/Makevars || die |
109 |
|
110 |
epatch "${FILESDIR}"/${P}-pkgconf.patch \ |
111 |
"${FILESDIR}"/${P}-openGL.patch |
112 |
|
113 |
eautoreconf |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
egamesconf \ |
118 |
--docdir=/usr/share/doc/${PF} \ |
119 |
--localedir=/usr/share/locale \ |
120 |
--with-distributor="Gentoo ${PF}" \ |
121 |
--with-icondir=/usr/share/icons/hicolor/128x128/apps \ |
122 |
--with-applicationdir=/usr/share/applications \ |
123 |
$(use_enable debug debug relaxed) \ |
124 |
$(use_enable nls) \ |
125 |
--with-backend=$(usex qt4 "qt" "sdl") |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
emake AR="$(tc-getAR)" |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
default |
134 |
rm -f "${D}"/usr/share/doc/${PF}/COPYING* |
135 |
if use videos ; then |
136 |
insinto "${GAMES_DATADIR}"/${PN} |
137 |
newins "${DISTDIR}"/${VIDEOS_P} sequences.wz |
138 |
fi |
139 |
doman doc/warzone2100.6 |
140 |
dodoc doc/quickstartguide.pdf |
141 |
|
142 |
elog "If you are using opensource drivers you should consider installing: " |
143 |
elog " media-libs/libtxc_dxtn" |
144 |
|
145 |
prepgamesdirs |
146 |
} |
147 |
|
148 |
pkg_preinst() { |
149 |
games_pkg_preinst |
150 |
gnome2_icon_savelist |
151 |
} |
152 |
|
153 |
pkg_postinst() { |
154 |
games_pkg_postinst |
155 |
gnome2_icon_cache_update |
156 |
} |
157 |
|
158 |
pkg_postrm() { |
159 |
gnome2_icon_cache_update |
160 |
} |