1
0
flewkey-overlay/games-util/multimc5/multimc5-0.6.8.ebuild
2020-02-11 19:29:21 +00:00

36 lines
632 B
Bash

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
}