From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- games-arcade/jazz2/Manifest | 4 +- games-arcade/jazz2/jazz2-0.6.6.ebuild | 81 ----------------------------------- games-arcade/jazz2/jazz2-0.6.7.ebuild | 81 +++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 83 deletions(-) delete mode 100644 games-arcade/jazz2/jazz2-0.6.6.ebuild create mode 100644 games-arcade/jazz2/jazz2-0.6.7.ebuild (limited to 'games-arcade/jazz2') diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest index d2e9302bd004..bfe5c3944ff5 100644 --- a/games-arcade/jazz2/Manifest +++ b/games-arcade/jazz2/Manifest @@ -1,3 +1,3 @@ -DIST jazz2-0.6.6.tar.gz 11030519 BLAKE2B c354ba9b20ea8fc559da66411ba6561dcc8943d2a87113f1166515cefd7c1cd4e13c5d9b257ee15f06a8016d0ff145bd8875ff195355d70f1c2a55088b85931c SHA512 ff896da1ec0ebc9968b469aeba3c44f599340550e3ad2cf590b9f63a50b64a59153632de1374a94d53a3b735dec0791f486c1f7c521ad3be96e2f69745486aad -EBUILD jazz2-0.6.6.ebuild 1897 BLAKE2B 224442d63f6c54ca783d88aa12f22b644ecee5f757119d6b033ac9588ea77385da21cdf2d7a8242707b64e5deccdc0ef181e53f282945ad90c47843f2abb33a7 SHA512 8dfd2d4135837640740be8d7716e0f5de9a6a92d3e5d41342f99dcf72d22a31778308b6e27dd7aedc94e5a6796aaa4fc9205e2b5d552e16e276bcdfd1253a531 +DIST jazz2-0.6.7.tar.gz 11031735 BLAKE2B 014ff24c6f5a834a727aaed3760a1e228d9f7d9653dd293e98030c9105cbf15a3b420c2d515605e36187cc833ae892ed30589f1bf821c0b674b883cea216f3f5 SHA512 7172a3ccb367122d1c9bfbd36b76cc3d365024affba9aea5cfa595fd11a9b4dc980e57c1cfdb0d32bc28bb7ecb5f6f5225909697c4c93c43117596f44d80ff8f +EBUILD jazz2-0.6.7.ebuild 1897 BLAKE2B 224442d63f6c54ca783d88aa12f22b644ecee5f757119d6b033ac9588ea77385da21cdf2d7a8242707b64e5deccdc0ef181e53f282945ad90c47843f2abb33a7 SHA512 8dfd2d4135837640740be8d7716e0f5de9a6a92d3e5d41342f99dcf72d22a31778308b6e27dd7aedc94e5a6796aaa4fc9205e2b5d552e16e276bcdfd1253a531 MISC metadata.xml 413 BLAKE2B 4951d29e0e2c8c94b95b4a7728af705aeb615969506c5b5c79d3e8ea9e5d10da9cb69a218f021cc484904e16495ba73e23074cb2deda248dec913b69ff263248 SHA512 826ca7350339385e3dbd40b8e64cfa0a5fc1d03e351b38028ce073d515d176be5282346e9837d5e0f4a7bc55f635cdc398ae8cd5052e7c1d0d002beb8749f772 diff --git a/games-arcade/jazz2/jazz2-0.6.6.ebuild b/games-arcade/jazz2/jazz2-0.6.6.ebuild deleted file mode 100644 index 3bf8b603eeeb..000000000000 --- a/games-arcade/jazz2/jazz2-0.6.6.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop dotnet wrapper - -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.7.ebuild b/games-arcade/jazz2/jazz2-0.6.7.ebuild new file mode 100644 index 000000000000..3bf8b603eeeb --- /dev/null +++ b/games-arcade/jazz2/jazz2-0.6.7.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop dotnet wrapper + +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