public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2020-03-27  9:12 James Le Cuirot
  0 siblings, 0 replies; 9+ messages in thread
From: James Le Cuirot @ 2020-03-27  9:12 UTC (permalink / raw
  To: gentoo-commits

commit:     891296590fc6cb8777f3a76a0f8026c8e173a20c
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 24 21:56:32 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Mar 27 09:12:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89129659

games-arcade/jazz2: New package

I still need to package OpenTK but even building this from source
feels like an achievement.

Package-Manager: Portage-2.3.96, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/jazz2/Manifest                     |  1 +
 games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild | 85 +++++++++++++++++++++++++
 games-arcade/jazz2/metadata.xml                 | 15 +++++
 3 files changed, 101 insertions(+)

diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest
new file mode 100644
index 00000000000..1cb4529ce7c
--- /dev/null
+++ b/games-arcade/jazz2/Manifest
@@ -0,0 +1 @@
+DIST jazz2-0.6.3_p20200327.tar.gz 11030066 BLAKE2B 64340e6aeca9635c2d30f7814c87eb6d48d1e8674554342a1563371e305dc0f9d85929d51c0e26d6a0e30899e0d4b916ad9daa4fde51b4e98e07693f0e5c08cf SHA512 ebb406a2e57f6bf50b23a068f3b640e03c5ccce0e36de686debaacec25d67075cacb60888a7de451028cf4622932e4d282d47d674e5de9230bd4a21c83393896

diff --git a/games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild b/games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild
new file mode 100644
index 00000000000..8d3263f7c62
--- /dev/null
+++ b/games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop dotnet eutils
+
+COMMIT="5174d3bc2e94676c4ab730aad6c68bf17b5406dd"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2"
+HOMEPAGE="http://deat.tk/jazz2/"
+#SRC_URI="https://github.com/deathkiller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/deathkiller/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="gles2-only server"
+
+RDEPEND="
+	dev-lang/mono
+	media-libs/libopenmpt
+	media-libs/libsdl2[video]
+	media-libs/openal
+	gles2-only? ( media-libs/mesa[gles2] )
+	!gles2-only? ( virtual/opengl )
+"
+
+FRAMEWORK="4.5.2"
+DIR="/usr/share/${PN}"
+
+src_prepare() {
+	default
+
+	# Android/WASM only.
+	rm -r Content/Shaders.ES30/ || die
+
+	if use gles2-only; then
+		rm -r Content/Shaders/ || die
+		mv Content/_ES20/* Content/ || die
+	else
+		rm -r Content/_ES20/ || die
+	fi
+}
+
+src_compile() {
+	local TARGET
+
+	MAIN_TARGETS="Jazz2 $(usex server Jazz2.Server '') Tools/Import"
+	EXT_TARGETS="OpenTKBackend $(usex gles2-only Es20Backend GL21Backend)"
+
+	for TARGET in ${MAIN_TARGETS}; do
+		cd "${S}/${TARGET}" || die
+		exbuild "${TARGET##*/}.csproj"
+	done
+
+	for TARGET in ${EXT_TARGETS}; do
+		cd "${S}/Extensions/${TARGET}" || die
+		exbuild "${TARGET##*/}.csproj"
+	done
+}
+
+src_install() {
+	local TARGET
+
+	insinto "${DIR}"
+	# TODO: Package OpenTK.
+	doins -r Content/ Packages/AdamsLair.OpenTK.*/lib/net*/*
+
+	for TARGET in ${MAIN_TARGETS}; do
+		doins "${TARGET}/Bin/Release/${TARGET##*/}.exe"
+	done
+
+	insinto "${DIR}"/Extensions
+	for TARGET in ${EXT_TARGETS}; do
+		doins "Extensions/${TARGET}/Jazz2/Bin/Release/Extensions/${TARGET}.core.dll"
+	done
+
+	make_wrapper ${PN} "mono '${EPREFIX}${DIR}/Jazz2.exe'"
+	make_wrapper ${PN}-import "mono '${EPREFIX}${DIR}/Import.exe'"
+	use server && make_wrapper ${PN}-server "mono '${EPREFIX}${DIR}/Jazz2.Server.exe'"
+
+	newicon Jazz2/Icon.ico ${PN}.ico
+	make_desktop_entry ${PN} "Jazz² Resurrection" ${PN}.ico
+}

