1 |
commit: 88ca7d2fdc3d17e24dae35aec90c5c0ea133b4c8 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 00:20:54 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 00:22:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ca7d2f |
7 |
|
8 |
games-strategy/warmux: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
games-strategy/warmux/warmux-11.04.1-r1.ebuild | 64 ++++++++++++++++++++++++++ |
17 |
1 file changed, 64 insertions(+) |
18 |
|
19 |
diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild b/games-strategy/warmux/warmux-11.04.1-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 0000000..6f265a9 |
22 |
--- /dev/null |
23 |
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild |
24 |
@@ -0,0 +1,64 @@ |
25 |
+# Copyright 1999-2016 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=6 |
30 |
+inherit autotools eutils |
31 |
+ |
32 |
+DESCRIPTION="A free Worms clone" |
33 |
+HOMEPAGE="http://gna.org/projects/warmux/" |
34 |
+SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2" |
35 |
+ |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" |
39 |
+IUSE="debug nls unicode" |
40 |
+ |
41 |
+RDEPEND="media-libs/libsdl[joystick,video,X] |
42 |
+ media-libs/sdl-image[jpeg,png] |
43 |
+ media-libs/sdl-mixer[vorbis] |
44 |
+ media-libs/sdl-ttf |
45 |
+ media-libs/sdl-net |
46 |
+ >=media-libs/sdl-gfx-2.0.22 |
47 |
+ net-misc/curl |
48 |
+ media-fonts/dejavu |
49 |
+ dev-libs/libxml2 |
50 |
+ x11-libs/libX11 |
51 |
+ nls? ( virtual/libintl ) |
52 |
+ unicode? ( dev-libs/fribidi )" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ virtual/pkgconfig |
55 |
+ nls? ( sys-devel/gettext )" |
56 |
+ |
57 |
+S=${WORKDIR}/${PN}-11.04 |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${P}-gentoo.patch |
61 |
+ "${FILESDIR}"/${P}-zlib.patch |
62 |
+ "${FILESDIR}"/${P}-action.patch |
63 |
+ "${FILESDIR}"/${P}-gcc47.patch |
64 |
+ "${FILESDIR}"/${P}-stat.patch |
65 |
+) |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ eautoreconf |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ econf \ |
75 |
+ --with-localedir-name=/usr/share/locale \ |
76 |
+ --with-datadir-name=/usr/share/${PN} \ |
77 |
+ --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \ |
78 |
+ $(use_enable debug) \ |
79 |
+ $(use_enable nls) \ |
80 |
+ $(use_enable unicode fribidi) |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ default |
85 |
+ rm -f "${D}/usr/share/${PN}/font/DejaVuSans.ttf" |
86 |
+ doicon data/icon/warmux.svg |
87 |
+ make_desktop_entry warmux Warmux |
88 |
+} |