1 |
hasufell 14/02/06 20:34:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openclonk-5.3.3-r1.ebuild |
5 |
Log: |
6 |
revbump, fix crash bug wrt #500544 |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 games-action/openclonk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/ChangeLog?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/ChangeLog?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/ChangeLog?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-action/openclonk/ChangeLog,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- ChangeLog 5 Sep 2013 19:44:52 -0000 1.12 |
24 |
+++ ChangeLog 6 Feb 2014 20:34:40 -0000 1.13 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-action/openclonk |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/ChangeLog,v 1.12 2013/09/05 19:44:52 mgorny Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/ChangeLog,v 1.13 2014/02/06 20:34:40 hasufell Exp $ |
31 |
+ |
32 |
+*openclonk-5.3.3-r1 (06 Feb 2014) |
33 |
+ |
34 |
+ 06 Feb 2014; Julian Ospald <hasufell@g.o> +openclonk-5.3.3-r1.ebuild, |
35 |
+ +files/openclonk-5.3.3-xrandr-primary-output.patch: |
36 |
+ revbump, fix crash bug wrt #500544 |
37 |
|
38 |
05 Sep 2013; Michał Górny <mgorny@g.o> openclonk-5.3.3.ebuild: |
39 |
Clean up PYTHON_COMPAT from old implementations. |
40 |
|
41 |
|
42 |
|
43 |
1.1 games-action/openclonk/openclonk-5.3.3-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/openclonk-5.3.3-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/openclonk-5.3.3-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: openclonk-5.3.3-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/openclonk-5.3.3-r1.ebuild,v 1.1 2014/02/06 20:34:40 hasufell Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=( python2_6 python2_7 ) |
57 |
inherit autotools eutils flag-o-matic gnome2-utils python-any-r1 toolchain-funcs games |
58 |
|
59 |
MY_P=${PN}-release-${PV}-src |
60 |
|
61 |
DESCRIPTION="A free multiplayer action game where you control clonks" |
62 |
HOMEPAGE="http://openclonk.org/" |
63 |
SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz |
64 |
http://${PN}.org/homepage/icon.png -> ${PN}.png" |
65 |
|
66 |
LICENSE="BSD ISC CLONK-trademark LGPL-2.1 POSTGRESQL" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="dedicated doc mp3 sound upnp" |
70 |
|
71 |
RDEPEND=" |
72 |
media-libs/libpng:0 |
73 |
sys-libs/zlib |
74 |
virtual/jpeg |
75 |
!dedicated? ( |
76 |
media-libs/freetype:2 |
77 |
media-libs/glew |
78 |
media-libs/libsdl[X,opengl,video] |
79 |
virtual/opengl |
80 |
virtual/glu |
81 |
x11-libs/cairo |
82 |
x11-libs/gdk-pixbuf |
83 |
x11-libs/gtk+:3 |
84 |
x11-libs/libXrandr |
85 |
x11-libs/libX11 |
86 |
sound? ( |
87 |
media-libs/libsdl[audio] |
88 |
media-libs/sdl-mixer[mp3?,vorbis,wav] |
89 |
) |
90 |
) |
91 |
dedicated? ( sys-libs/readline:0 ) |
92 |
upnp? ( net-libs/libupnp )" |
93 |
DEPEND="${RDEPEND} |
94 |
>=dev-libs/boost-1.40 |
95 |
virtual/pkgconfig |
96 |
doc? ( |
97 |
${PYTHON_DEPS} |
98 |
dev-libs/libxml2[python] |
99 |
sys-devel/gettext |
100 |
)" |
101 |
|
102 |
pkg_setup() { |
103 |
games_pkg_setup |
104 |
use doc && python-any-r1_pkg_setup |
105 |
} |
106 |
|
107 |
src_prepare() { |
108 |
# remove license files |
109 |
sed \ |
110 |
-e '/dist_doc_DATA/s#planet/COPYING ##' \ |
111 |
-e '/dist_doc_DATA/s#licenses/LGPL.txt ##' \ |
112 |
-i Makefile.am || die |
113 |
|
114 |
epatch "${FILESDIR}"/${P}-xrandr-primary-output.patch |
115 |
|
116 |
eautoreconf |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
egamesconf \ |
121 |
--docdir=/usr/share/doc/${PF} \ |
122 |
$(use_enable dedicated console) \ |
123 |
$(use_enable sound) \ |
124 |
$(use_enable mp3) \ |
125 |
$(usex dedicated "--with-gtk=no" "--with-gtk=3.0") \ |
126 |
$(use_with upnp) \ |
127 |
--without-openal \ |
128 |
--disable-autoupdate |
129 |
} |
130 |
|
131 |
src_compile() { |
132 |
emake AR=$(tc-getAR) |
133 |
|
134 |
if use doc ; then |
135 |
emake -C docs |
136 |
fi |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
emake DESTDIR="${D}" install |
141 |
|
142 |
if ! use dedicated; then |
143 |
newgamesbin "${FILESDIR}"/${PN}-wrapper-script.sh ${PN} |
144 |
doicon -s 64 "${DISTDIR}"/${PN}.png |
145 |
make_desktop_entry ${PN} |
146 |
fi |
147 |
use doc && dohtml -r docs/online/* |
148 |
|
149 |
prepgamesdirs |
150 |
} |
151 |
|
152 |
pkg_preinst() { |
153 |
games_pkg_preinst |
154 |
gnome2_icon_savelist |
155 |
} |
156 |
|
157 |
pkg_postinst() { |
158 |
games_pkg_postinst |
159 |
gnome2_icon_cache_update |
160 |
} |
161 |
|
162 |
pkg_postrm() { |
163 |
gnome2_icon_cache_update |
164 |
} |