public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/
@ 2015-11-22 19:10 Andreas Hüttel
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Hüttel @ 2015-11-22 19:10 UTC (permalink / raw
  To: gentoo-commits

commit:     cf0b709dc273cdce9cd248501128462e6d00d0f4
Author:     Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 19:10:01 2015 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 19:10:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0b709d

games-arcade/xboing: Migrate away from games.eclass

Package-Manager: portage-2.2.25

 games-arcade/xboing/xboing-2.4-r3.ebuild | 66 ++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild
new file mode 100644
index 0000000..b210b8b
--- /dev/null
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils user
+
+DESCRIPTION="Blockout type game where you bounce a ball trying to destroy blocks"
+HOMEPAGE="http://www.techrescue.org/xboing/"
+SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
+	mirror://gentoo/xboing-${PV}-debian.patch.bz2"
+
+LICENSE="xboing"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXpm"
+DEPEND="${RDEPEND}
+	app-text/rman
+	x11-misc/gccmakedep
+	x11-misc/imake
+"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup(){
+	enewgroup gamestat 36
+}
+
+src_prepare() {
+	epatch "${WORKDIR}"/xboing-${PV}-debian.patch
+	epatch "${FILESDIR}"/xboing-${PV}-buffer.patch
+	epatch "${FILESDIR}"/xboing-${PV}-sleep.patch
+	sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c || die
+	eapply_user
+}
+
+src_configure() {
+	xmkmf -a || die
+	sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
+}
+
+src_compile() {
+	emake \
+		CXXOPTIONS="${CXXFLAGS}" \
+		CDEBUGFLAGS="${CFLAGS}" \
+		LOCAL_LDFLAGS="${LDFLAGS}" \
+		XBOING_DIR="/usr/share/${PN}"
+}
+
+src_install() {
+	make \
+		PREFIX="${D}" \
+		BINDIR="${D}/usr/bin" \
+		LOCAL_LDFLAGS="${LDFLAGS}" \
+		XBOING_DIR="/usr/share/${PN}" \
+		install || die
+	newman xboing.man xboing.6
+	dodoc README docs/*.doc
+
+	fowners root:gamestat /var/games/xboing.score /usr/bin/xboing
+	fperms 660 /var/games/xboing.score
+	fperms 2755 /usr/bin/xboing
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/
@ 2019-07-17 20:04 James Le Cuirot
  0 siblings, 0 replies; 5+ messages in thread
From: James Le Cuirot @ 2019-07-17 20:04 UTC (permalink / raw
  To: gentoo-commits

commit:     7a60a42a980050b74437cb1b027bef63f844b6bc
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  8 08:37:57 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 20:03:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a60a42a

games-arcade/xboing: Depend on acct-group/gamestat.

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 2d0088210af..50f62a16acc 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils user
+inherit eutils
 
 DESCRIPTION="Blockout type game where you bounce a ball trying to destroy blocks"
 HOMEPAGE="http://www.techrescue.org/xboing/"
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="x11-libs/libXpm"
+RDEPEND="acct-group/gamestat
+	x11-libs/libXpm"
 DEPEND="${RDEPEND}
 	app-text/rman
 	x11-misc/gccmakedep
@@ -24,10 +25,6 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PN}
 
-pkg_setup(){
-	enewgroup gamestat 36
-}
-
 src_prepare() {
 	epatch "${WORKDIR}"/xboing-${PV}-debian.patch
 	epatch "${FILESDIR}"/xboing-${PV}-buffer.patch


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/
@ 2019-12-23  9:17 Andreas K. Hüttel
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas K. Hüttel @ 2019-12-23  9:17 UTC (permalink / raw
  To: gentoo-commits

commit:     f09b58ce50de9f7f3c0c5e3c44beda45f967bff9
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 09:16:52 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 09:17:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09b58ce

games-arcade/xboing: Stable for amd64

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 50f62a16acc..9c36b5a49e6 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
 
 LICENSE="xboing"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 RDEPEND="acct-group/gamestat


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/
@ 2020-04-24 21:24 Andreas K. Hüttel
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas K. Hüttel @ 2020-04-24 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     b3ab289285d6e23cc70866be4ec32c330399f3c2
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 21:23:43 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 21:23:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3ab2892

games-arcade/xboing: Apply -fcommon workaround

This is prehistoric software without upstream activity or even a
bugtracker. Let's keep it working as long as possible...

Closes: https://bugs.gentoo.org/707214
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 9c36b5a49e6..d4782422134 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils
+inherit flag-o-matic eutils
 
 DESCRIPTION="Blockout type game where you bounce a ball trying to destroy blocks"
 HOMEPAGE="http://www.techrescue.org/xboing/"
@@ -36,6 +36,7 @@ src_prepare() {
 src_configure() {
 	xmkmf -a || die
 	sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
+	append-cflags -fcommon
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/
@ 2021-04-16  4:47 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-04-16  4:47 UTC (permalink / raw
  To: gentoo-commits

commit:     a9f83014e6e771b681153ca870fb0d306da51e11
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Thu Apr 15 16:36:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 04:46:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f83014

games-arcade/xboing: EAPI-7 bump, eutils drop, tidy, prefix support

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 62 ++++++++++++++++++--------------
 1 file changed, 35 insertions(+), 27 deletions(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 48583653f80..354b48020f5 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -1,62 +1,70 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Blockout type game where you bounce a ball trying to destroy blocks"
 HOMEPAGE="http://www.techrescue.org/xboing/"
 SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
-	mirror://gentoo/xboing-${PV}-debian.patch.bz2"
+	mirror://gentoo/${P}-debian.patch.bz2"
+S="${WORKDIR}/${PN}"
 
 LICENSE="xboing"
 SLOT="0"
 KEYWORDS="amd64 ~x86"
-IUSE=""
 
-RDEPEND="acct-group/gamestat
+RDEPEND="
+	acct-group/gamestat
 	x11-libs/libXpm"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	app-text/rman
 	x11-misc/gccmakedep
-	>=x11-misc/imake-1.0.8-r1
-"
+	>=x11-misc/imake-1.0.8-r1"
 
-S=${WORKDIR}/${PN}
+PATCHES=(
+	"${WORKDIR}"/${P}-debian.patch
+	"${FILESDIR}"/${P}-buffer.patch
+	"${FILESDIR}"/${P}-sleep.patch
+)
 
 src_prepare() {
-	epatch "${WORKDIR}"/xboing-${PV}-debian.patch
-	epatch "${FILESDIR}"/xboing-${PV}-buffer.patch
-	epatch "${FILESDIR}"/xboing-${PV}-sleep.patch
+	default
 	sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c || die
-	eapply_user
+	sed -i "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
 }
 
 src_configure() {
-	sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
-	append-cflags -fcommon
+	append-cflags -fcommon #707214
 
 	CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
 		IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
 }
 
 src_compile() {
-	emake \
-		CC="$(tc-getCC)" \
-		CDEBUGFLAGS="${CFLAGS}" \
-		LOCAL_LDFLAGS="${LDFLAGS}" \
-		XBOING_DIR="/usr/share/${PN}"
+	local myemakeargs=(
+		CC="$(tc-getCC)"
+		CDEBUGFLAGS="${CFLAGS}"
+		LOCAL_LDFLAGS="${LDFLAGS}"
+		HIGH_SCORE_DIR="${EPREFIX}/var/games"
+		XBOING_DIR="${EPREFIX}/usr/share/${PN}"
+	)
+	emake "${myemakeargs[@]}"
 }
 
 src_install() {
-	emake \
-		CC="$(tc-getCC)" \
-		PREFIX="${D}" \
-		BINDIR="${D}/usr/bin" \
-		LOCAL_LDFLAGS="${LDFLAGS}" \
-		XBOING_DIR="/usr/share/${PN}" \
-		install
+	local myemakeargs=(
+		CC="$(tc-getCC)"
+		LOCAL_LDFLAGS="${LDFLAGS}"
+		PREFIX="${D}"
+		BINDIR="${ED}/usr/bin"
+		HIGH_SCORE_DIR="${EPREFIX}/var/games"
+		XBOING_DIR="${EPREFIX}/usr/share/${PN}"
+	)
+	emake "${myemakeargs[@]}" install
+
 	newman xboing.man xboing.6
 	dodoc README docs/*.doc
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-16  4:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-17 20:04 [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2021-04-16  4:47 Sam James
2020-04-24 21:24 Andreas K. Hüttel
2019-12-23  9:17 Andreas K. Hüttel
2015-11-22 19:10 Andreas Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox