From 2710b34803ad2c4638756a458b998a1183c58246 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 9 Dec 2020 22:39:41 +0000 Subject: 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 --- games-arcade/jazz2/Manifest | 2 +- games-arcade/jazz2/jazz2-0.6.4.ebuild | 81 ----------------------------------- games-arcade/jazz2/jazz2-0.6.5.ebuild | 81 +++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 82 deletions(-) delete mode 100644 games-arcade/jazz2/jazz2-0.6.4.ebuild create mode 100644 games-arcade/jazz2/jazz2-0.6.5.ebuild diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest index fc828b0d97a2..a38e77d66373 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.4.ebuild deleted file mode 100644 index 3cb6f0f24315..000000000000 --- a/games-arcade/jazz2/jazz2-0.6.4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop dotnet eutils - -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" -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/jazz2-0.6.5.ebuild b/games-arcade/jazz2/jazz2-0.6.5.ebuild new file mode 100644 index 000000000000..3cb6f0f24315 --- /dev/null +++ b/games-arcade/jazz2/jazz2-0.6.5.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop dotnet eutils + +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" +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 +} -- cgit v1.2.3-65-gdbad