1 |
commit: 6c30cfb1a3781138d93c450ddf5f028f3dd0c7c3 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 4 20:17:43 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 20:17:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c30cfb1 |
7 |
|
8 |
games-action/multimc-bin: add version 1.6.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.26, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
games-action/multimc-bin/Manifest | 1 + |
14 |
games-action/multimc-bin/multimc-bin-1.6.1.ebuild | 48 +++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/games-action/multimc-bin/Manifest b/games-action/multimc-bin/Manifest |
18 |
index 0e647fe50cb..da7937bca70 100644 |
19 |
--- a/games-action/multimc-bin/Manifest |
20 |
+++ b/games-action/multimc-bin/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST multimc_1.5-1.deb 7692 BLAKE2B c5b4de864c95cccd96b071d4d551e322eb5c78e17a8da361ee69a82405691c6d9fc81c7eef9dcf855a8e2145fbb362d31c7f63682c7a66edbc37dbf9215e7c1b SHA512 26fe11eff406efd09612002e4c53fc1ea0b3f7d0aca389475a7afff454efa52ed52097f6a0bbc27de61fba3fed252321754738a0f79b0d8a7308a39701087e67 |
23 |
+DIST multimc_1.6-1.deb 7672 BLAKE2B 21df885937c137d7f0c2460b10aeffefd5ea010ea4de3c73168660b7b5041fbe38a764ea62d549e52aec0183901aacdf9cf6fe580607bb05e5bd19cbf383e7f0 SHA512 0e603ae0ef1e8a3dd8e6f92a5a9d32b96b9b0901cb88e368d3c97888e2cae747808e831c1598286de42de102a06631521682bfd15078c1cae663993706ec2810 |
24 |
|
25 |
diff --git a/games-action/multimc-bin/multimc-bin-1.6.1.ebuild b/games-action/multimc-bin/multimc-bin-1.6.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2e4e4a21053 |
28 |
--- /dev/null |
29 |
+++ b/games-action/multimc-bin/multimc-bin-1.6.1.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 2019-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit unpacker xdg |
37 |
+ |
38 |
+DESCRIPTION="An advanced Qt5-based open-source launcher for Minecraft" |
39 |
+HOMEPAGE="https://multimc.org https://github.com/MultiMC/MultiMC5" |
40 |
+SRC_URI="https://files.multimc.org/downloads/multimc_$(ver_rs 2 -).deb" |
41 |
+# We need -bin because of secret API keys: |
42 |
+# https://github.com/MultiMC/MultiMC5/issues/4087 |
43 |
+# https://github.com/MultiMC/MultiMC5/issues/4113 |
44 |
+# https://bugs.gentoo.org/814404 |
45 |
+S="${WORKDIR}" |
46 |
+ |
47 |
+KEYWORDS="-* ~amd64" |
48 |
+LICENSE="Apache-2.0 Boost-1.0 BSD-2 BSD GPL-2+ LGPL-2.1-with-linking-exception LGPL-3 OFL-1.1 MIT" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-qt/qtcore:5 |
53 |
+ dev-qt/qtwidgets:5 |
54 |
+ dev-qt/qtconcurrent:5 |
55 |
+ dev-qt/qtnetwork:5 |
56 |
+ dev-qt/qtgui:5 |
57 |
+ dev-qt/qttest:5 |
58 |
+ dev-qt/qtxml:5 |
59 |
+ sys-libs/zlib |
60 |
+ >=virtual/jre-1.8.0 |
61 |
+ virtual/opengl |
62 |
+ x11-libs/libXrandr |
63 |
+" |
64 |
+ |
65 |
+QA_PREBUILT="*" |
66 |
+ |
67 |
+src_install() { |
68 |
+ mv "${S}"/* "${ED}" || die |
69 |
+ # Rename the .desktop file to avoid file conflict with non-bin version |
70 |
+ mv "${ED}/usr/share/applications/multimc.desktop" "${ED}/usr/share/applications/multimc-bin.desktop" || die |
71 |
+ # Change the name so we can differentiate from the non-bin version in app menu |
72 |
+ # and remove empty options |
73 |
+ sed -i \ |
74 |
+ -e 's/Name=MultiMC 5/Name=MultiMC Official Binary/g' \ |
75 |
+ -e '/Path=/d' \ |
76 |
+ -e '/TerminalOptions=/d' \ |
77 |
+ "${ED}/usr/share/applications/multimc-bin.desktop" || die |
78 |
+} |