blob: d3858b5550a8a99951108e5aa50b8328a5adefbc (
plain) (
tree)
|
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils cmake git-r3
DESCRIPTION="An advanced open-source launcher for Minecraft written in Qt5."
HOMEPAGE="https://multimc.org/"
EGIT_REPO_URI="https://github.com/MultiMC/MultiMC5.git"
EGIT_COMMIT="${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
COMMON_DEPEND="
dev-qt/qtcore:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
dev-qt/qtsvg:5
dev-qt/qtxml:5
virtual/jdk:1.8"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
sys-libs/zlib
virtual/opengl"
CMAKE_IN_SOURCE_BUILD=1
src_prepare() {
git submodule update --init
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="/usr"
-DMultiMC_UPDATER=OFF
-DMultiMC_LAYOUT=lin-system
)
cmake_src_configure
}
|