[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: de0d32f80600af8d966315a47406b1074a80386b Author: Matt Turner gentoo org> AuthorDate: Thu May 23 15:26:28 2024 + Commit: Matt Turner gentoo org> CommitDate: Thu May 23 16:09:57 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0d32f8 games-arcade/jazz2: Depend on libglvnd, not mesa Signed-off-by: Matt Turner 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"
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: b5eb7ac071054a05ee6f59835f8715fc9d86b75e Author: James Le Cuirot gentoo org> AuthorDate: Thu Aug 5 11:15:56 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Aug 5 11:15:56 2021 + 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 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
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: 8c2bdf0a74b2ad651b7b362c1d4a4480e07b311e Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jun 28 07:30:41 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jun 28 16:42:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2bdf0a games-arcade/jazz2: fix gles2-only ProbableGlobalUse Signed-off-by: Ionen Wolkens 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 @@ deathkiller/jazz2 - Use GLES 2.0 or later instead of full OpenGL 2.1 Build the multiplayer game server
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2-data/
commit: a4da643462065273e95f8d17e03b790d6d4df704 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jun 28 07:31:19 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jun 28 16:42:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4da6434 games-arcade/jazz2-data: fix gles2-only ProbableGlobalUse Signed-off-by: Ionen Wolkens gentoo.org> games-arcade/jazz2-data/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/games-arcade/jazz2-data/metadata.xml b/games-arcade/jazz2-data/metadata.xml index 9ac6d5d0b96..4d57d219692 100644 --- a/games-arcade/jazz2-data/metadata.xml +++ b/games-arcade/jazz2-data/metadata.xml @@ -11,6 +11,5 @@ Install The Christmas Chronicles additional data Use the free demo data instead of the full retail game data - Use GLES 2.0 or later instead of full OpenGL 2.1
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: a02da848cebd0d39b838dc73a0990158724b668e Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Apr 24 22:02:31 2021 + Commit: David Seifert gentoo org> CommitDate: Sat Apr 24 22:02:31 2021 + 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 levelnine.at> Signed-off-by: David Seifert 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/;
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: 8e0c7af542a2b7241135377bcd16e17e5f8847ca Author: James Le Cuirot gentoo org> AuthorDate: Sun Jan 10 21:57:16 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Jan 10 22:05:30 2021 + 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 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
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: 2710b34803ad2c4638756a458b998a1183c58246 Author: James Le Cuirot gentoo org> AuthorDate: Wed Dec 9 22:39:41 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Dec 9 22:39:41 2020 + 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 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
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: dd228a8291e8cd46d745257d1f817b0369d92a99 Author: James Le Cuirot gentoo org> AuthorDate: Mon Jun 1 21:49:12 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Jun 3 20:06:44 2020 + 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 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"
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2-data/
commit: 5853360347f511d2a7e6f73ea5b3b3fc5d0a309f Author: James Le Cuirot gentoo org> AuthorDate: Fri Mar 27 09:56:49 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Mar 27 09:56:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58533603 games-arcade/jazz2-data: Fix dependencies, add app-arch/unzip Package-Manager: Portage-2.3.96, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild b/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild index 8e09e36ffaa..10ac074109c 100644 --- a/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild +++ b/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild @@ -29,8 +29,9 @@ RESTRICT="!demo? ( bindist fetch )" RDEPEND="games-arcade/jazz2:=[gles2-only=]" -DEPEND=" +BDEPEND=" ${RDEPEND} + app-arch/unzip !demo? ( app-arch/innoextract ) "
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2-data/
commit: 2ae2a55eb4e0fa7af5b1bf83100e93d0de014e06 Author: James Le Cuirot gentoo org> AuthorDate: Thu Mar 26 22:42:58 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Mar 27 09:12:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae2a55e games-arcade/jazz2-data: New package Package-Manager: Portage-2.3.96, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> games-arcade/jazz2-data/Manifest | 4 ++ .../jazz2-data/jazz2-data-0-r20200327.ebuild | 79 ++ games-arcade/jazz2-data/metadata.xml | 16 + 3 files changed, 99 insertions(+) diff --git a/games-arcade/jazz2-data/Manifest b/games-arcade/jazz2-data/Manifest new file mode 100644 index 000..98649857314 --- /dev/null +++ b/games-arcade/jazz2-data/Manifest @@ -0,0 +1,4 @@ +DIST jazz2-shareware-demo.zip 7658261 BLAKE2B b2b4412cd62feba07878a091a2a47d432a10d09f5f552eeb49095938d9ca6f97e94ab31e9cc8545019d9bdd8e5f97270dd9c1b25ba2099b260ff731dee5847c6 SHA512 208aedbb581f001c8215932166c71e5a160c70af6343d06aa35211558f898f18c47f066c896f016372aaefc8dbc495bc28ace18ce5fcbb729a9d2444a445d9ce +DIST jj2plus-v1.zip 153487 BLAKE2B 49867cd3d30ee26e8795a7983657f7092710d43b0b8f083853bd0284fc5e1917954951a796747f4700ab43f82633886eb7fa229950fcc003c798f24fd9c33209 SHA512 139b8f98a6c4b8bb7067893e4387af540e7c15d1e633c5f964d7a6ae64320ad1a432434403a74aa4b4af36e3d4eb5245e74ade395ea473c8fd2e3fc37cef06a5 +DIST setup_jazz_jackrabbit_2_1.24hf_(16886).exe 58050816 BLAKE2B 6a6492aedc3d7387e5ef5bfc641d54c46dbe850f65f9269268c962cf963164dcd98c2f2651e9dc3b7c2d0ea9ea00836e9cc1332a158b08c34f8fa9fbfb44859e SHA512 df6fc47abf24aaa1895df5f897f698b53865fdc499e2454e07b273eddc8fcdeeebe8fc2992292fb27e077da252d3d5728823ce6a2e83412c150fb8742a52116f +DIST setup_jazz_jackrabbit_2_cc_1.2x_(16742).exe 57273872 BLAKE2B 85cd51fbe706bd6a040931d084102cf46c13d3508653ac429f721b93b8bcef131bea688a1d49cc6e789fa108fed5611e2bd476a2f50ceee4ac0c16531d49795a SHA512 fafce9bb318903970b8ba8e3c08cd261c748180158c162db4f67408d12b436a1a091b2423e2df0859e6c65df5ffe1e7e07d370089b6ebf70f8fc32ff5c260a86 diff --git a/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild b/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild new file mode 100644 index 000..8e09e36ffaa --- /dev/null +++ b/games-arcade/jazz2-data/jazz2-data-0-r20200327.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DEATTK="http://deat.tk/jazz2/misc; +JJ2PLUS="${DEATTK}/jj2plus-v1.zip" + +DESCRIPTION="Jazz Jackrabbit 2 data files imported for games-arcade/jazz2" +HOMEPAGE="https://www.gog.com/game/jazz_jackrabbit_2_collection; + +# Order is significant! +SRC_URI=" + ${JJ2PLUS} + demo? ( + ${DEATTK}/shareware-demo.zip -> jazz2-shareware-demo.zip + ) + !demo? ( + cc? ( setup_jazz_jackrabbit_2_cc_1.2x_(16742).exe ) + setup_jazz_jackrabbit_2_1.24hf_(16886).exe + ) +" + +LICENSE="free-noncomm GOG-EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+cc demo gles2-only" +RESTRICT="!demo? ( bindist fetch )" + +RDEPEND="games-arcade/jazz2:=[gles2-only=]" + +DEPEND=" + ${RDEPEND} + !demo? ( app-arch/innoextract ) +" + +DIR="/usr/share/jazz2" +S="${WORKDIR}" + +pkg_nofetch() { + local a + einfo "Please place the following files in your distfiles directory." + einfo + einfo " Go to https://www.gog.com/game/jazz_jackrabbit_2_collection,; + einfo " purchase the game, and download:" + for a in ${A}; do + [[ ${SRC_URI} == */${a}* ]] && continue + einfo "- ${a}" + done + einfo + einfo " You must also download:" + einfo "- ${JJ2PLUS}" +} + +src_unpack() { + ln -snf "${DISTDIR}/${JJ2PLUS##*/}" || die + + if use demo; then + ln -snf "${DISTDIR}"/jazz2-shareware-demo.zip shareware-demo.zip || die + else + local EXE + for EXE in ${A}; do + [[ ${EXE} == *.exe ]] || continue + innoextract -e -s -p0 -I app -d "${EXE}" "${DISTDIR}/${EXE}" || die + done + fi +} + +src_install() { + if use demo; then + jazz2-import /no-wait /output "${ED}${DIR}" || die + else + local EXE + for EXE in ${A}; do + [[ ${EXE} == *.exe ]] || continue + jazz2-import /no-wait /output "${ED}${DIR}" "${EXE}"/app || die + done + fi +} diff --git a/games-arcade/jazz2-data/metadata.xml b/games-arcade/jazz2-data/metadata.xml new file mode 100644 index 000..9ac6d5d0b96 --- /dev/null +++ b/games-arcade/jazz2-data/metadata.xml @@ -0,0 +1,16 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + ga...@gentoo.org + Gentoo Games
[gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2/
commit: 891296590fc6cb8777f3a76a0f8026c8e173a20c Author: James Le Cuirot gentoo org> AuthorDate: Tue Mar 24 21:56:32 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Mar 27 09:12:17 2020 + 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 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 000..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 000..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 000..3a5cc6dbaf8 --- /dev/null +++ b/games-arcade/jazz2/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + ga...@gentoo.org + Gentoo Games Project + + + deathkiller/jazz2 + + + Use GLES 2.0 or later instead of full OpenGL 2.1 + Build the multiplayer game server + +