Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/maxr/
Date: Mon, 26 Mar 2018 21:25:20
Message-Id: 1522099500.88b69511505b96a18155ff7652ab5f22f6380167.chewi@gentoo
1 commit: 88b69511505b96a18155ff7652ab5f22f6380167
2 Author: OursDesCavernes <totocoq <AT> yahoo <DOT> fr>
3 AuthorDate: Sun Mar 18 23:40:19 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 21:25:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b69511
7
8 games-strategy/maxr: Bump verion 0.2.9
9
10 Closes: https://bugs.gentoo.org/614498
11 Closes: https://bugs.gentoo.org/599386
12
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14 Closes: https://github.com/gentoo/gentoo/pull/7502
15
16 games-strategy/maxr/Manifest | 1 +
17 games-strategy/maxr/maxr-0.2.9.ebuild | 33 +++++++++++++++++++++++++++++++++
18 2 files changed, 34 insertions(+)
19
20 diff --git a/games-strategy/maxr/Manifest b/games-strategy/maxr/Manifest
21 index 4c8ff43408e..19b5872fa68 100644
22 --- a/games-strategy/maxr/Manifest
23 +++ b/games-strategy/maxr/Manifest
24 @@ -1 +1,2 @@
25 DIST maxr-0.2.8.tar.gz 14738324 BLAKE2B 1e0e224cf823e3f9632a28124e9a78c46d6d417894c2df8137a3876b0143c35fb5cf63d2668f947da3e65d3317863fa686c3c7b28a31f38d8bd39ae7739124fb SHA512 22fec9ca773ea68f2639f3cb034ed271a926f99b9b17547bbbdf12a3b47ee445ab311b0766b0656c71b88a258165590431e189e695ef1a86e0fb3b799d1eaa80
26 +DIST maxr-0.2.9.tar.gz 14847180 BLAKE2B eac99b06f84a2559a6ba601396a43b98014ccea2339bd5f7b8327d000d5a5ddf032c2a1fd1c0bec9e3be16e95e170acf93bc99438400d92eb637c2fa68ebcfed SHA512 8c92d85edf152b1730a8b9e1047d41687cfac816ea854e1ec0b5068a650d399cd3cfc4c47593a2eb83604fd649a05ba649763251104fd70d49bb1cb33d4f58fc
27
28 diff --git a/games-strategy/maxr/maxr-0.2.9.ebuild b/games-strategy/maxr/maxr-0.2.9.ebuild
29 new file mode 100644
30 index 00000000000..1835decca36
31 --- /dev/null
32 +++ b/games-strategy/maxr/maxr-0.2.9.ebuild
33 @@ -0,0 +1,33 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +inherit cmake-utils desktop
39 +
40 +DESCRIPTION="Mechanized Assault and Exploration Reloaded"
41 +HOMEPAGE="http://www.maxr.org/"
42 +SRC_URI="http://www.maxr.org/downloads/${P}.tar.gz"
43 +
44 +LICENSE="GPL-2 FDL-1.2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="dedicated"
48 +
49 +RDEPEND="media-libs/libsdl2[video]
50 + media-libs/sdl2-mixer[vorbis]
51 + media-libs/sdl2-net"
52 +DEPEND="${RDEPEND}"
53 +
54 +src_configure() {
55 + mycmakeargs=(
56 + -DMAXR_BUILD_DEDICATED_SERVER="$(usex dedicated)"
57 + "-DCMAKE_BUILD_TYPE=Release")
58 +
59 + cmake-utils_src_configure
60 +}
61 +
62 +src_install() {
63 + doicon data/maxr.png
64 + make_desktop_entry maxr "Mechanized Assault and Exploration Reloaded"
65 + cmake-utils_src_install
66 +}