forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-arcade/burgerspace: Bump to 1.9.3
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <[email protected]>
- Loading branch information
1 parent
3048ac1
commit 28b5d54
Showing
3 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
62 changes: 62 additions & 0 deletions
62
games-arcade/burgerspace/files/burgerspace-1.9.3-autotools.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 \ |