commit: cf7d7e2c4dc6658560c89baf56231dde38de93a1 Author: Albert Diserholt <albert <AT> diserholt <DOT> com> AuthorDate: Tue Oct 3 19:13:55 2017 +0000 Commit: Albert Diserholt <albert <AT> diserholt <DOT> com> CommitDate: Tue Oct 3 19:13:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/user/Drauthius.git/commit/?id=cf7d7e2c
Added SimulationCraft (WoW addon) Also bumped LÖVE version. games-engines/love/Manifest | 2 + games-engines/love/love-0.10.2.ebuild | 61 +++++++++++++++++++++++++++++ simulationcraft/Manifest | 1 + simulationcraft/simulationcraft-9999.ebuild | 46 ++++++++++++++++++++++ 4 files changed, 110 insertions(+) diff --git a/games-engines/love/Manifest b/games-engines/love/Manifest index 7c47051..b82580f 100644 --- a/games-engines/love/Manifest +++ b/games-engines/love/Manifest @@ -1,10 +1,12 @@ DIST love-0.10.0-linux-src.tar.gz 1586980 SHA256 97a4df98e56c4e9b9d9097633a76319e719de8f87c494782df8dc1c1b30d56e4 SHA512 e8140e4e3bc332fd161ab7bd8f08232d7a1d307208c306dab73ca4ad0e65ce719b6715234e6c5392dfeceb76836b0476e473e62666e15ed64108886a7bb45682 WHIRLPOOL 2f493454d1f0e81820a2dfdf33cbf43536d28c1b1ce7bed84ff0ccdcebcec6d317af648568312b7ef766d05c62983fc0985c8ba5e90c3efa02169b3d015f01b4 DIST love-0.10.1-linux-src.tar.gz 1686004 SHA256 a2b0c9a1096a064c40f9f4bafd7ee92c0aa64f70146f7574992425c24e4541fb SHA512 d060ab293779701f97a87dc619ae168e6ae043be08eba288cb629e472f4a16488431775bdde0ab3675b47448940d34d1f39ff60cb0f717a8d03c933de0d8d10f WHIRLPOOL 4cd99b48d0a5c0670119a06992d3d0b269e6c3b7c714fc15e2bebe5639cb52dd80f9bf015f77a77b4e4d86722e2ab2aef86e547d7ede550ede0ec6cbc458d1d1 +DIST love-0.10.2-linux-src.tar.gz 1698376 SHA256 b26b306b113158927ae12d2faadb606eb1db49ffdcd7592d6a0a3fc0af21a387 SHA512 81c0bb5a454ed9abc692784f155933288a2bd5ba5ffb919c7709584e7e8d68fca10b5ea1e3a386def46b18f071b217ffbc2914a8ea08424226f0580020fce076 WHIRLPOOL a4aa3569c1a0d099f4386ae21638a280d4f6946d072356c9ae6d94075d00b9604fb54161be3a2e4c6a6dfbe5ee824f3630f2a2d46276078ab055e2b851bccf5b DIST love-0.9.0-linux-src.tar.gz 1389352 SHA256 4f0d24945223fc3ba78f0a81799a179f06b97e9b0aea2c9c6ad532820a491611 SHA512 e6deec6cd1dbb6daf6ffbf037cc662c2997afad37390f1fc0892c5086688aedf1a28b8f5d9a5cf55ff08d0d5b22a1e709c8c1edccb32ec965363b40e70c6bf19 WHIRLPOOL 06e6c8c9f4f3e2c4f1c7c3983820c7351cfe370e0755dbeb37c0af83ec660805ddc0ed51561f911a45f8639ae8c80b3704b30eaad0d8982a223b9319893fefd5 DIST love-0.9.1-linux-src.tar.gz 1405469 SHA256 04dd0946bd82ec839c454c161bf0e5da870f393af62d09dc229990f5176833de SHA512 295e1a944344946fd6e7552512ec3d2a3dbe0e86c1cf464b160cf92891495f73c0d9e2daffc4b5732cb0b3da0a95047d256ec4b8cf54c496e0d7356a97abc10e WHIRLPOOL ee65c766aa0d610c987aa1077f250390d07bd3ceca23c3df6c8142d111c43224924be2c846453d51474ecd016c17ee9ecb963569b3c520528bc906e264fcdc90 DIST love-0.9.2-linux-src.tar.gz 1451535 SHA256 a995d062dc14e7944c239934b9343583153718774511d8625885aa57f2b5c172 SHA512 a6948eb77334b1a73a3595268eca8bd7a04a723e9e027ef4b1b8133b4365c06b0a0c4d4e09040ab74bd1f8564d70ec8d07c61aa67d75d86ecba41b2baca629ab WHIRLPOOL 100c8abd20ee43a26f8e36d9457dca7c91f23f38d03e0504e8386a0e9aa109ca362ba09d21f738598f7f18529a59a6d9cf296616ddd72cccd23cd97162b081bc EBUILD love-0.10.0.ebuild 1263 SHA256 1ddd903dec7308df6a5eb694dd96a0685ef168c02336d5d6b4543d090421666f SHA512 cff7113c067ad90d6a16ad87bf1667adcdc5d8679a8ced54dc656b390e42098d0cf034b808ab4b6d7293e4a29e799d629cbe70113192b4595bfc0c2d3c61ecfb WHIRLPOOL 2dd1d934569cfb193af0482044f38f853e9d5520cb917f55e3982db22831cdc87a7cb5dd745f0944021fdf8f1d07ff2b7c945a148a927c1de0350e9e1eec73e0 EBUILD love-0.10.1.ebuild 1263 SHA256 1ddd903dec7308df6a5eb694dd96a0685ef168c02336d5d6b4543d090421666f SHA512 cff7113c067ad90d6a16ad87bf1667adcdc5d8679a8ced54dc656b390e42098d0cf034b808ab4b6d7293e4a29e799d629cbe70113192b4595bfc0c2d3c61ecfb WHIRLPOOL 2dd1d934569cfb193af0482044f38f853e9d5520cb917f55e3982db22831cdc87a7cb5dd745f0944021fdf8f1d07ff2b7c945a148a927c1de0350e9e1eec73e0 +EBUILD love-0.10.2.ebuild 1263 SHA256 1ddd903dec7308df6a5eb694dd96a0685ef168c02336d5d6b4543d090421666f SHA512 cff7113c067ad90d6a16ad87bf1667adcdc5d8679a8ced54dc656b390e42098d0cf034b808ab4b6d7293e4a29e799d629cbe70113192b4595bfc0c2d3c61ecfb WHIRLPOOL 2dd1d934569cfb193af0482044f38f853e9d5520cb917f55e3982db22831cdc87a7cb5dd745f0944021fdf8f1d07ff2b7c945a148a927c1de0350e9e1eec73e0 EBUILD love-0.9.0.ebuild 1241 SHA256 a51bb4613f847e0ec7f8d4cb5f2ff0fa57609e29b9869102ec0649911ef5e2b2 SHA512 92437b48e92e89af1a8c25d67eea493f9aca198ed0dd13756fe4668bc3d407fa9c7154094ed21a1b2ca20a4abcf12d7f5d9f786d84ee7222023d5521c80440e5 WHIRLPOOL 6b9d175f70ece4e9defab6a39e0b939cb0168c3a94a8cdb280380bef851ec43e8fc40352471dcee566b12c70afe712c318ab900ae01d85405a97ffb635a4a3d8 EBUILD love-0.9.1.ebuild 1241 SHA256 a51bb4613f847e0ec7f8d4cb5f2ff0fa57609e29b9869102ec0649911ef5e2b2 SHA512 92437b48e92e89af1a8c25d67eea493f9aca198ed0dd13756fe4668bc3d407fa9c7154094ed21a1b2ca20a4abcf12d7f5d9f786d84ee7222023d5521c80440e5 WHIRLPOOL 6b9d175f70ece4e9defab6a39e0b939cb0168c3a94a8cdb280380bef851ec43e8fc40352471dcee566b12c70afe712c318ab900ae01d85405a97ffb635a4a3d8 EBUILD love-0.9.2.ebuild 1241 SHA256 a51bb4613f847e0ec7f8d4cb5f2ff0fa57609e29b9869102ec0649911ef5e2b2 SHA512 92437b48e92e89af1a8c25d67eea493f9aca198ed0dd13756fe4668bc3d407fa9c7154094ed21a1b2ca20a4abcf12d7f5d9f786d84ee7222023d5521c80440e5 WHIRLPOOL 6b9d175f70ece4e9defab6a39e0b939cb0168c3a94a8cdb280380bef851ec43e8fc40352471dcee566b12c70afe712c318ab900ae01d85405a97ffb635a4a3d8 diff --git a/games-engines/love/love-0.10.2.ebuild b/games-engines/love/love-0.10.2.ebuild new file mode 100644 index 0000000..3ee6c43 --- /dev/null +++ b/games-engines/love/love-0.10.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit games + +if [[ ${PV} == 9999* ]]; then + inherit autotools mercurial + EHG_REPO_URI="https://bitbucket.org/rude/${PN}" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://www.bitbucket.org/rude/${PN}/downloads/${P}-linux-src.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc ~x86" +fi + +DESCRIPTION="A framework for 2D games in Lua" +HOMEPAGE="http://love2d.org/" + +LICENSE="ZLIB" +SLOT="0" +IUSE="luajit" + +RDEPEND="dev-games/physfs + !luajit? ( dev-lang/lua[deprecated] ) + luajit? ( dev-lang/luajit:2 ) + media-libs/devil[mng,png,tiff] + media-libs/freetype + media-libs/libmodplug + media-libs/libsdl2[joystick,opengl] + media-libs/libtheora + media-libs/libvorbis + media-libs/openal + media-sound/mpg123 + virtual/opengl" +DEPEND="${RDEPEND} + media-libs/libmng + media-libs/tiff" + +DOCS=( "readme.md" "changes.txt" ) + +src_prepare() { + if [[ ${PV} == 9999* ]]; then + sh platform/unix/gen-makefile || die + mkdir platform/unix/m4 || die + eautoreconf + fi +} + +src_configure() { + econf --with-lua=$(usev luajit || echo lua) +} + +src_install() { + default + if [[ "${SLOT}" != "0" ]]; then + mv "${ED}${GAMES_BINDIR}"/${PN} \ + "${ED}${GAMES_BINDIR}"/${PN}-${SLOT} || die + fi +} diff --git a/simulationcraft/Manifest b/simulationcraft/Manifest new file mode 100644 index 0000000..1522c63 --- /dev/null +++ b/simulationcraft/Manifest @@ -0,0 +1 @@ +EBUILD simulationcraft-9999.ebuild 935 SHA256 8288323ff2d3f82abf39c681714bb27103d9229bade72dcae0056f805077d025 SHA512 179b57b1a7672c4c196c8a3f9a76ede7fd30377bd114816134ef86832702c98a0fcdf19223f9894ba5a1982b559646488cd900c61c216c1cf8971b4f4df030a6 WHIRLPOOL 6da5119603363f5f0a7b418f26fc3bf2f73fb2ea873616e4a7e1b65afb1d02d7ec553907ed49b2f87808bf486c932d84d26bce9fde37d7ab3842c10a29374bfb diff --git a/simulationcraft/simulationcraft-9999.ebuild b/simulationcraft/simulationcraft-9999.ebuild new file mode 100644 index 0000000..bf164fa --- /dev/null +++ b/simulationcraft/simulationcraft-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft. It is a multi-player event-driven simulator written in C++ that models raid damage." +HOMEPAGE="http://simulationcraft.org/" +LICENSE="GPL-3.0" +SLOT="0" + +if [[ ${PV} = 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/simulationcraft/simc.git" + EGIT_BRANCH="legion-dev" +fi + +IUSE=" + +gui" + +RDEPEND="gui? ( dev-qt/qtchooser )" +DEPEND=" + ${RDEPEND} + dev-libs/openssl + gui? ( dev-qt/qtwebkit:5 ) +" + +src_configure() { + use gui && qtchooser -run-tool=qmake -qt=5 simcqt.pro PREFIX="${D}/usr" CONFIG+=openssl LIBS+="-lssl" +} + +src_compile() { + emake -C engine OPENSSL=1 optimized + use gui && emake +} + +src_install() { + install -D -m755 engine/simc "${D}"/usr/bin/simc + use gui && emake install +} + +pkg_postinst() { + elog "You will need to obtain an API key if you wish to import from the" + elog "WoW armory." + elog "Follow the instructions here:" + elog " https://github.com/simulationcraft/simc/wiki/BattleArmoryAPI" +}