1 |
commit: a441511bc3a71801fcd64a7ed44b582e87fe4f5f |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 3 20:07:04 2018 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 3 20:07:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a441511b |
7 |
|
8 |
games-action/bzflag: Version bump to 2.4.14 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
games-action/bzflag/Manifest | 1 + |
13 |
games-action/bzflag/bzflag-2.4.14.ebuild | 62 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest |
17 |
index f0831f9e1bc..249bdc19986 100644 |
18 |
--- a/games-action/bzflag/Manifest |
19 |
+++ b/games-action/bzflag/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bzflag-2.4.12.tar.bz2 14042357 BLAKE2B eb18072f459549b18bf99fbe0b635aea24568ad39494082f443e8eb7a604db0341aa18f1d458a950b5344f34278599215b351bcad35bd88f33f01449b89489b8 SHA512 9b5fa6b7ab7eb13043242defcc86cbed083e98306b2f611932b48d6d833a37bbe2ab05a0a3d1a2c9b861bfbd834fc6e86783ba82d8a841527d0eedb06f3bde9f |
22 |
+DIST bzflag-2.4.14.tar.bz2 14066129 BLAKE2B 7ec44bc9b7ccb644b98dac0b99770471b488b9e34b12a34e4fa76cdc22a4e7b14324915b83db76a69bb4b8ebd928018e69145aa6b87e48a379d37c23ce84c575 SHA512 c092a869813bd300e5eff5bf17ea46708b566a9e4f56cb6c4ccd92346ab1e87c8837efb8295d3b4485cd8d4de5b0d92b079c70390d06a481cfee693d393aca21 |
23 |
|
24 |
diff --git a/games-action/bzflag/bzflag-2.4.14.ebuild b/games-action/bzflag/bzflag-2.4.14.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..cf647d42a26 |
27 |
--- /dev/null |
28 |
+++ b/games-action/bzflag/bzflag-2.4.14.ebuild |
29 |
@@ -0,0 +1,62 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit eutils flag-o-matic autotools |
35 |
+ |
36 |
+DESCRIPTION="3D tank combat simulator game" |
37 |
+HOMEPAGE="https://www.bzflag.org/" |
38 |
+SRC_URI="https://download.bzflag.org/bzflag/source/${PV}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="LGPL-2.1" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="dedicated upnp" |
44 |
+ |
45 |
+DEPEND=" |
46 |
+ net-dns/c-ares |
47 |
+ >=net-misc/curl-7.15.0 |
48 |
+ sys-libs/ncurses:0 |
49 |
+ sys-libs/zlib |
50 |
+ !dedicated? ( |
51 |
+ media-libs/libsdl2[joystick,sound,video] |
52 |
+ virtual/glu |
53 |
+ virtual/opengl ) |
54 |
+ upnp? ( net-libs/miniupnpc )" |
55 |
+RDEPEND=${DEPEND} |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}"/${PN}-2.4.12-configure.patch |
58 |
+ "${FILESDIR}"/${PN}-2.4.12-tinfo.patch |
59 |
+) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local myconf |
68 |
+ |
69 |
+ if use dedicated ; then |
70 |
+ ewarn |
71 |
+ ewarn "You are building a server-only copy of BZFlag" |
72 |
+ ewarn |
73 |
+ myconf="--disable-client --without-SDL" |
74 |
+ fi |
75 |
+ |
76 |
+ econf \ |
77 |
+ $(use_enable upnp UPnP) \ |
78 |
+ ${myconf} |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ DOCS="AUTHORS ChangeLog DEVINFO PORTING README README.Linux" \ |
83 |
+ default |
84 |
+ |
85 |
+ if ! use dedicated ; then |
86 |
+ newicon data/bzflag-48x48.png ${PN}.png |
87 |
+ make_desktop_entry ${PN} "BZFlag" |
88 |
+ fi |
89 |
+ |
90 |
+ prune_libtool_files --modules |
91 |
+} |