From 36ff2766a226ad52e183299f314e4e72953d6769 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sun, 3 May 2020 02:18:21 +0000 Subject: [PATCH] Add MultiMC5 0.6.11 I should have done this sooner. Oh well! --- games-util/multimc5/multimc5-0.6.11.ebuild | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 games-util/multimc5/multimc5-0.6.11.ebuild diff --git a/games-util/multimc5/multimc5-0.6.11.ebuild b/games-util/multimc5/multimc5-0.6.11.ebuild new file mode 100644 index 0000000..76309c5 --- /dev/null +++ b/games-util/multimc5/multimc5-0.6.11.ebuild @@ -0,0 +1,35 @@ +EAPI=7 + +inherit cmake-utils + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://files.2a03.party/~flewkey/distfiles/${P}.tar.gz" + KEYWORDS="~amd64" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/MultiMC/MultiMC5.git" +fi + +DESCRIPTION="MultiMC Minecraft Launcher" +HOMEPAGE="https://multimc.org/" +LICENSE="Apache-2.0" +SLOT="0" + +DEPEND=">=virtual/jre-1.8:*" +RDEPEND="${DEPEND}" +BDEPEND=" + >=virtual/jdk-1.8:* + >=dev-util/cmake-3.1 + dev-qt/qtcore + media-libs/mesa + sys-libs/zlib +" + +src_configure() { + local mycmakeargs=( + "-DCMAKE_INSTALL_PREFIX:PATH=/usr" + "-DMultiMC_LAYOUT:STRING=lin-system" + ) + cmake-utils_src_configure +} +