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-action/bomberclone/
Date: Fri, 10 May 2019 22:46:57
Message-Id: 1557528330.6b4970b4e7f81e795cce8a3c212bfd192b609b12.chewi@gentoo
1 commit: 6b4970b4e7f81e795cce8a3c212bfd192b609b12
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 10 22:44:31 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Fri May 10 22:45:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4970b4
7
8 games-action/bomberclone: Version bump to 0.11.9, EAPI 7
9
10 Closes: https://bugs.gentoo.org/606890
11 Package-Manager: Portage-2.3.66, Repoman-2.3.12
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 games-action/bomberclone/Manifest | 1 +
15 games-action/bomberclone/bomberclone-0.11.9.ebuild | 54 ++++++++++++++++++++++
16 2 files changed, 55 insertions(+)
17
18 diff --git a/games-action/bomberclone/Manifest b/games-action/bomberclone/Manifest
19 index 0136e5833c5..e795582d44e 100644
20 --- a/games-action/bomberclone/Manifest
21 +++ b/games-action/bomberclone/Manifest
22 @@ -1 +1,2 @@
23 DIST bomberclone-0.11.8.tar.bz2 7966452 BLAKE2B ab090be622e891ae803529360d8bd753ac64b9d66b045d06946735a06e9203bf07a32dddd165f038ea484d584383ed760a5bf9e5d206638438ecb10583734225 SHA512 a5e52db43f7f508993231ec13bb2705f60e25cfc21d15c17d9b422c6fc948dc14cc8c4519acfac2e9b7b32a3072dc3a521fbf28b2150a86cfb4099ced72ab79b
24 +DIST bomberclone-0.11.9.tar.gz 8109837 BLAKE2B b5ec7cc80b2fe4f7517302029e5e943dd673ce910148f5985a9063f19e67c5fbdb21634f8fead60728b900383f24b67b1fc2b27d1a36c07ab1cfae8f228a4fb7 SHA512 80b3db728d7c54bc421a783c7e3753289e1ecb8500e9c8457d92ce226ebe60f47c2b04fd684c1aae57b1c5968ea3d1fce53c9c269a1fc9e685589fdd0513a439
25
26 diff --git a/games-action/bomberclone/bomberclone-0.11.9.ebuild b/games-action/bomberclone/bomberclone-0.11.9.ebuild
27 new file mode 100644
28 index 00000000000..9958da287a6
29 --- /dev/null
30 +++ b/games-action/bomberclone/bomberclone-0.11.9.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools desktop xdg-utils
38 +
39 +DESCRIPTION="Bomberman clone with network game support"
40 +HOMEPAGE="https://www.bomberclone.de/"
41 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~mips ~ppc64 ~x86"
45 +
46 +DEPEND=">=media-libs/libsdl-1.1.0[video]
47 + media-libs/sdl-image[png]
48 + media-libs/sdl-mixer[mod]"
49 +
50 +RDEPEND="${DEPEND}"
51 +
52 +PATCHES=(
53 + "${FILESDIR}"/${PN}-0.11.8-gcc52.patch
54 +)
55 +
56 +src_prepare() {
57 + default
58 +
59 + mv -v configure.{in,ac} || die
60 + sed -i 's/configure\.in/configure.ac/g' configure.ac || die
61 + eautoreconf
62 +}
63 +
64 +src_configure() {
65 + LIBS="-lm" \
66 + econf \
67 + --disable-werror \
68 + --without-x
69 +}
70 +
71 +src_install() {
72 + emake \
73 + DESTDIR="${D}" \
74 + bomberclonedocdir=\${prefix}/share/doc/${PF} \
75 + install
76 +
77 + doicon -s 64 data/pixmaps/${PN}.png
78 + make_desktop_entry ${PN} Bomberclone
79 +
80 + # Delete useless documentation.
81 + rm -v "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL,*.nsi} || die
82 +}
83 +
84 +pkg_postinst() { xdg_icon_cache_update; }
85 +pkg_postrm() { xdg_icon_cache_update; }