aboutsummaryrefslogtreecommitdiffstats
path: root/games-util/multimc/multimc-0.6.7.ebuild
blob: 091e58e63ae8cbbefb20959b0fffff3052bb3222 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 2019 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"
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
}