public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/burgerspace/files/, games-arcade/burgerspace/
Date: Sat,  1 May 2021 12:09:26 +0000 (UTC)	[thread overview]
Message-ID: <1619870950.28b5d5499b90d698afe84bc7129a47939fe0d12f.soap@gentoo> (raw)

commit:     28b5d5499b90d698afe84bc7129a47939fe0d12f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May  1 12:09:10 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May  1 12:09:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b5d549

games-arcade/burgerspace: Bump to 1.9.3

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-arcade/burgerspace/Manifest                  |  1 +
 games-arcade/burgerspace/burgerspace-1.9.3.ebuild  | 31 +++++++++++
 .../files/burgerspace-1.9.3-autotools.patch        | 62 ++++++++++++++++++++++
 3 files changed, 94 insertions(+)

diff --git a/games-arcade/burgerspace/Manifest b/games-arcade/burgerspace/Manifest
index d6a4983327d..331b56aebaa 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 00000000000..8e1c711405c
--- /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 00000000000..cd7db7a1d73
--- /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 \


             reply	other threads:[~2021-05-01 12:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-01 12:09 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-01 12:09 [gentoo-commits] repo/gentoo:master commit in: games-arcade/burgerspace/files/, games-arcade/burgerspace/ David Seifert
2021-04-30 14:54 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619870950.28b5d5499b90d698afe84bc7129a47939fe0d12f.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox