aboutsummaryrefslogblamecommitdiffstats
path: root/games-util/multimc/multimc-0.6.7.ebuild
blob: 51848682dec395ba86d5cc013cd68b5e485256b9 (plain) (tree)
1
                               























                                                                            

                                



















                                                     
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit eutils cmake-utils 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-utils_src_prepare
}

src_configure() {
	local mycmakeargs=(
			-DCMAKE_INSTALL_PREFIX="/usr"
			-DMultiMC_UPDATER=OFF
			-DMultiMC_LAYOUT=lin-system
	)
	cmake-utils_src_configure
}