diff --git a/games-arcade/jazz2/metadata.xml b/games-arcade/jazz2/metadata.xml
new file mode 100644
index 00000000000..3a5cc6dbaf8
--- /dev/null
+++ b/games-arcade/jazz2/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">deathkiller/jazz2</remote-id>
+	</upstream>
+	<use>
+		<flag name="gles2-only">Use GLES 2.0 or later instead of full OpenGL 2.1</flag>
+		<flag name="server">Build the multiplayer game server</flag>
+	</use>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2020-06-03 20:07 James Le Cuirot
  0 siblings, 0 replies; 9+ messages in thread
From: James Le Cuirot @ 2020-06-03 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     dd228a8291e8cd46d745257d1f817b0369d92a99
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  1 21:49:12 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jun  3 20:06:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd228a82

games-arcade/jazz2: Bump to 0.6.4, drop old 0.6.3_p20200327

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/jazz2/Manifest                                         | 2 +-
 .../jazz2/{jazz2-0.6.3_p20200327.ebuild => jazz2-0.6.4.ebuild}      | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest
index 1cb4529ce7c..fc828b0d97a 100644
--- a/games-arcade/jazz2/Manifest
+++ b/games-arcade/jazz2/Manifest
@@ -1 +1 @@
-DIST jazz2-0.6.3_p20200327.tar.gz 11030066 BLAKE2B 64340e6aeca9635c2d30f7814c87eb6d48d1e8674554342a1563371e305dc0f9d85929d51c0e26d6a0e30899e0d4b916ad9daa4fde51b4e98e07693f0e5c08cf SHA512 ebb406a2e57f6bf50b23a068f3b640e03c5ccce0e36de686debaacec25d67075cacb60888a7de451028cf4622932e4d282d47d674e5de9230bd4a21c83393896
+DIST jazz2-0.6.4.tar.gz 11028330 BLAKE2B f0f6ca00af950d494baf71a38fcb0e5e14f144bb862475b62a028ce88ebf94905afc6a08da01a40fc68a11292d50c63f638b11973b3eb32811fe42f27dfd1012 SHA512 33216722aa9ce31ca2af4bd1657c8053414678f9d050ed56a802e281b4743860aae40dfdb1ae4047fbdbe5ae7f3ef0b90170184aabfa8279d9f886f7c9bfd24e

diff --git a/games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild b/games-arcade/jazz2/jazz2-0.6.4.ebuild
similarity index 87%
rename from games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild
rename to games-arcade/jazz2/jazz2-0.6.4.ebuild
index 8d3263f7c62..3cb6f0f2431 100644
--- a/games-arcade/jazz2/jazz2-0.6.3_p20200327.ebuild
+++ b/games-arcade/jazz2/jazz2-0.6.4.ebuild
@@ -5,13 +5,9 @@ EAPI=7
 
 inherit desktop dotnet eutils
 
-COMMIT="5174d3bc2e94676c4ab730aad6c68bf17b5406dd"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
 DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2"
 HOMEPAGE="http://deat.tk/jazz2/"
-#SRC_URI="https://github.com/deathkiller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI="https://github.com/deathkiller/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/deathkiller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2020-12-09 22:39 James Le Cuirot
  0 siblings, 0 replies; 9+ messages in thread
