diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-09-13 09:30:46 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-09-13 09:30:59 +0200 |
commit | f53cef869b639cb3c4ba9ac62b9dbf21e52b82d7 (patch) | |
tree | d7ebfb24662da400ea90ce48ad1c52d530c79729 /games-action | |
parent | dev-python/mkdocs-git-revision-date-localized-plugin: add version 0.10.0 (diff) | |
download | gentoo-f53cef869b639cb3c4ba9ac62b9dbf21e52b82d7.tar.gz gentoo-f53cef869b639cb3c4ba9ac62b9dbf21e52b82d7.tar.bz2 gentoo-f53cef869b639cb3c4ba9ac62b9dbf21e52b82d7.zip |
games-action/multimc: add version 0.16.3
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/multimc/Manifest | 1 | ||||
-rw-r--r-- | games-action/multimc/multimc-0.6.13.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/games-action/multimc/Manifest b/games-action/multimc/Manifest index f9dc3597286f..74e96f473a10 100644 --- a/games-action/multimc/Manifest +++ b/games-action/multimc/Manifest @@ -1,3 +1,4 @@ DIST libnbtplusplus-multimc-0.6.1.tar.gz 47171 BLAKE2B e0e4d2593554dc59605114fcae86c59877da67d3f0888145b9ec2fe3d08decec7345a92c7d37310e021b5719f1371a58a22dc796e719028a478877e6d08982ed SHA512 81a1640a069d88df7ba0abf72089aecbe1e9d791c88acaaa7e70c8f0bcd0512cf8698178342657e363524ce8488dd072368a0aa8cc091a24912d6f8b6b0f4f2d DIST multimc-0.6.12.tar.gz 2389805 BLAKE2B d7b7660578d78d5d1cbaae607bf340c0c0a0aab5b0d2460218e1e468f450a3ac7030cb235c3e25f61d27d8c1e3cca71a1abbea22f9759726d34e495fe49de180 SHA512 334b0996b7b49a0f4a46a3e5b08d50d5f7aa398b8d5871772c751c1f98438d9584ffcdaf27ad6d2e84b2776415bd38910dffb8e746c4b343916c6849df2146da +DIST multimc-0.6.13.tar.gz 2493423 BLAKE2B 8dd64f3b07ff2faeda25bba14f1b19fd0854534e50d589325c19386c96ac3e4b04af8b2262fbf9796e67a869a8d98bf828617dadf2e270801970bc182a6d7175 SHA512 c897f75d01c0e7f73a860166bce3b4efccb3e3f8ec8b811c7e465ac97986c67c0d1149130429fcccb4bdd9af323d01e687f3d7afb5cb7d2c0299e61c0298cad9 DIST quazip-multimc-3.tar.gz 103519 BLAKE2B 7a636f9e76cae61cee42131093b56d2a577814b2eb04bdc3c3a7614cf307bbdabe533c66a9f07848bbd929a62b7043dc53f2f85e2e487bfcc820170112f1114b SHA512 2e9074203c67bc7ad98621c551047e5367f06e54cacfecc755a5bf2c9f99266eab42ad972f86ae28ed7e1507f6d27d8d2680a87ce9fd5b1e93a18bcb627ec3f0 diff --git a/games-action/multimc/multimc-0.6.13.ebuild b/games-action/multimc/multimc-0.6.13.ebuild new file mode 100644 index 000000000000..5004bf93d813 --- /dev/null +++ b/games-action/multimc/multimc-0.6.13.ebuild @@ -0,0 +1,72 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop java-pkg-2 xdg cmake + +MY_PN="MultiMC5" +MY_P="${MY_PN}-${PV}" + +QUAZIP_VER="multimc-3" +LIBNBTPLUSPLUS_VER="multimc-0.6.1" + +DESCRIPTION="An advanced Qt5-based open-source launcher for Minecraft" +HOMEPAGE="https://multimc.org + https://github.com/MultiMC/MultiMC5" +BASE_URI="https://github.com/MultiMC" +SRC_URI=" + ${BASE_URI}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + ${BASE_URI}/libnbtplusplus/archive/${LIBNBTPLUSPLUS_VER}.tar.gz -> libnbtplusplus-${LIBNBTPLUSPLUS_VER}.tar.gz + ${BASE_URI}/quazip/archive/${QUAZIP_VER}.tar.gz -> quazip-${QUAZIP_VER}.tar.gz +" + +KEYWORDS="~amd64" +LICENSE="Apache-2.0 Boost-1.0 BSD-2 BSD GPL-2+ LGPL-2.1-with-linking-exception LGPL-3 OFL-1.1 MIT" +SLOT="0" + +COMMON_DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + dev-qt/qtconcurrent:5 + dev-qt/qtnetwork:5 + dev-qt/qtgui:5 + dev-qt/qttest:5 + dev-qt/qtxml:5 +" +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.8.0 +" +RDEPEND="${COMMON_DEPEND} + sys-libs/zlib + >=virtual/jre-1.8.0 + virtual/opengl + x11-libs/libXrandr +" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + default + rm -r "${S}/libraries/libnbtplusplus" "${S}/libraries/quazip" || die + mv "${WORKDIR}/libnbtplusplus-${LIBNBTPLUSPLUS_VER}" "${S}/libraries/libnbtplusplus" || die + mv "${WORKDIR}/quazip-${QUAZIP_VER}" "${S}/libraries/quazip" || die +} + +src_prepare() { + cmake_src_prepare + sed -r -i 's/-Werror([a-z=-]+)?//g' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DMultiMC_LAYOUT=lin-system + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + domenu launcher/package/linux/multimc.desktop + doicon -s scalable launcher/resources/multimc/scalable/multimc.svg +} |