1
0
flewkey-overlay/games-util/multimc5/multimc5-0.6.12.ebuild
Ryan Fox 0dce0f51f4
games-util/multimc5: Bump to 0.6.12
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-06-13 08:13:44 +00:00

47 lines
1.2 KiB
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
V_QUAZIP="multimc-3"
V_LIBNBTPLUSPLUS="multimc-0.6.1"
SRC_URI="
https://github.com/MultiMC/MultiMC5/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/MultiMC/quazip/archive/${V_QUAZIP}.tar.gz -> quazip-${V_QUAZIP}.tar.gz
https://github.com/MultiMC/libnbtplusplus/archive/${V_LIBNBTPLUSPLUS}.tar.gz -> libnbtplusplus-${V_LIBNBTPLUSPLUS}.tar.gz
"
KEYWORDS="~amd64"
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_unpack() {
default
rm -rf "${S}/libraries/libnbtplusplus" "${S}/libraries/quazip" || die
cp -r "${WORKDIR}/quazip-${V_QUAZIP}" "${S}/libraries/quazip" || die
cp -r "${WORKDIR}/libnbtplusplus-${V_LIBNBTPLUSPLUS}" "${S}/libraries/libnbtplusplus" || die
}
src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_PREFIX:PATH=/usr"
"-DMultiMC_LAYOUT:STRING=lin-system"
)
cmake_src_configure
}