diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
commit | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch) | |
tree | 6a5171dd615dfeee62a45044144c66e864738fb0 /games-engines | |
parent | ab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff) |
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/Manifest.gz | bin | 3713 -> 3717 bytes | |||
-rw-r--r-- | games-engines/stratagus/Manifest | 3 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-3.0.0-r1.ebuild | 70 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-3.0.0-r100.ebuild | 74 |
4 files changed, 147 insertions, 0 deletions
diff --git a/games-engines/Manifest.gz b/games-engines/Manifest.gz Binary files differindex d78ce229e596..9902415b5c38 100644 --- a/games-engines/Manifest.gz +++ b/games-engines/Manifest.gz diff --git a/games-engines/stratagus/Manifest b/games-engines/stratagus/Manifest index ffd7c6836ffe..3828903bd416 100644 --- a/games-engines/stratagus/Manifest +++ b/games-engines/stratagus/Manifest @@ -2,7 +2,10 @@ AUX stratagus-2.3.0-debug.patch 667 BLAKE2B 6f81f640dc5773a29f5c97732c1ace1de896 AUX stratagus-2.3.0-doc.patch 378 BLAKE2B 673afcbcf6131a49d03b683db2b430795b30226a97d4355ba88780bc4543f08c51b49c3726a79bc93620cd23595e2dcef62452d6afc989aa2ea06f616ce86fa6 SHA512 185b4a82d4960369bdff7c5522418553838d0d2c0947d8f75a55bf7a22741b9be20a20b60ae086ee04bd31ecf963c5c58167ef6b57b777659832a82d79726483 DIST stratagus-2.4.1.tar.gz 1087678 BLAKE2B be7fc8322aee2a28c80833d44c3180e26b961ce9dfd1bc5e0a8e3fa0caac74bf713224de4c38b2ebf6d5aeabbe778a5664346c6a444b066f07f719bba5317bac SHA512 1f0420677df72e3e2d2f31e60030fa2eba4c3d1ab80cfc79c045724fe39ac237846bc38e8762ee9aa51768a443cdbbaa1fe91bf80fb2164261288a1bb17e27cd DIST stratagus-2.4.3.tar.gz 1123537 BLAKE2B 90e40b2b277b5c52977f3c0ae2ae8f2e65d940d765e2ca4f7def4f8cf903399350f5e46f6dc6fbc38f3a53c7ca9ecaf5cf38025ec69154972869f28da37865d4 SHA512 16271c4fed3fb75fb8fb08e363e72713ede7979ea7e25b7c83db2fa9a0688fb7927cad3379e3b23e172c409cf0f6db18f7c6557d19a693c9a7f24109b56d2a56 +DIST stratagus-3.0.0.tar.gz 1149659 BLAKE2B 62a14bdc84462f22867b836b9a83f58ba31c7793c20f25cd8a0ca58adf7e5a38ee4559e96dddf8eb61dd1572dac55e08b16c95f8b7590644da0d0ffd040e0360 SHA512 baef3636471134c53ae0a60471f217daf694c20f439db125cf31cc33a510be456486aa905950aec15f28acada1af39a245e97fc85045d849b10532939a8f3a83 EBUILD stratagus-2.4.1.ebuild 1523 BLAKE2B 3b165318ba374101a436297ef4e8bdfefe977fa60ef850001f1de415135babc0d6692a4321c3a56a7249ccbc5cf903b1322e4c51e202c590636125ab43d41251 SHA512 0751342ca95b1384e116732401481c341c0c79555eecda4ab6dda0318d0823c6130ea4a4e988ec97c77a315bc5f70db8be4b36c6cd9e705a7fe0885d86bab269 EBUILD stratagus-2.4.3-r100.ebuild 1585 BLAKE2B 207b0a52a39c7704491a8e64181336401e5594f1103e6d14933df721f08f34755e066199033c9a13eba77237de8892e6964790b974622fa31c6a8c130f7a0c75 SHA512 873a5079b9783abf710df210876048f6928f06e1963cb75ed13bc7cf549b9d97fb10a0f04bbf3afde13209777013efef35225a3349e69437f8f3eeb14b8cd3ee EBUILD stratagus-2.4.3.ebuild 1516 BLAKE2B a31e4732e29ab32c34f161956c107d159e3b9fdc22a3c882b02278d161b1239392e9aafa855f58caf5945dde82815254b37712e18f282e570a388c84832d12e8 SHA512 d7b71f58898721bb8a6d73a6fb42456433dc1ba0494e16ecc9ffcfeda565e0c6b03aac333e3c21654746f7209fd542e09bc2431c562626743c0fe0a802ee8ca9 +EBUILD stratagus-3.0.0-r1.ebuild 1495 BLAKE2B 2a44250de9676936a02ad67f3c1b4977c2c3351ee651d28717bcd252d3f704696a31a4f0d0d1d70126b997a60b300e0d6ea9270e51004e2e6000fdc5fa0bf542 SHA512 ada564c80ad5cdf7f68ca450d50ce2642b998e7ff2811de7a066cff5182029a63f5843d83795fe69f4864015020ecb185960e416aecccd5ce6a123f7eb5b9cae +EBUILD stratagus-3.0.0-r100.ebuild 1567 BLAKE2B f7cfe263858a99bb53a45cf07a57f50fe892dfb2a6aa91f88bf869fe7ff4ee10d83570470acea132f568af8de54bb2168c81de36136522c8e3e605f3972dd54d SHA512 44d075c38ebd05c4f80bc817307645e3d46477742ba3f0142a4fd48558b50fec7fa7eb9a7a17eaf4199317949f5c98f3509496569865fcae0f61a89782383dbb MISC metadata.xml 526 BLAKE2B ae5eabae36efabcfa6af79a4ec6be482532af44eddb2725b5405a013dbc12171440c8790cae30c5e21dce0eaa605bfd0273c6f7e985149b9b0b5c6a9e86a2dc2 SHA512 b1ec75815ac742ab9c9a69ffc83bf191de9ba5c6b461a1094d6827e90d104e9db63a92f2094e93cd235265ffb8e4c690f51cd5729b86bfe74a8f30af069444e6 diff --git a/games-engines/stratagus/stratagus-3.0.0-r1.ebuild b/games-engines/stratagus/stratagus-3.0.0-r1.ebuild new file mode 100644 index 000000000000..ee369f12de34 --- /dev/null +++ b/games-engines/stratagus/stratagus-3.0.0-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake optfeature + +DESCRIPTION="A realtime strategy game engine" +HOMEPAGE="https://wargus.github.io/stratagus.html + https://github.com/Wargus/stratagus" +SRC_URI="https://github.com/Wargus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/3" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 debug doc mng theora vorbis" +REQUIRED_USE="theora? ( vorbis )" + +RDEPEND=" + dev-db/sqlite:3 + >=dev-lang/lua-5:0 + dev-lua/toluapp + media-libs/libpng:0 + x11-libs/libX11 + media-libs/libsdl2[sound,opengl,video] + media-libs/sdl2-mixer[vorbis] + media-libs/sdl2-image[png] + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + mng? ( media-libs/libmng ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + theora? ( media-libs/libtheora ) + )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}/${PN}"-2.3.0-doc.patch +) + +src_prepare() { + sed -i -e 's:-Werror::' CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # there are in-source switches + use debug && CMAKE_BUILD_TYPE=Debug + + local mycmakeargs=( + -DGAMEDIR="/usr/bin" + -DDOCDIR="/usr/share/doc/${PF}" + -DWITH_BZIP2=$(usex bzip2) + -DWITH_MNG=$(usex mng) + -DWITH_OGGVORBIS=$(usex vorbis) + -DWITH_THEORA=$(usex theora) + -DENABLE_DOC=$(usex doc) + -DENABLE_DEV=ON + ) + + cmake_src_configure +} + +pkg_postinst() { + optfeature "MIDI music support" "media-libs/sdl2-mixer[midi]" +} diff --git a/games-engines/stratagus/stratagus-3.0.0-r100.ebuild b/games-engines/stratagus/stratagus-3.0.0-r100.ebuild new file mode 100644 index 000000000000..5af50ed30834 --- /dev/null +++ b/games-engines/stratagus/stratagus-3.0.0-r100.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 ) + +inherit cmake lua-single optfeature + +DESCRIPTION="A realtime strategy game engine" +HOMEPAGE="https://wargus.github.io/stratagus.html + https://github.com/Wargus/stratagus" +SRC_URI="https://github.com/Wargus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/3" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 debug doc mng theora vorbis" +REQUIRED_USE=" + ${LUA_REQUIRED_USE} + theora? ( vorbis )" + +RDEPEND=" + ${LUA_DEPS} + dev-db/sqlite:3 + dev-lua/toluapp[${LUA_SINGLE_USEDEP}] + media-libs/libpng:0 + x11-libs/libX11 + media-libs/libsdl2[sound,opengl,video] + media-libs/sdl2-mixer[vorbis] + media-libs/sdl2-image[png] + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + mng? ( media-libs/libmng ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + theora? ( media-libs/libtheora ) + )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}/${PN}"-2.3.0-doc.patch +) + +src_prepare() { + sed -i -e 's:-Werror::' CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # there are in-source switches + use debug && CMAKE_BUILD_TYPE=Debug + + local mycmakeargs=( + -DGAMEDIR="/usr/bin" + -DDOCDIR="/usr/share/doc/${PF}" + -DWITH_BZIP2=$(usex bzip2) + -DWITH_MNG=$(usex mng) + -DWITH_OGGVORBIS=$(usex vorbis) + -DWITH_THEORA=$(usex theora) + -DENABLE_DOC=$(usex doc) + -DENABLE_DEV=ON + ) + + cmake_src_configure +} + +pkg_postinst() { + optfeature "MIDI music support" "media-libs/sdl2-mixer[midi]" +} |