1
0
flewkey-overlay/games-util/multimc5/multimc5-0.6.8.ebuild
Ryan Fox 51f9a6dfa7
Migrate from cmake-utils to cmake
I didn't even know that it was deprecated. Someone should really add a
deprecation notice in the eclass reference, haha.
2020-07-09 00:34:39 +00:00

39 lines
740 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
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
dev-qt/qtconcurrent
media-libs/mesa
sys-libs/zlib
"
src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_PREFIX:PATH=/usr"
"-DMultiMC_LAYOUT:STRING=lin-system"
)
cmake_src_configure
}