From: James Le Cuirot @ 2020-12-09 22:39 UTC (permalink / raw
  To: gentoo-commits

commit:     2710b34803ad2c4638756a458b998a1183c58246
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  9 22:39:41 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 22:39:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2710b348

games-arcade/jazz2: Bump to 0.6.5, drop old 0.6.4

Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/jazz2/Manifest                                   | 2 +-
 games-arcade/jazz2/{jazz2-0.6.4.ebuild => jazz2-0.6.5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest
index fc828b0d97a..a38e77d6637 100644
--- a/games-arcade/jazz2/Manifest
+++ b/games-arcade/jazz2/Manifest
@@ -1 +1 @@
-DIST jazz2-0.6.4.tar.gz 11028330 BLAKE2B f0f6ca00af950d494baf71a38fcb0e5e14f144bb862475b62a028ce88ebf94905afc6a08da01a40fc68a11292d50c63f638b11973b3eb32811fe42f27dfd1012 SHA512 33216722aa9ce31ca2af4bd1657c8053414678f9d050ed56a802e281b4743860aae40dfdb1ae4047fbdbe5ae7f3ef0b90170184aabfa8279d9f886f7c9bfd24e
+DIST jazz2-0.6.5.tar.gz 11028837 BLAKE2B 5174aae360ffd17ed7051b50995282f761e1403728fc87775b2955c98db4d5198593c0ccf022733f9a7253f9633bc9844f8291471f2103e74015f097c3ac7943 SHA512 4caafff531d5f22c08013a1aea9604a49b56b3deb964255c8e400a55f7943d29e8230ad78baa68d4ce5f0f122982e0a880b05fe2a97ddaa0ae3503194d947e56

diff --git a/games-arcade/jazz2/jazz2-0.6.4.ebuild b/games-arcade/jazz2/jazz2-0.6.5.ebuild
similarity index 100%
rename from games-arcade/jazz2/jazz2-0.6.4.ebuild
rename to games-arcade/jazz2/jazz2-0.6.5.ebuild


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2021-01-10 22:05 James Le Cuirot
  0 siblings, 0 replies; 9+ messages in thread
From: James Le Cuirot @ 2021-01-10 22:05 UTC (permalink / raw
  To: gentoo-commits

commit:     8e0c7af542a2b7241135377bcd16e17e5f8847ca
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 21:57:16 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 22:05:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0c7af5

games-arcade/jazz2: Version bump to 0.6.6, drop old 0.6.5

Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/jazz2/Manifest                                   | 2 +-
 games-arcade/jazz2/{jazz2-0.6.5.ebuild => jazz2-0.6.6.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest
index a38e77d6637..79841fbbedb 100644
--- a/games-arcade/jazz2/Manifest
+++ b/games-arcade/jazz2/Manifest
@@ -1 +1 @@
-DIST jazz2-0.6.5.tar.gz 11028837 BLAKE2B 5174aae360ffd17ed7051b50995282f761e1403728fc87775b2955c98db4d5198593c0ccf022733f9a7253f9633bc9844f8291471f2103e74015f097c3ac7943 SHA512 4caafff531d5f22c08013a1aea9604a49b56b3deb964255c8e400a55f7943d29e8230ad78baa68d4ce5f0f122982e0a880b05fe2a97ddaa0ae3503194d947e56
+DIST jazz2-0.6.6.tar.gz 11030519 BLAKE2B c354ba9b20ea8fc559da66411ba6561dcc8943d2a87113f1166515cefd7c1cd4e13c5d9b257ee15f06a8016d0ff145bd8875ff195355d70f1c2a55088b85931c SHA512 ff896da1ec0ebc9968b469aeba3c44f599340550e3ad2cf590b9f63a50b64a59153632de1374a94d53a3b735dec0791f486c1f7c521ad3be96e2f69745486aad

diff --git a/games-arcade/jazz2/jazz2-0.6.5.ebuild b/games-arcade/jazz2/jazz2-0.6.6.ebuild
similarity index 98%
rename from games-arcade/jazz2/jazz2-0.6.5.ebuild
rename to games-arcade/jazz2/jazz2-0.6.6.ebuild
index 3cb6f0f2431..14bcbfd1562 100644
--- a/games-arcade/jazz2/jazz2-0.6.5.ebuild
+++ b/games-arcade/jazz2/jazz2-0.6.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2021-04-24 22:03 David Seifert
  0 siblings, 0 replies; 9+ messages in thread
From: David Seifert @ 2021-04-24 22:03 UTC (permalink / raw
  To: gentoo-commits

commit:     a02da848cebd0d39b838dc73a0990158724b668e
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Apr 24 22:02:31 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 22:02:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02da848

games-arcade/jazz2: update eclasses

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-arcade/jazz2/jazz2-0.6.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/jazz2/jazz2-0.6.6.ebuild b/games-arcade/jazz2/jazz2-0.6.6.ebuild
index 14bcbfd1562..3bf8b603eee 100644
--- a/games-arcade/jazz2/jazz2-0.6.6.ebuild
+++ b/games-arcade/jazz2/jazz2-0.6.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop dotnet eutils
+inherit desktop dotnet wrapper
 
 DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2"
 HOMEPAGE="http://deat.tk/jazz2/"


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2021-06-28 16:49 Ionen Wolkens
  0 siblings, 0 replies; 9+ messages in thread
From: Ionen Wolkens @ 2021-06-28 16:49 UTC (permalink / raw
  To: gentoo-commits

commit:     8c2bdf0a74b2ad651b7b362c1d4a4480e07b311e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 07:30:41 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 16:42:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2bdf0a

games-arcade/jazz2: fix gles2-only ProbableGlobalUse

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-arcade/jazz2/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/games-arcade/jazz2/metadata.xml b/games-arcade/jazz2/metadata.xml
index 3a5cc6dbaf8..2008bfb9782 100644
--- a/games-arcade/jazz2/metadata.xml
+++ b/games-arcade/jazz2/metadata.xml
@@ -9,7 +9,6 @@
 		<remote-id type="github">deathkiller/jazz2</remote-id>
 	</upstream>
 	<use>
-		<flag name="gles2-only">Use GLES 2.0 or later instead of full OpenGL 2.1</flag>
 		<flag name="server">Build the multiplayer game server</flag>
 	</use>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2021-08-05 11:16 James Le Cuirot
  0 siblings, 0 replies; 9+ messages in thread
From: James Le Cuirot @ 2021-08-05 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     b5eb7ac071054a05ee6f59835f8715fc9d86b75e
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 11:15:56 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Aug  5 11:15:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5eb7ac0

games-arcade/jazz2: Bump to 0.6.7, drop old 0.6.6

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/jazz2/Manifest                                   | 2 +-
 games-arcade/jazz2/{jazz2-0.6.6.ebuild => jazz2-0.6.7.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest
index 79841fbbedb..412f67c80f3 100644
--- a/games-arcade/jazz2/Manifest
+++ b/games-arcade/jazz2/Manifest
@@ -1 +1 @@
-DIST jazz2-0.6.6.tar.gz 11030519 BLAKE2B c354ba9b20ea8fc559da66411ba6561dcc8943d2a87113f1166515cefd7c1cd4e13c5d9b257ee15f06a8016d0ff145bd8875ff195355d70f1c2a55088b85931c SHA512 ff896da1ec0ebc9968b469aeba3c44f599340550e3ad2cf590b9f63a50b64a59153632de1374a94d53a3b735dec0791f486c1f7c521ad3be96e2f69745486aad
+DIST jazz2-0.6.7.tar.gz 11031735 BLAKE2B 014ff24c6f5a834a727aaed3760a1e228d9f7d9653dd293e98030c9105cbf15a3b420c2d515605e36187cc833ae892ed30589f1bf821c0b674b883cea216f3f5 SHA512 7172a3ccb367122d1c9bfbd36b76cc3d365024affba9aea5cfa595fd11a9b4dc980e57c1cfdb0d32bc28bb7ecb5f6f5225909697c4c93c43117596f44d80ff8f

diff --git a/games-arcade/jazz2/jazz2-0.6.6.ebuild b/games-arcade/jazz2/jazz2-0.6.7.ebuild
similarity index 100%
rename from games-arcade/jazz2/jazz2-0.6.6.ebuild
rename to games-arcade/jazz2/jazz2-0.6.7.ebuild


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2024-05-23 16:10 Matt Turner
  0 siblings, 0 replies; 9+ messages in thread
From: Matt Turner @ 2024-05-23 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     de0d32f80600af8d966315a47406b1074a80386b
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 15:26:28 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 23 16:09:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0d32f8

games-arcade/jazz2: Depend on libglvnd, not mesa

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 games-arcade/jazz2/{jazz2-0.6.7.ebuild => jazz2-0.6.7-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-arcade/jazz2/jazz2-0.6.7.ebuild b/games-arcade/jazz2/jazz2-0.6.7-r1.ebuild
similarity index 96%
rename from games-arcade/jazz2/jazz2-0.6.7.ebuild
rename to games-arcade/jazz2/jazz2-0.6.7-r1.ebuild
index 3bf8b603eeeb..f9190a49885f 100644
--- a/games-arcade/jazz2/jazz2-0.6.7.ebuild
+++ b/games-arcade/jazz2/jazz2-0.6.7-r1.ebuild
@@ -15,11 +15,10 @@ IUSE="gles2-only server"
 
 RDEPEND="
 	dev-lang/mono
+	media-libs/libglvnd
 	media-libs/libopenmpt
 	media-libs/libsdl2[video]
 	media-libs/openal
-	gles2-only? ( media-libs/mesa[gles2] )
-	!gles2-only? ( virtual/opengl )
 "
 
 FRAMEWORK="4.5.2"


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
@ 2024-11-02 13:32 Petr Vaněk
  0 siblings, 0 replies; 9+ messages in thread
From: Petr Vaněk @ 2024-11-02 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8dd73eaf409a6153e3a0240e29da0f82f855bff6
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  2 13:31:16 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 13:32:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd73eaf

games-arcade/jazz2: add 2.9.1

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 games-arcade/jazz2/Manifest           |  1 +
 games-arcade/jazz2/jazz2-2.9.1.ebuild | 70 +++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest
index f339610dfc4d..6d73e1b26c99 100644
--- a/games-arcade/jazz2/Manifest
+++ b/games-arcade/jazz2/Manifest
@@ -1,2 +1,3 @@
 DIST jazz2-0.6.7.tar.gz 11031735 BLAKE2B 014ff24c6f5a834a727aaed3760a1e228d9f7d9653dd293e98030c9105cbf15a3b420c2d515605e36187cc833ae892ed30589f1bf821c0b674b883cea216f3f5 SHA512 7172a3ccb367122d1c9bfbd36b76cc3d365024affba9aea5cfa595fd11a9b4dc980e57c1cfdb0d32bc28bb7ecb5f6f5225909697c4c93c43117596f44d80ff8f
 DIST jazz2-2.8.0.tar.gz 3656018 BLAKE2B c023e722871304754e45a1329cfff9e0e713413a6a05b5265dd000bab8a057ac5dbdb1a263b29f562df0221b97eb326fbd15f3c6b6f316b756630c2521413bec SHA512 1a6b61cb654c5afee7d615cca912b75ef4f1e90929d7808800467bd13a1ebd9096430d1c1fa969cfacf8c10ff1e696c74371c1809a0ffbda90c5db31c686ae05
+DIST jazz2-2.9.1.tar.gz 3700152 BLAKE2B dee3ada0bfa95294dac9fa2c37019edc20dd9a9f462671dea1d083575bc1f231e013bb5f9076b9163cdf0682a7775932f07050e894dad2f492e65150d47b42dd SHA512 d908a2c24d010122d4c9e2db17ed7392780785ef98799401f960cee41b5dfd9504859e30410e0bcf4678d1a73e5e153f4c46259da672b923cdc8decae25aae1c

diff --git a/games-arcade/jazz2/jazz2-2.9.1.ebuild b/games-arcade/jazz2/jazz2-2.9.1.ebuild
new file mode 100644
index 000000000000..4a7c0ac77fc6
--- /dev/null
+++ b/games-arcade/jazz2/jazz2-2.9.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2"
+HOMEPAGE="
+	https://deat.tk/jazz2/
+	https://github.com/deathkiller/jazz2-native
+"
+SRC_URI="
+	https://github.com/deathkiller/jazz2-native/archive/refs/tags/${PV}.tar.gz
+		-> ${P}.tar.gz
+"
+S="${WORKDIR}/${PN}-native-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+openal sdl"
+
+DEPEND="
+	sys-libs/zlib:=
+	media-libs/libglvnd
+	openal? (
+		media-libs/libopenmpt
+		media-libs/openal
+	)
+	!sdl? ( media-libs/glfw )
+	sdl? ( media-libs/libsdl2 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	# We need to install README.md to a different directory, default
+	# src_install will handle that.
+	sed -i '/README_INSTALL_DESTINATION/d' cmake/ncine_installation.cmake || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local backend=GLFW
+	use sdl && backend=SDL2
+	local mycmakeargs=(
+		-DNCINE_LINUX_PACKAGE="${PN}"
+
+		-DNCINE_DOWNLOAD_DEPENDENCIES=OFF
+		-DNCINE_LINKTIME_OPTIMIZATION=OFF
+		-DNCINE_STRIP_BINARIES=OFF
+		-DNCINE_VERSION_FROM_GIT=OFF
+		-DNCINE_WITH_BACKWARD=OFF
+
+		-DNCINE_WITH_GLEW=OFF
+
+		-DNCINE_PREFERRED_BACKEND=${backend}
+
+		-DNCINE_WITH_AUDIO=$(usex openal)
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


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

end of thread, other threads:[~2024-11-02 13:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28 16:49 [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02 13:32 Petr Vaněk
2024-05-23 16:10 Matt Turner
2021-08-05 11:16 James Le Cuirot
2021-04-24 22:03 David Seifert
2021-01-10 22:05 James Le Cuirot
2020-12-09 22:39 James Le Cuirot
2020-06-03 20:07 James Le Cuirot
2020-03-27  9:12 James Le Cuirot

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