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/
Date: Mon, 02 May 2022 09:09:18
Message-Id: 1651482351.44225d2d8ac8d653cf9578627ca27d453f8cade4.andrewammerlaan@gentoo
1 commit: 44225d2d8ac8d653cf9578627ca27d453f8cade4
2 Author: Thiago Donato Ferreira <flowlnlnln <AT> gmail <DOT> com>
3 AuthorDate: Sun May 1 20:39:31 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 09:05:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44225d2d
7
8 games-action/polymc: remove 1.1.1
9
10 This version seems to have a really weird bug (#839789) that got fixed
11 in newer versions, besides being already pretty old.
12
13 Thus, users shouldn't use this anymore.
14
15 Bug: https://bugs.gentoo.org/839789
16
17 Signed-off-by: Thiago Donato Ferreira <flowlnlnln <AT> gmail.com>
18 Closes: https://github.com/gentoo/gentoo/pull/25280
19 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
20
21 games-action/polymc/Manifest | 1 -
22 games-action/polymc/polymc-1.1.1.ebuild | 108 --------------------------------
23 2 files changed, 109 deletions(-)
24
25 diff --git a/games-action/polymc/Manifest b/games-action/polymc/Manifest
26 index 98093b7fbfd2..3ec18031f066 100644
27 --- a/games-action/polymc/Manifest
28 +++ b/games-action/polymc/Manifest
29 @@ -1,2 +1 @@
30 -DIST polymc-1.1.1.tar.gz 5116164 BLAKE2B ca251cac3c8ea21de8a59297a0e637dac078d751476fec5fe86696df270c63ff079779056f016fa656506ea205bb7ace50ab6e0df190ffca14e43297b92292af SHA512 db32479e9e8a92ec61292c97281673b3084e1085d29b764214834de872d9eddf2ed1d2e383bcd79197e0c9321eec025af652b12c863596ff6abb0f5fba9a7af5
31 DIST polymc-1.2.1.tar.gz 5157547 BLAKE2B 92a65cd1303b4f2dce299d2a40824de54babd47bd21a894827e7a0e94276551fc747873ba44e63ac13b3ca46649c3d5280ec9eecd92eb63678f8cbc3c27e4f69 SHA512 193415b552dbc3f540f481c22e36c2b9d0604757cb12283ec0fc2979246757937648b76821818f0742b3f5201ed7af8e535dff9ef3d5efcb22f7a1ddf9ee67d2
32
33 diff --git a/games-action/polymc/polymc-1.1.1.ebuild b/games-action/polymc/polymc-1.1.1.ebuild
34 deleted file mode 100644
35 index d036cb15c635..000000000000
36 --- a/games-action/polymc/polymc-1.1.1.ebuild
37 +++ /dev/null
38 @@ -1,108 +0,0 @@
39 -# Copyright 1999-2022 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=8
43 -
44 -inherit cmake java-pkg-2 optfeature xdg
45 -
46 -HOMEPAGE="https://polymc.org/ https://github.com/PolyMC/PolyMC"
47 -DESCRIPTION="A custom, open source Minecraft launcher"
48 -
49 -if [[ ${PV} == 9999 ]]; then
50 - inherit git-r3
51 -
52 - EGIT_REPO_URI="
53 - https://github.com/PolyMC/PolyMC
54 - https://github.com/MultiMC/libnbtplusplus
55 - https://github.com/stachenov/quazip
56 - "
57 -
58 - # Include all submodules
59 - EGIT_SUBMODULES=( '*' )
60 -else
61 - MY_PN="PolyMC"
62 -
63 - # Let's use the vendored tarball to avoid dealing with the submodules directly
64 - SRC_URI="
65 - https://github.com/PolyMC/PolyMC/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
66 - "
67 -
68 - # The PolyMC's files are unpacked to ${WORKDIR}/PolyMC-${PV}
69 - S="${WORKDIR}/${MY_PN}-${PV}"
70 -
71 - KEYWORDS="~amd64"
72 -fi
73 -
74 -# Apache-2.0 for MultiMC (PolyMC is forked from it)
75 -# GPL-3 for PolyMC
76 -# LGPL-3 for libnbtplusplus
77 -# LGPL-2.1 with linking exception for Quazip
78 -# See the rest of PolyMC's libraries at https://github.com/PolyMC/PolyMC/tree/develop/libraries
79 -LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2+ GPL-3 LGPL-3 LGPL-2.1-with-linking-exception OFL-1.1 MIT"
80 -
81 -SLOT="0"
82 -
83 -IUSE="debug"
84 -
85 -MIN_QT="5.6.0"
86 -
87 -QT_DEPS="
88 - >=dev-qt/qtconcurrent-${MIN_QT}:5
89 - >=dev-qt/qtcore-${MIN_QT}:5
90 - >=dev-qt/qtgui-${MIN_QT}:5
91 - >=dev-qt/qtnetwork-${MIN_QT}:5
92 - >=dev-qt/qttest-${MIN_QT}:5
93 - >=dev-qt/qtwidgets-${MIN_QT}:5
94 - >=dev-qt/qtxml-${MIN_QT}:5
95 -"
96 -
97 -DEPEND="
98 - ${QT_DEPS}
99 - media-libs/libglvnd
100 - sys-libs/zlib
101 - >=virtual/jdk-1.8.0:*
102 -"
103 -
104 -# At run-time we don't depend on JDK, only JRE
105 -# And we need more than just the GL headers
106 -RDEPEND="
107 - ${QT_DEPS}
108 - sys-libs/zlib
109 - >=virtual/jre-1.8.0:*
110 - virtual/opengl
111 -"
112 -
113 -src_prepare() {
114 - cmake_src_prepare
115 -}
116 -
117 -src_configure(){
118 - if use debug; then
119 - CMAKE_BUILD_TYPE=Debug
120 - else
121 - # Prepare for LTO in 1.2.0 (?)
122 - # See https://github.com/PolyMC/PolyMC/pull/333
123 - CMAKE_BUILD_TYPE=Release
124 - fi
125 -
126 - local mycmakeargs=(
127 - # Do a system install
128 - -DLauncher_PORTABLE=0
129 - -DCMAKE_INSTALL_PREFIX="/usr"
130 - # Resulting binary is named polymc
131 - -DLauncher_APP_BINARY_NAME="${PN}"
132 - )
133 -
134 - cmake_src_configure
135 -}
136 -
137 -src_compile(){
138 - cmake_src_compile
139 -}
140 -
141 -pkg_postinst() {
142 - xdg_pkg_postinst
143 -
144 - # https://github.com/PolyMC/PolyMC/issues/227
145 - optfeature "old Minecraft (<= 1.12.2) support" x11-libs/libXrandr
146 -}