Gentoo Archives: gentoo-commits

From: Philip Miess <Phil_miess@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/superposition:master commit in: games-action/minecraft-launcher/
Date: Sat, 30 Apr 2022 17:24:47
Message-Id: 1651339690.5800593c8efa3bb0975bf4e053e168940708158a.Phil_miess@gentoo
1 commit: 5800593c8efa3bb0975bf4e053e168940708158a
2 Author: Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
3 AuthorDate: Sat Apr 30 17:28:10 2022 +0000
4 Commit: Philip Miess <Phil_miess <AT> yahoo <DOT> com>
5 CommitDate: Sat Apr 30 17:28:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=5800593c
7
8 restore 928 for expeirement
9
10 Signed-off-by: Philip Miess <Philip_Miess <AT> yahoo.com>
11
12 games-action/minecraft-launcher/Manifest | 4 ++
13 games-action/minecraft-launcher/metadata.xml | 8 +++
14 .../minecraft-launcher-1121.ebuild | 64 ++++++++++++++++++++++
15 .../minecraft-launcher-928-r3.ebuild | 58 ++++++++++++++++++++
16 4 files changed, 134 insertions(+)
17
18 diff --git a/games-action/minecraft-launcher/Manifest b/games-action/minecraft-launcher/Manifest
19 new file mode 100644
20 index 0000000..3a90052
21 --- /dev/null
22 +++ b/games-action/minecraft-launcher/Manifest
23 @@ -0,0 +1,4 @@
24 +DIST minecraft-launcher-928.tar.gz 547096 BLAKE2B 8a47c62b5aa313a476cb6fb95e2993f609d3d1adde67802f3ef95df6385938dca424a3037ddb3303615323d10d0cd395807182ac75bae839502f13eb3faf2287 SHA512 57deacc588e8d90c90259841045a3df3b2b4861cb2d95b38e417daa34eee6aad4eebb601c2160627d5d5cd34f309aed854fb78872379cecfc8b976f3e14c8f91
25 +DIST minecraft-launcher.svg 61803 BLAKE2B 6527c869aec955f5e457e57f6c60b6391c29f2bc6f83d72b9a432cc9b77df6fb842549158f38e32a0bec6973d6fac4af3a1a5562cb84b5a4fd1d95de645da842 SHA512 aa08e8fa2a5c1c3e2d714644cb9648adb779c09fff5a9e5b79cea42c53be3f53631d199f72c1eec56e4b4f8e46be8f4ae88fbe456865621b589a7c4f9438549a
26 +EBUILD minecraft-launcher-928-r3.ebuild 1224 BLAKE2B f22d52d05e3383308cbec384861711e8de0ed7093947d7e2c667c9c6c4aeb0c7d80f4d5ce337ba1052212759ce6c11848935fb054eba88eadd4a114f9c787951 SHA512 a83bf272525b9f19b6dca3ec936458719572ea88308635ea1c65f1edd0b5e28fe5b5c53626a1c79d35b51cb152aacdd8b820d8fb3dc0a26c0f6c7fb13e516fb7
27 +MISC metadata.xml 258 BLAKE2B cd6fd4c07f3e7f2e0f007951caac5ebe7d7ccf088d769ce2cd6e38172134c2f898145c77fa9d1efb9288e08b23a189be8dd87708400cbd8e5f926c54a17d756d SHA512 d6e8fa223415d98a85a3be244ce19417ffa534e92ddceab73aa0f6c7c4d329c80db74c918121ff274e7f86e9f26246584a688aefe0e3e6142ca84d20572b127b
28
29 diff --git a/games-action/minecraft-launcher/metadata.xml b/games-action/minecraft-launcher/metadata.xml
30 new file mode 100644
31 index 0000000..2878794
32 --- /dev/null
33 +++ b/games-action/minecraft-launcher/metadata.xml
34 @@ -0,0 +1,8 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <maintainer type="person">
39 + <email>andrewammerlaan@g.o</email>
40 + <name>Andrew Ammerlaan</name>
41 + </maintainer>
42 +</pkgmetadata>
43
44 diff --git a/games-action/minecraft-launcher/minecraft-launcher-1121.ebuild b/games-action/minecraft-launcher/minecraft-launcher-1121.ebuild
45 new file mode 100644
46 index 0000000..e4dc6c7
47 --- /dev/null
48 +++ b/games-action/minecraft-launcher/minecraft-launcher-1121.ebuild
49 @@ -0,0 +1,64 @@
50 +# Copyright 2019-2022 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=7
54 +
55 +inherit desktop xdg
56 +
57 +# We can find which url we need for the latest release here:
58 +# https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
59 +
60 +DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks"
61 +HOMEPAGE="https://www.minecraft.net/"
62 +SRC_URI="https://launcher.mojang.com/v1/objects/ce9e6169550628003e22de8086e9fe1186c2285e/minecraft-launcher -> ${P}
63 + https://launcher.mojang.com/download/minecraft-launcher.svg"
64 +S="${WORKDIR}"
65 +
66 +KEYWORDS="-* ~amd64"
67 +LICENSE="Mojang"
68 +SLOT="0"
69 +
70 +RESTRICT="bindist mirror"
71 +
72 +RDEPEND="
73 + >=x11-libs/gtk+-2.24.32-r1[X(+)]
74 + app-crypt/libsecret
75 + dev-libs/nss
76 + dev-libs/libbsd
77 + dev-libs/libffi:0/8
78 + dev-libs/libpcre
79 + media-libs/alsa-lib
80 + media-libs/openal
81 + net-libs/gnutls[idn]
82 + net-misc/curl[adns]
83 + net-print/cups
84 + sys-apps/dbus
85 + virtual/jre:*
86 + virtual/opengl
87 + x11-apps/xrandr
88 + x11-libs/libXScrnSaver
89 + x11-libs/libXcomposite
90 + x11-libs/libXcursor
91 + x11-libs/libXdamage
92 + x11-libs/libXext
93 + x11-libs/libXfixes
94 + x11-libs/libXi
95 + x11-libs/libXrender
96 + x11-libs/libXtst
97 + x11-libs/xcb-util
98 +"
99 +
100 +QA_PREBUILT="
101 + usr/bin/minecraft-launcher
102 +"
103 +
104 +src_install() {
105 + newbin "${DISTDIR}/${P}" ${PN}
106 +
107 + doicon -s scalable "${DISTDIR}/${PN}.svg"
108 + make_desktop_entry ${PN} "Minecraft" ${PN} Game
109 +}
110 +
111 +
112 +
113 +
114
115 diff --git a/games-action/minecraft-launcher/minecraft-launcher-928-r3.ebuild b/games-action/minecraft-launcher/minecraft-launcher-928-r3.ebuild
116 new file mode 100644
117 index 0000000..39603c8
118 --- /dev/null
119 +++ b/games-action/minecraft-launcher/minecraft-launcher-928-r3.ebuild
120 @@ -0,0 +1,58 @@
121 +# Copyright 2022 Gentoo Authors
122 +# Distributed under the terms of the GNU General Public License v2
123 +
124 +EAPI=7
125 +
126 +inherit desktop xdg
127 +
128 +DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks"
129 +HOMEPAGE="https://www.minecraft.net/"
130 +SRC_URI="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${PV}.tar.gz -> ${P}.tar.gz
131 + https://launcher.mojang.com/download/minecraft-launcher.svg"
132 +
133 +KEYWORDS="-* ~amd64"
134 +LICENSE="Mojang"
135 +SLOT="0"
136 +
137 +RESTRICT="bindist mirror"
138 +
139 +RDEPEND="
140 + >=x11-libs/gtk+-2.24.32-r1[X(+)]
141 + app-crypt/libsecret
142 + dev-libs/nss
143 + dev-libs/libbsd
144 + || ( dev-libs/libffi-compat:7 dev-libs/libffi:0/7 )
145 + dev-libs/libpcre
146 + media-libs/alsa-lib
147 + media-libs/openal
148 + net-libs/gnutls[idn]
149 + net-print/cups
150 + sys-apps/dbus
151 + virtual/jre:1.8
152 + virtual/opengl
153 + x11-apps/xrandr
154 + x11-libs/libXScrnSaver
155 + x11-libs/libXcomposite
156 + x11-libs/libXcursor
157 + x11-libs/libXdamage
158 + x11-libs/libXext
159 + x11-libs/libXfixes
160 + x11-libs/libXi
161 + x11-libs/libXrender
162 + x11-libs/libXtst
163 + x11-libs/xcb-util
164 +"
165 +
166 +S="${WORKDIR}/${PN}"
167 +
168 +QA_PREBUILT="
169 + /usr/bin/minecraft-launcher
170 +"
171 +
172 +src_install() {
173 + dobin minecraft-launcher
174 +
175 + doicon -s scalable "${DISTDIR}/${PN}.svg"
176 + make_desktop_entry ${PN} "Minecraft" ${PN} Game
177 +}
178 +