Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/burgerspace/files/, games-arcade/burgerspace/
Date: Sat, 01 May 2021 12:09:30
Message-Id: 1619870950.28b5d5499b90d698afe84bc7129a47939fe0d12f.soap@gentoo
1 commit: 28b5d5499b90d698afe84bc7129a47939fe0d12f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 1 12:09:10 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 1 12:09:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b5d549
7
8 games-arcade/burgerspace: Bump to 1.9.3
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 games-arcade/burgerspace/Manifest | 1 +
14 games-arcade/burgerspace/burgerspace-1.9.3.ebuild | 31 +++++++++++
15 .../files/burgerspace-1.9.3-autotools.patch | 62 ++++++++++++++++++++++
16 3 files changed, 94 insertions(+)
17
18 diff --git a/games-arcade/burgerspace/Manifest b/games-arcade/burgerspace/Manifest
19 index d6a4983327d..331b56aebaa 100644
20 --- a/games-arcade/burgerspace/Manifest
21 +++ b/games-arcade/burgerspace/Manifest
22 @@ -1 +1,2 @@
23 DIST burgerspace-1.9.2.tar.gz 505314 BLAKE2B 8a6de753e41de791fdc3a2ceb106f193da3de6c04c80c19b9f84cb03f569982ae8f3fe2e5541c1c389e16085d51867733d4911f04266497420eafd170d085095 SHA512 b2af53d6fcf1d52164870147aa8a5b08941ecb62f3d9bbce5c2872885923057481c21bc34f1e19b8aeb8a76acadd9a11c11fa7b6304438610e8a23e043b7deee
24 +DIST burgerspace-1.9.3.tar.gz 517492 BLAKE2B 6d3cf554580a1a370720f349ae71edab7228c18426d4ae39a8f5bb9177071204715e527beea52aa6b11b9112db5a168951d92b0de60189cfdb1882c85c79d1f2 SHA512 59629ca497a0a379858ba69bb444182f935b58be6554109fb9b309713bd6bde0d771e63858802f9153a4e46bbfe63b5edf58f857bb94ca337dbba89ff3c610cb
25
26 diff --git a/games-arcade/burgerspace/burgerspace-1.9.3.ebuild b/games-arcade/burgerspace/burgerspace-1.9.3.ebuild
27 new file mode 100644
28 index 00000000000..8e1c711405c
29 --- /dev/null
30 +++ b/games-arcade/burgerspace/burgerspace-1.9.3.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools xdg
38 +
39 +DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East"
40 +HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.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="network"
47 +RESTRICT="test" # doesn't really test anything
48 +
49 +RDEPEND=">=dev-games/flatzebra-0.1.7"
50 +DEPEND="${RDEPEND}"
51 +BDEPEND="virtual/pkgconfig"
52 +
53 +PATCHES=( "${FILESDIR}"/${PN}-1.9.3-autotools.patch )
54 +
55 +src_prepare() {
56 + default
57 + eautoreconf
58 +}
59 +
60 +src_configure() {
61 + econf $(use_with network)
62 +}
63
64 diff --git a/games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch b/games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch
65 new file mode 100644
66 index 00000000000..cd7db7a1d73
67 --- /dev/null
68 +++ b/games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch
69 @@ -0,0 +1,62 @@
70 +* Install "doc/burgerspace-server.6" only when installing the server
71 +* Use "$datarootdir" for FDO specified paths
72 + This is recommended by Debian, as $datadir could be specified to lie
73 + on a different file system, whereas icons/desktop/pixmaps are specified
74 + by freedesktop.org and are based on $datarootdir
75 + -> https://blogs.gnome.org/hughsie/2014/06/16/datarootdir-v-s-datadir/
76 +* Do not install LICENSE
77 + The fact that the source is licensed under the GPL doesn't require installing
78 + the COPYING file along.
79 +* Nested sound files in "$pkgdatadir", i.e., $(datadir)/$(PACKAGE)
80 +
81 +--- a/Makefile.am
82 ++++ b/Makefile.am
83 +@@ -2,12 +2,13 @@
84 +
85 + SUBDIRS = src
86 +
87 +-man_MANS = doc/burgerspace.6 doc/burgerspace-server.6
88 ++man_MANS = doc/burgerspace.6
89 ++if BUILD_NETWORK
90 ++man_MANS += doc/burgerspace-server.6
91 ++endif
92 +
93 +-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
94 + doc_DATA = \
95 + AUTHORS \
96 +- COPYING \
97 + NEWS \
98 + README \
99 + THANKS
100 +@@ -17,6 +18,7 @@
101 + $(RPMBUILD) -ta $(distdir).tar.gz
102 +
103 + EXTRA_DIST = \
104 ++ COPYING \
105 + bootstrap \
106 + autogen.sh \
107 + $(PACKAGE).spec \
108 +--- a/src/Makefile.am
109 ++++ b/src/Makefile.am
110 +@@ -74,10 +74,10 @@
111 + PKGSOUNDDIR=$(srcdir)/sounds ./$(PACKAGE)
112 +
113 +
114 +-desktopentrydir = $(datadir)/applications
115 ++desktopentrydir = $(datarootdir)/applications
116 + desktopentry_DATA = $(PACKAGE).desktop
117 +
118 +-pixmapdir = $(datadir)/pixmaps
119 ++pixmapdir = $(datarootdir)/pixmaps
120 + pixmap_DATA = images/$(PACKAGE).png
121 +
122 +
123 +@@ -193,7 +193,7 @@
124 + images/digit8.xpm \
125 + images/digit9.xpm
126 +
127 +-pkgsounddir = $(datadir)/sounds/$(PACKAGE)
128 ++pkgsounddir = $(pkgdatadir)/sounds
129 + pkgsound_DATA = \
130 + sounds/ingredient-bounces.wav \
131 + sounds/ingredient-in-plate.wav \