Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/minecraft-launcher/
Date: Wed, 24 Aug 2022 10:01:23
Message-Id: 1661335265.effec0c98b3e1163565ce1112691e366bce013cd.andrewammerlaan@gentoo
1 commit: effec0c98b3e1163565ce1112691e366bce013cd
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 09:53:16 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 10:01:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=effec0c9
7
8 games-action/minecraft-launcher: add 1.0.1221
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 games-action/minecraft-launcher/Manifest | 1 +
13 .../minecraft-launcher-1.0.1221.ebuild | 60 ++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/games-action/minecraft-launcher/Manifest b/games-action/minecraft-launcher/Manifest
17 index f83b810ce59a..c78481e793c4 100644
18 --- a/games-action/minecraft-launcher/Manifest
19 +++ b/games-action/minecraft-launcher/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST minecraft-launcher-1.0.1221 1623472 BLAKE2B 4c34f591a1bc98e4a49d1fa15cc0b7e60737452eb22a6b11e6843a02a9f0160348250c046a2c154d7deb5087a1b283bb5b4109b14dc7b1121e68f212d899e82c SHA512 a175572c23219bb9bd8de3b072864544a1316a64d71bd8f5a0f8951c69fc7e2590d75fc509cf595d4b36a3a0c6d9aea46801d4030b48051b0e00dbe8ef4d8b1a
22 DIST minecraft-launcher-1.6.93.jar 4481683 BLAKE2B 29597977cc70f831bff7f77cb2493d8c8f8138518c79f5e92f91ed6440ae2224b4140546c37645370173c668d9db894ca6b548b6cfd41da40c4e1ff51f0d820b SHA512 85739c0c0828af5b901b9933173f08229175aef1e8dec40c83981fb6fc330285b4c3a206cdf4405408106eff56ce1e516368d18bf44f631446ebac45e9aba125
23 DIST minecraft-launcher-1121 1639888 BLAKE2B 20f48d909d7b5f56f61508447cb57b94789df7a2f1fc33f3ca3d37a0609cfbb31d7be4b3becdc465652a2d4071a80209118d53f9eade5c6554d4289fc9dd9c46 SHA512 a75fc0003c72a3dbab4fb907a30f025cfad671a8e797fc2809a67f8c9ba8c98f0a8e2e275c928016739f474207dc17d1144e4c357abe76d409f99d75752c59fb
24 DIST minecraft-launcher.svg 61803 BLAKE2B 6527c869aec955f5e457e57f6c60b6391c29f2bc6f83d72b9a432cc9b77df6fb842549158f38e32a0bec6973d6fac4af3a1a5562cb84b5a4fd1d95de645da842 SHA512 aa08e8fa2a5c1c3e2d714644cb9648adb779c09fff5a9e5b79cea42c53be3f53631d199f72c1eec56e4b4f8e46be8f4ae88fbe456865621b589a7c4f9438549a
25
26 diff --git a/games-action/minecraft-launcher/minecraft-launcher-1.0.1221.ebuild b/games-action/minecraft-launcher/minecraft-launcher-1.0.1221.ebuild
27 new file mode 100644
28 index 000000000000..c493997b8a47
29 --- /dev/null
30 +++ b/games-action/minecraft-launcher/minecraft-launcher-1.0.1221.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 2019-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit desktop xdg
38 +
39 +# We can find which url we need for the latest release here:
40 +# https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
41 +
42 +DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks"
43 +HOMEPAGE="https://www.minecraft.net/"
44 +SRC_URI="https://launcher.mojang.com/v1/objects/4392471202bb9dff482db8a5551a7643da955ace/minecraft-launcher -> ${P}
45 + https://launcher.mojang.com/download/minecraft-launcher.svg"
46 +S="${WORKDIR}"
47 +
48 +KEYWORDS="-* ~amd64"
49 +LICENSE="Mojang"
50 +SLOT="0"
51 +
52 +RESTRICT="bindist mirror"
53 +
54 +RDEPEND="
55 + >=x11-libs/gtk+-2.24.32-r1[X(+)]
56 + app-crypt/libsecret
57 + dev-libs/nss
58 + dev-libs/libbsd
59 + dev-libs/libffi:0/8
60 + dev-libs/libpcre
61 + media-libs/alsa-lib
62 + media-libs/openal
63 + net-libs/gnutls[idn]
64 + net-misc/curl[adns]
65 + net-print/cups
66 + sys-apps/dbus
67 + virtual/jre:*
68 + virtual/opengl
69 + x11-apps/xrandr
70 + x11-libs/libXScrnSaver
71 + x11-libs/libXcomposite
72 + x11-libs/libXcursor
73 + x11-libs/libXdamage
74 + x11-libs/libXext
75 + x11-libs/libXfixes
76 + x11-libs/libXi
77 + x11-libs/libXrender
78 + x11-libs/libXtst
79 + x11-libs/xcb-util
80 +"
81 +
82 +QA_PREBUILT="
83 + usr/bin/minecraft-launcher
84 +"
85 +
86 +src_install() {
87 + newbin "${DISTDIR}/${P}" ${PN}
88 +
89 + doicon -s scalable "${DISTDIR}/${PN}.svg"
90 + make_desktop_entry ${PN} "Minecraft" ${PN} Game
91 +}