public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/brainparty/
@ 2017-03-25 12:48 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-03-25 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     a3f18aaa61a2e2b0ce2e97bb4082d66fb794197c
Author:     Peter-Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 24 16:58:20 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 12:47:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f18aaa

games-puzzle/brainparty: Revbump for EAPI 6 support

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4220

 games-puzzle/brainparty/brainparty-0.61-r1.ebuild | 55 +++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
new file mode 100644
index 00000000000..97d4b35c28a
--- /dev/null
+++ b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="A puzzle-solving, brain-stretching game for all ages"
+HOMEPAGE="http://www.tuxradar.com/brainparty"
+SRC_URI="https://launchpad.net/brainparty/trunk/${PV}/+download/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	media-libs/libsdl[sound,opengl,video]
+	media-libs/sdl-gfx
+	media-libs/sdl-image[png]
+	media-libs/sdl-mixer[vorbis]
+	media-libs/sdl-ttf"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=(
+	"${FILESDIR}"/${P}-savegame.patch
+	"${FILESDIR}"/${P}-gcc49.patch
+	"${FILESDIR}"/${P}-gnu_cxx-hash.patch
+)
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e 's/$(LIBS) $(OSXCOMPAT) $(OBJFILES)/$(OSXCOMPAT) $(OBJFILES) $(LIBS)/' \
+		-e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \
+		-e '/^CXX =/d' \
+		-e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \
+		Makefile || die
+	sed -i \
+		"/^int main(/ a\\\\tchdir(\"/usr/share/${PN}\");\n" \
+		main.cpp || die
+}
+
+src_install() {
+	dobin brainparty
+
+	insinto /usr/share/${PN}/Content
+	doins -r Content/.
+
+	newicon Content/icon.bmp ${PN}.bmp
+	make_desktop_entry brainparty "Brain Party" /usr/share/pixmaps/${PN}.bmp
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/brainparty/
@ 2021-02-11  8:31 Sergei Trofimovich
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2021-02-11  8:31 UTC (permalink / raw
  To: gentoo-commits

commit:     ac3d36cd690da35cc3c0b5d9e41574653cd330af
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 08:31:07 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 08:31:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3d36cd

games-puzzle/brainparty: default to gentoo's CXX

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 games-puzzle/brainparty/brainparty-0.61-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
index 97d4b35c28a..fc43bec69a8 100644
--- a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
+++ b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils
+inherit eutils toolchain-funcs
 
 DESCRIPTION="A puzzle-solving, brain-stretching game for all ages"
 HOMEPAGE="http://www.tuxradar.com/brainparty"
@@ -42,6 +42,8 @@ src_prepare() {
 	sed -i \
 		"/^int main(/ a\\\\tchdir(\"/usr/share/${PN}\");\n" \
 		main.cpp || die
+
+	tc-export CXX
 }
 
 src_install() {


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

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/brainparty/
@ 2021-04-04  6:33 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-04  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     2f130cbc436802aec76e378e1b63488004fb2966
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 05:39:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 06:32:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f130cbc

games-puzzle/brainparty: eutils->desktop, missing glu+gl deps

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...{brainparty-0.61-r1.ebuild => brainparty-0.61-r2.ebuild} | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild b/games-puzzle/brainparty/brainparty-0.61-r2.ebuild
similarity index 91%
rename from games-puzzle/brainparty/brainparty-0.61-r1.ebuild
rename to games-puzzle/brainparty/brainparty-0.61-r2.ebuild
index 6f6b8eeb9c5..ea625a5d984 100644
--- a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
+++ b/games-puzzle/brainparty/brainparty-0.61-r2.ebuild
@@ -1,29 +1,30 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit desktop toolchain-funcs
 
 DESCRIPTION="A puzzle-solving, brain-stretching game for all ages"
 HOMEPAGE="http://www.tuxradar.com/brainparty"
 SRC_URI="https://launchpad.net/brainparty/trunk/${PV}/+download/${PN}${PV}.tar.gz"
+S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="
 	media-libs/libsdl[sound,opengl,video]
 	media-libs/sdl-gfx
 	media-libs/sdl-image[png]
 	media-libs/sdl-mixer[vorbis]
-	media-libs/sdl-ttf"
+	media-libs/sdl-ttf
+	virtual/opengl
+	virtual/glu
+"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
-
 PATCHES=(
 	"${FILESDIR}"/${P}-savegame.patch
 	"${FILESDIR}"/${P}-gcc49.patch


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

end of thread, other threads:[~2021-04-04  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04  6:33 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/brainparty/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-02-11  8:31 Sergei Trofimovich
2017-03-25 12:48 David Seifert

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