From 90a3be9d71a22834f9bc82c072f1b993f9a10e31 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Aug 2023 21:42:17 +0100 Subject: gentoo auto-resync : 20:08:2023 - 21:42:17 --- games-simulation/corsix-th/Manifest | 4 +- games-simulation/corsix-th/corsix-th-0.67.ebuild | 84 ++++++++++++++++++++++ .../corsix-th/corsix-th-0.67_rc1.ebuild | 84 ---------------------- 3 files changed, 86 insertions(+), 86 deletions(-) create mode 100644 games-simulation/corsix-th/corsix-th-0.67.ebuild delete mode 100644 games-simulation/corsix-th/corsix-th-0.67_rc1.ebuild (limited to 'games-simulation/corsix-th') diff --git a/games-simulation/corsix-th/Manifest b/games-simulation/corsix-th/Manifest index 86e0c03102d5..5a5d48a5088e 100644 --- a/games-simulation/corsix-th/Manifest +++ b/games-simulation/corsix-th/Manifest @@ -1,6 +1,6 @@ AUX corsix-th-0.66-cmake_lua_detection.patch 499 BLAKE2B 939992cced1c18dc5a6c53b892e8d2adbe084e9bf028c4c858e3c809a4bc5df0b304aae020994d8b94052bcda60486affb080096c688eb6120950ea626f5db9b SHA512 bcdbbe851610afb863b6c58700ab03f3c426cd6f9a9795d853a819bde3e9ac0d89a1d99eb04f2559f9ac80344c03aa1fc8c99cbc80c7b81e4e3739af6db6bdf4 DIST corsix-th-0.66.tar.gz 4117046 BLAKE2B 7bceb0d5893849ba906ccd9516ecd52f0a1c54f3a91bff932c0db053f66e71a3d38dfdb55979cb9bb2047c7338b3badbb32defa216a9867fb7166f4ca14bfa75 SHA512 a5cea74e7754132a7edbe188c63c08eb40ba8a8bbef6dc7441e41c5f46e96cacaa077d00bead4f8b3af3b8e07eadb4cfd08b1fb147e1397e2f9aa02642d29105 -DIST corsix-th-0.67_rc1.tar.gz 4127427 BLAKE2B c6f7c40dac0780b0c00de0ec7432b86aa4c09a0ffb0eaf87e58abee7b934b2c9fc9e151b86a7edf588ca1a65d42b27eeb9f63ec64f1a5250e2b7e1f60d2d3226 SHA512 cb104ba81a1c70bcdf49f0659bd544fc003b8a89dd8bbfa504676086da35b4817702b02933b4fcf239f6ac784c091d28867db246a8f6242952f3abdfdb959690 +DIST corsix-th-0.67.tar.gz 4127698 BLAKE2B 3b95b2439b779eab88a680fc3543fc4695cab7eac09ec2b20f892e95faaaf176c4d6c4862a9cd716958283922a7a6d8d1011346f1ef7c7a2f43ccca0c0b076c6 SHA512 b0e245a8aed9ad36e1040f88bbf8bf031bddf8dead0c59bc99a3c7f19cd6957c52e8185b2b737e78d57c73a58e460360428c81d5df1f6660aa17c7ec91ac62ba EBUILD corsix-th-0.66-r1.ebuild 1901 BLAKE2B 0e3161eae51fbcc795490e3a9182ef3be13adb1d79058c10435f647fe66340b62a19634f8335a14cefa4ef92af1c7c958f02d2833cdaaae1e2014dbce972147f SHA512 66224bc0718f3f0d0c297209334dc08dc6b5bec62073b46b23c34b00550ab9f420ad103db1706ca81c5c72e3f55c15170c91b3c1ecaf328305ff8bf1d1572f8e -EBUILD corsix-th-0.67_rc1.ebuild 2031 BLAKE2B 436e7ffa5a506d31cbaa2bc8fbcebb201aa63d928dfa7d7a0fe1425bd9c2022d440e3a71e64fbc9d94955124f118a34ae32c0cc883dcb0bbd7fd752abe7f8e90 SHA512 e3278ddac798ec71b35b607d604d45e7ee28b416e76346187fc8a904aedf3dbd4b2de6620b8026c6bb855d4532a76f76fb7597426b9448ca9929afcfe6d62431 +EBUILD corsix-th-0.67.ebuild 2031 BLAKE2B 436e7ffa5a506d31cbaa2bc8fbcebb201aa63d928dfa7d7a0fe1425bd9c2022d440e3a71e64fbc9d94955124f118a34ae32c0cc883dcb0bbd7fd752abe7f8e90 SHA512 e3278ddac798ec71b35b607d604d45e7ee28b416e76346187fc8a904aedf3dbd4b2de6620b8026c6bb855d4532a76f76fb7597426b9448ca9929afcfe6d62431 MISC metadata.xml 780 BLAKE2B 604dff99fbb107226d6edf80a3648ebb5b7d5793745d4275ed106d8e313cbb2319510490279071807bc5bb293458c96a4f5f7a5e6442e397f2331d62f518d2ae SHA512 38586db6e150a9f87988c32e7e69afef5f079e1b49803452b4655a407bdc810b9d829be2406c278f81e315c11033d43e51afabef1a91c2c84638b6afab706c92 diff --git a/games-simulation/corsix-th/corsix-th-0.67.ebuild b/games-simulation/corsix-th/corsix-th-0.67.ebuild new file mode 100644 index 000000000000..fb20bf9d939b --- /dev/null +++ b/games-simulation/corsix-th/corsix-th-0.67.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) + +inherit cmake lua-single xdg + +MY_PN="CorsixTH" +MY_PV="${PV/_/-}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Open source clone of Theme Hospital" +HOMEPAGE="https://corsixth.com" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +IUSE="doc +midi +sound tools +truetype +videos" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS} + $(lua_gen_cond_dep ' + >=dev-lua/luafilesystem-1.5[${LUA_USEDEP}] + >=dev-lua/lpeg-0.9[${LUA_USEDEP}] + >=dev-lua/luasocket-3.0_rc1-r4[${LUA_USEDEP}] + ') + media-libs/libsdl2[opengl,video] + sound? ( media-libs/sdl2-mixer[midi?] ) + truetype? ( >=media-libs/freetype-2.5.3:2 ) + videos? ( >=media-video/ffmpeg-2.2.3:0= ) +" + +DEPEND="${RDEPEND}" + +# Technically, build-time generation of documentation could use any version +# of Lua (or to be precise: if in src_configure cmake has been told to use +# LuaJIT documentation generation looks for LuaJIT, otherwise any +# dev-lang/lua slot will do; see the first few lines of the bundled file +# CMake/GenerateDoc.cmake for details) - but since dev-lang/lua conflicts +# with the other slots of same, try to keep the deptree sane until we get +# rid of unslotted Lua. +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + ${LUA_DEPS} + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.66-cmake_lua_detection.patch +) + +src_configure() { + local mycmakeargs=( + -DLUA_VERSION=$(lua_get_version) + -DBUILD_TOOLS=$(usex tools) + -DWITH_AUDIO=$(usex sound) + -DWITH_FREETYPE2=$(usex truetype) + -DWITH_MOVIES=$(usex videos) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + dodoc changelog.txt CONTRIBUTING.md + + docinto html + use doc && dodoc -r "${BUILD_DIR}"/doc/* +} diff --git a/games-simulation/corsix-th/corsix-th-0.67_rc1.ebuild b/games-simulation/corsix-th/corsix-th-0.67_rc1.ebuild deleted file mode 100644 index fb20bf9d939b..000000000000 --- a/games-simulation/corsix-th/corsix-th-0.67_rc1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} ) - -inherit cmake lua-single xdg - -MY_PN="CorsixTH" -MY_PV="${PV/_/-}" -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="Open source clone of Theme Hospital" -HOMEPAGE="https://corsixth.com" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -fi -IUSE="doc +midi +sound tools +truetype +videos" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND="${LUA_DEPS} - $(lua_gen_cond_dep ' - >=dev-lua/luafilesystem-1.5[${LUA_USEDEP}] - >=dev-lua/lpeg-0.9[${LUA_USEDEP}] - >=dev-lua/luasocket-3.0_rc1-r4[${LUA_USEDEP}] - ') - media-libs/libsdl2[opengl,video] - sound? ( media-libs/sdl2-mixer[midi?] ) - truetype? ( >=media-libs/freetype-2.5.3:2 ) - videos? ( >=media-video/ffmpeg-2.2.3:0= ) -" - -DEPEND="${RDEPEND}" - -# Technically, build-time generation of documentation could use any version -# of Lua (or to be precise: if in src_configure cmake has been told to use -# LuaJIT documentation generation looks for LuaJIT, otherwise any -# dev-lang/lua slot will do; see the first few lines of the bundled file -# CMake/GenerateDoc.cmake for details) - but since dev-lang/lua conflicts -# with the other slots of same, try to keep the deptree sane until we get -# rid of unslotted Lua. -BDEPEND=" - virtual/pkgconfig - doc? ( - app-doc/doxygen[dot] - ${LUA_DEPS} - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.66-cmake_lua_detection.patch -) - -src_configure() { - local mycmakeargs=( - -DLUA_VERSION=$(lua_get_version) - -DBUILD_TOOLS=$(usex tools) - -DWITH_AUDIO=$(usex sound) - -DWITH_FREETYPE2=$(usex truetype) - -DWITH_MOVIES=$(usex videos) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use doc && cmake_src_compile doc -} - -src_install() { - cmake_src_install - dodoc changelog.txt CONTRIBUTING.md - - docinto html - use doc && dodoc -r "${BUILD_DIR}"/doc/* -} -- cgit v1.2.3