From f1eb59836ac1a5851bdaef81872dddaf302b955c Mon Sep 17 00:00:00 2001 From: Albert Diserholt Date: Thu, 2 Aug 2018 18:19:25 +0200 Subject: Corrected location of simualtioncraft. --- games-util/simulationcraft/Manifest | 1 + .../simulationcraft/simulationcraft-9999.ebuild | 39 ++++++++++++++++++ simulationcraft/Manifest | 1 - simulationcraft/simulationcraft-9999.ebuild | 46 ---------------------- 4 files changed, 40 insertions(+), 47 deletions(-) create mode 100644 games-util/simulationcraft/Manifest create mode 100644 games-util/simulationcraft/simulationcraft-9999.ebuild delete mode 100644 simulationcraft/Manifest delete mode 100644 simulationcraft/simulationcraft-9999.ebuild diff --git a/games-util/simulationcraft/Manifest b/games-util/simulationcraft/Manifest new file mode 100644 index 0000000..387c823 --- /dev/null +++ b/games-util/simulationcraft/Manifest @@ -0,0 +1 @@ +EBUILD simulationcraft-9999.ebuild 935 BLAKE2B e7c64b513f9ca547418072bbc279a43d5d64a06451ba90e2bf3b7a639f8498eba3ae6835e5b483f67389e9d29c2ece2a5426c0191c810b98cdcd67e8004c75c4 SHA512 179b57b1a7672c4c196c8a3f9a76ede7fd30377bd114816134ef86832702c98a0fcdf19223f9894ba5a1982b559646488cd900c61c216c1cf8971b4f4df030a6 diff --git a/games-util/simulationcraft/simulationcraft-9999.ebuild b/games-util/simulationcraft/simulationcraft-9999.ebuild new file mode 100644 index 0000000..7b36a98 --- /dev/null +++ b/games-util/simulationcraft/simulationcraft-9999.ebuild @@ -0,0 +1,39 @@ +# 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 -lcrypto" +} + +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 +} diff --git a/simulationcraft/Manifest b/simulationcraft/Manifest deleted file mode 100644 index 1522c63..0000000 --- a/simulationcraft/Manifest +++ /dev/null @@ -1 +0,0 @@ -EBUILD simulationcraft-9999.ebuild 935 SHA256 8288323ff2d3f82abf39c681714bb27103d9229bade72dcae0056f805077d025 SHA512 179b57b1a7672c4c196c8a3f9a76ede7fd30377bd114816134ef86832702c98a0fcdf19223f9894ba5a1982b559646488cd900c61c216c1cf8971b4f4df030a6 WHIRLPOOL 6da5119603363f5f0a7b418f26fc3bf2f73fb2ea873616e4a7e1b65afb1d02d7ec553907ed49b2f87808bf486c932d84d26bce9fde37d7ab3842c10a29374bfb diff --git a/simulationcraft/simulationcraft-9999.ebuild b/simulationcraft/simulationcraft-9999.ebuild deleted file mode 100644 index bf164fa..0000000 --- a/simulationcraft/simulationcraft-9999.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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" -} -- cgit v1.2.3-65-gdbad