diff options
author | David Seifert <soap@gentoo.org> | 2021-05-01 14:09:10 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-01 14:09:10 +0200 |
commit | 28b5d5499b90d698afe84bc7129a47939fe0d12f (patch) | |
tree | 777f1e978bb51c1abc82fb6d4b0ff5fbedffce77 /games-arcade/burgerspace | |
parent | net-misc/dropbox: bump to 121 (diff) | |
download | gentoo-28b5d5499b90d698afe84bc7129a47939fe0d12f.tar.gz gentoo-28b5d5499b90d698afe84bc7129a47939fe0d12f.tar.bz2 gentoo-28b5d5499b90d698afe84bc7129a47939fe0d12f.zip |
games-arcade/burgerspace: Bump to 1.9.3
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-arcade/burgerspace')
-rw-r--r-- | games-arcade/burgerspace/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/burgerspace/burgerspace-1.9.3.ebuild | 31 | ||||
-rw-r--r-- | games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch | 62 |
3 files changed, 94 insertions, 0 deletions
diff --git a/games-arcade/burgerspace/Manifest b/games-arcade/burgerspace/Manifest index d6a4983327db..331b56aebaae 100644 --- a/games-arcade/burgerspace/Manifest +++ b/games-arcade/burgerspace/Manifest @@ -1 +1,2 @@ DIST burgerspace-1.9.2.tar.gz 505314 BLAKE2B 8a6de753e41de791fdc3a2ceb106f193da3de6c04c80c19b9f84cb03f569982ae8f3fe2e5541c1c389e16085d51867733d4911f04266497420eafd170d085095 SHA512 b2af53d6fcf1d52164870147aa8a5b08941ecb62f3d9bbce5c2872885923057481c21bc34f1e19b8aeb8a76acadd9a11c11fa7b6304438610e8a23e043b7deee +DIST burgerspace-1.9.3.tar.gz 517492 BLAKE2B 6d3cf554580a1a370720f349ae71edab7228c18426d4ae39a8f5bb9177071204715e527beea52aa6b11b9112db5a168951d92b0de60189cfdb1882c85c79d1f2 SHA512 59629ca497a0a379858ba69bb444182f935b58be6554109fb9b309713bd6bde0d771e63858802f9153a4e46bbfe63b5edf58f857bb94ca337dbba89ff3c610cb diff --git a/games-arcade/burgerspace/burgerspace-1.9.3.ebuild b/games-arcade/burgerspace/burgerspace-1.9.3.ebuild new file mode 100644 index 000000000000..8e1c711405ca --- /dev/null +++ b/games-arcade/burgerspace/burgerspace-1.9.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg + +DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East" +HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html" +SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="network" +RESTRICT="test" # doesn't really test anything + +RDEPEND=">=dev-games/flatzebra-0.1.7" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-1.9.3-autotools.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with network) +} diff --git a/games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch b/games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch new file mode 100644 index 000000000000..cd7db7a1d73a --- /dev/null +++ b/games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch @@ -0,0 +1,62 @@ +* Install "doc/burgerspace-server.6" only when installing the server +* Use "$datarootdir" for FDO specified paths + This is recommended by Debian, as $datadir could be specified to lie + on a different file system, whereas icons/desktop/pixmaps are specified + by freedesktop.org and are based on $datarootdir + -> https://blogs.gnome.org/hughsie/2014/06/16/datarootdir-v-s-datadir/ +* Do not install LICENSE + The fact that the source is licensed under the GPL doesn't require installing + the COPYING file along. +* Nested sound files in "$pkgdatadir", i.e., $(datadir)/$(PACKAGE) + +--- a/Makefile.am ++++ b/Makefile.am +@@ -2,12 +2,13 @@ + + SUBDIRS = src + +-man_MANS = doc/burgerspace.6 doc/burgerspace-server.6 ++man_MANS = doc/burgerspace.6 ++if BUILD_NETWORK ++man_MANS += doc/burgerspace-server.6 ++endif + +-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) + doc_DATA = \ + AUTHORS \ +- COPYING \ + NEWS \ + README \ + THANKS +@@ -17,6 +18,7 @@ + $(RPMBUILD) -ta $(distdir).tar.gz + + EXTRA_DIST = \ ++ COPYING \ + bootstrap \ + autogen.sh \ + $(PACKAGE).spec \ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -74,10 +74,10 @@ + PKGSOUNDDIR=$(srcdir)/sounds ./$(PACKAGE) + + +-desktopentrydir = $(datadir)/applications ++desktopentrydir = $(datarootdir)/applications + desktopentry_DATA = $(PACKAGE).desktop + +-pixmapdir = $(datadir)/pixmaps ++pixmapdir = $(datarootdir)/pixmaps + pixmap_DATA = images/$(PACKAGE).png + + +@@ -193,7 +193,7 @@ + images/digit8.xpm \ + images/digit9.xpm + +-pkgsounddir = $(datadir)/sounds/$(PACKAGE) ++pkgsounddir = $(pkgdatadir)/sounds + pkgsound_DATA = \ + sounds/ingredient-bounces.wav \ + sounds/ingredient-in-plate.wav \ |