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/polymc/files/, profiles/, games-action/polymc/
Date: Sun, 06 Nov 2022 07:59:55
Message-Id: 1667721585.19a8f17595a0e1717879a2f2626d13da2dbabc6f.andrewammerlaan@gentoo
1 commit: 19a8f17595a0e1717879a2f2626d13da2dbabc6f
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 6 07:59:23 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 6 07:59:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a8f175
7
8 games-action/polymc: treeclean
9
10 Bug: https://bugs.gentoo.org/877495
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 games-action/polymc/Manifest | 1 -
14 .../polymc/files/polymc-1.4.1-include_QDebug.patch | 16 ---
15 games-action/polymc/metadata.xml | 29 -----
16 games-action/polymc/polymc-1.4.2-r2.ebuild | 135 ---------------------
17 profiles/package.mask | 11 --
18 5 files changed, 192 deletions(-)
19
20 diff --git a/games-action/polymc/Manifest b/games-action/polymc/Manifest
21 deleted file mode 100644
22 index a1bac66848dd..000000000000
23 --- a/games-action/polymc/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST polymc-1.4.2.tar.gz 5766773 BLAKE2B 0d40f2b1fc6df28089d874a2de949b24a719936b0961fa08a0e909a82931b411926464328ada8ec05c148ba39e405ff9f4d336fc4ade316725756e235231eb60 SHA512 6212752a176e0d3414f66b013b46adc500c5d9e7fa250646aaf9b6bd42b9cbaa7c23282c7da6105e37d6ae77f790cd0036ad4e07b8aa50b611d41045035bc533
27
28 diff --git a/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch b/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
29 deleted file mode 100644
30 index 0ad85d958d34..000000000000
31 --- a/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
32 +++ /dev/null
33 @@ -1,16 +0,0 @@
34 -add explicit QDebug include in PollServer
35 -https://bugs.gentoo.org/869395
36 ---- a/libraries/katabasis/src/PollServer.cpp
37 -+++ b/libraries/katabasis/src/PollServer.cpp
38 -@@ -1,6 +1,8 @@
39 - #include <QNetworkAccessManager>
40 - #include <QNetworkReply>
41 -
42 -+#include <QDebug>
43 -+
44 - #include "katabasis/PollServer.h"
45 - #include "JsonResponse.h"
46 -
47 ---
48 -2.37.3
49 -
50
51 diff --git a/games-action/polymc/metadata.xml b/games-action/polymc/metadata.xml
52 deleted file mode 100644
53 index f704149126f6..000000000000
54 --- a/games-action/polymc/metadata.xml
55 +++ /dev/null
56 @@ -1,29 +0,0 @@
57 -<?xml version="1.0" encoding="UTF-8"?>
58 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
59 -<pkgmetadata>
60 - <maintainer type="person" proxied="yes">
61 - <email>flowlnlnln@×××××.com</email>
62 - <name>Thiago Donato Ferreira</name>
63 - </maintainer>
64 - <maintainer type="person" proxied="yes">
65 - <email>swurl@×××××.xyz</email>
66 - <name>Carson Rueter</name>
67 - </maintainer>
68 - <maintainer type="person" proxied="proxy">
69 - <email>andrewammerlaan@g.o</email>
70 - <name>Andrew Ammerlaan</name>
71 - </maintainer>
72 - <maintainer type="project" proxied="proxy">
73 - <email>proxy-maint@g.o</email>
74 - <name>Proxy Maintainers</name>
75 - </maintainer>
76 - <upstream>
77 - <bugs-to>https://github.com/PolyMC/PolyMC/issues</bugs-to>
78 - <doc>https://polymc.org/wiki/</doc>
79 - <remote-id type="github">PolyMC/PolyMC</remote-id>
80 - </upstream>
81 - <longdescription>PolyMC is a multi-instance Minecraft launcher focused on user freedom, redistributability, and simplicity.</longdescription>
82 - <use>
83 - <flag name="lto">Enable link-time optimization</flag>
84 - </use>
85 -</pkgmetadata>
86
87 diff --git a/games-action/polymc/polymc-1.4.2-r2.ebuild b/games-action/polymc/polymc-1.4.2-r2.ebuild
88 deleted file mode 100644
89 index b14fd617e73b..000000000000
90 --- a/games-action/polymc/polymc-1.4.2-r2.ebuild
91 +++ /dev/null
92 @@ -1,135 +0,0 @@
93 -# Copyright 1999-2022 Gentoo Authors
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI=8
97 -
98 -inherit cmake java-pkg-2 optfeature xdg
99 -
100 -HOMEPAGE="https://polymc.org/ https://github.com/PolyMC/PolyMC"
101 -DESCRIPTION="A custom, open source Minecraft launcher"
102 -
103 -if [[ ${PV} == 9999 ]]; then
104 - inherit git-r3
105 -
106 - EGIT_REPO_URI="
107 - https://github.com/PolyMC/PolyMC
108 - "
109 -
110 - EGIT_SUBMODULES=( 'depends/libnbtplusplus' )
111 -else
112 - MY_PN="PolyMC"
113 -
114 - # Let's use the vendored tarball to avoid dealing with the submodules directly
115 - SRC_URI="
116 - https://github.com/PolyMC/PolyMC/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
117 - "
118 -
119 - # The PolyMC's files are unpacked to ${WORKDIR}/PolyMC-${PV}
120 - S="${WORKDIR}/${MY_PN}-${PV}"
121 -
122 - KEYWORDS="~amd64"
123 -fi
124 -
125 -# Apache-2.0 for MultiMC (PolyMC is forked from it)
126 -# GPL-3 for PolyMC
127 -# LGPL-3+ for libnbtplusplus
128 -# See the rest of PolyMC's libraries at https://github.com/PolyMC/PolyMC/tree/develop/libraries
129 -LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+ MIT"
130 -
131 -SLOT="0"
132 -
133 -IUSE="debug lto test"
134 -REQUIRED_USE="
135 - lto? ( !debug )
136 -"
137 -
138 -RESTRICT="!test? ( test )"
139 -
140 -MIN_QT="5.12.0"
141 -QT_SLOT=5
142 -
143 -QT_DEPS="
144 - >=dev-qt/qtconcurrent-${MIN_QT}:${QT_SLOT}
145 - >=dev-qt/qtcore-${MIN_QT}:${QT_SLOT}
146 - >=dev-qt/qtgui-${MIN_QT}:${QT_SLOT}
147 - >=dev-qt/qtnetwork-${MIN_QT}:${QT_SLOT}
148 - >=dev-qt/qttest-${MIN_QT}:${QT_SLOT}
149 - >=dev-qt/qtwidgets-${MIN_QT}:${QT_SLOT}
150 - >=dev-qt/qtxml-${MIN_QT}:${QT_SLOT}
151 -"
152 -
153 -# Required at both build-time and run-time
154 -COMMON_DEPENDS="
155 - ${QT_DEPS}
156 - >=dev-libs/quazip-1.3:=[qt5(+)]
157 - sys-libs/zlib
158 -"
159 -
160 -BDEPEND="
161 - app-text/scdoc
162 - kde-frameworks/extra-cmake-modules:5
163 -"
164 -
165 -DEPEND="
166 - ${COMMON_DEPENDS}
167 - media-libs/libglvnd
168 - >=virtual/jdk-1.8.0:*
169 -"
170 -
171 -# At run-time we don't depend on JDK, only JRE
172 -# And we need more than just the GL headers
173 -RDEPEND="
174 - ${COMMON_DEPENDS}
175 -
176 - >=dev-qt/qtsvg-${MIN_QT}:${QT_SLOT}
177 -
178 - >=virtual/jre-1.8.0:*
179 - virtual/opengl
180 -"
181 -
182 -PATCHES=(
183 - "${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
184 -)
185 -
186 -src_prepare() {
187 - cmake_src_prepare
188 -
189 - # Prevent conflicting with the user's flags
190 - # See https://bugs.gentoo.org/848765 for more info
191 - sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed'
192 -}
193 -
194 -src_configure(){
195 - local mycmakeargs=(
196 - -DCMAKE_INSTALL_PREFIX="/usr"
197 - # Resulting binary is named polymc
198 - -DLauncher_APP_BINARY_NAME="${PN}"
199 - # Force Qt5 to avoid accidentaly building the Qt6 version and breaking things
200 - -DLauncher_QT_VERSION_MAJOR=${QT_SLOT}
201 -
202 - -DENABLE_LTO=$(usex lto)
203 - -DBUILD_TESTING=$(usex test)
204 - )
205 -
206 - if use debug; then
207 - CMAKE_BUILD_TYPE=Debug
208 - else
209 - CMAKE_BUILD_TYPE=Release
210 - fi
211 -
212 - cmake_src_configure
213 -}
214 -
215 -src_compile(){
216 - cmake_src_compile
217 -}
218 -
219 -pkg_postinst() {
220 - xdg_pkg_postinst
221 -
222 - # https://github.com/PolyMC/PolyMC/issues/227
223 - optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
224 -
225 - optfeature "built-in MangoHud support" games-util/mangohud
226 - optfeature "built-in Feral Gamemode support" games-util/gamemode
227 -}
228
229 diff --git a/profiles/package.mask b/profiles/package.mask
230 index 66ffbbc2fbfb..729b04d12cae 100644
231 --- a/profiles/package.mask
232 +++ b/profiles/package.mask
233 @@ -210,17 +210,6 @@ dev-python/eventlet
234 # Bug #722092, #749900, #762169, #840656, #845381, #858392, #866701.
235 dev-util/nvidia-cuda-sdk
236
237 -# Andrew Ammerlaan <andrewammerlaan@g.o> (2022-10-17)
238 -# Hostile takeover ongoing, integrity cannot be guaranteed.
239 -# Use the release version only if you change the meta server setting.
240 -# Use games-action/multimc-bin or games-action/prismlauncher instead
241 -# to be completely safe.
242 -# https://bugs.gentoo.org/877495
243 -#
244 -# Update (2022-10-20)
245 -# Removal in 15 days, please install games-action/prismlauncher instead
246 -games-action/polymc
247 -
248 # Michał Górny <mgorny@g.o> (2022-10-17)
249 # Unmaintained since 2018. Requires dev-python/nose. No revdeps left.
250 # Removal on 2022-11-16. Bug #877375.