Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/cosmosmash/
Date: Thu, 06 May 2021 07:22:28
Message-Id: 1620285727.7d823aeae7309b2e18e57c74cd12d630a681e7ee.slyfox@gentoo
1 commit: 7d823aeae7309b2e18e57c74cd12d630a681e7ee
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 6 07:03:40 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu May 6 07:22:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d823aea
7
8 games-arcade/cosmosmash: bump up to 1.4.8
9
10 Reported-by: Toralf Förster
11 Closes: https://bugs.gentoo.org/787617
12 Package-Manager: Portage-3.0.18, Repoman-3.0.3
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 games-arcade/cosmosmash/Manifest | 1 +
16 games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild | 37 +++++++++++++++++++++++++
17 2 files changed, 38 insertions(+)
18
19 diff --git a/games-arcade/cosmosmash/Manifest b/games-arcade/cosmosmash/Manifest
20 index e5f1ca58169..9f94f69f939 100644
21 --- a/games-arcade/cosmosmash/Manifest
22 +++ b/games-arcade/cosmosmash/Manifest
23 @@ -1 +1,2 @@
24 DIST cosmosmash-1.4.7.tar.gz 906213 BLAKE2B 58117881e8f705d85c40cf5d0c56a734b80ebf7a84909c98a085aa5d880247c72af8a84d54fe11a4f02c8af226005c561802d93e7a747ff4a836feefde1cafde SHA512 1eaf8b05550c6f96e6392f6ba4565700cd4a9cac66dd57d634569caf9b4dfaf4917b3b9973153d4e6e0ddcd65c68d5242faae7c4f516c07c2e07d1b2f3b838b9
25 +DIST cosmosmash-1.4.8.tar.gz 921859 BLAKE2B 601ccf0eaf429bee240a6a07534afc44cb5bac390bedfc2548668048b8a5d93229e36de1c0e73856e3588d35cf7cfc6dbb00ac428fcc42612676281dcfaf0896 SHA512 4b78cac18035ef4bdbdebd2a206ceb3c80646fa030f568e171208af7510a6b1da9ef3fd817f3ebae83fbb42b1ce2900e8f1ff33ec23a8fe735022409ab1120af
26
27 diff --git a/games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild b/games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild
28 new file mode 100644
29 index 00000000000..7ca6cd6f8ad
30 --- /dev/null
31 +++ b/games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild
32 @@ -0,0 +1,37 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit autotools
38 +
39 +DESCRIPTION="A space rock shooting video game"
40 +HOMEPAGE="https://perso.b2b2c.ca/~sarrazip/dev/cosmosmash.html"
41 +SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE=""
47 +RESTRICT="test" # uses the sound card which portage user might not be available.
48 +
49 +RDEPEND=">=dev-games/flatzebra-0.1.7"
50 +DEPEND="${RDEPEND}
51 + virtual/pkgconfig
52 +"
53 +
54 +src_prepare() {
55 + default
56 + sed -i \
57 + -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
58 + -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
59 + -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
60 + src/Makefile.am \
61 + || die
62 + eautoreconf
63 +}
64 +
65 +src_install() {
66 + emake -C src DESTDIR="${D}" install
67 + einstalldocs
68 + doman doc/${PN}.6
69 +}