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: Fri, 09 Sep 2022 16:38:46
Message-Id: 1662741204.df27101c265358f58d1a45e7328708de385b62c7.andrewammerlaan@gentoo
1 commit: df27101c265358f58d1a45e7328708de385b62c7
2 Author: flow <flowlnlnln <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 8 18:22:34 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 16:33:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df27101c
7
8 games-action/polymc: drop 1.3.2
9
10 Signed-off-by: Thiago Donato Ferreira <flowlnlnln <AT> gmail.com>
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 games-action/polymc/Manifest | 1 -
14 games-action/polymc/polymc-1.3.2.ebuild | 115 --------------------------------
15 2 files changed, 116 deletions(-)
16
17 diff --git a/games-action/polymc/Manifest b/games-action/polymc/Manifest
18 index 1b50bf038e81..0b23addb2f04 100644
19 --- a/games-action/polymc/Manifest
20 +++ b/games-action/polymc/Manifest
21 @@ -1,2 +1 @@
22 -DIST polymc-1.3.2.tar.gz 5641952 BLAKE2B f1014c79c394db79e07bcd55c65c930ace80274a83cffc4c8adff58547f3ddf9baa5685ecd7b860c8ec21e4ae4ebf407233d3cb2b8d9ae2a81abd31248b1cebf SHA512 f272248631e76e2cb3b74f3bc91ab3d4f7e7cf4fb7396a09b8bcaf65d928076f49e436e3d7c1a34c32a2cbcf10760709f86cd9c0eca285b66790f25b1c466ea0
23 DIST polymc-1.4.1.tar.gz 5771113 BLAKE2B d55907770d913c814015c4337c0442cb3fdaf92815f3e2f1f496b7869b6da8ee2295260efc3df67e7407ee27d300c4e89900603281e69163c07df216193c05d9 SHA512 170d03b61d3e9edbe1a0b27812e52fb90963d09769327f2d95eab6c4b7c88291136f47a44b7c206808fcc2e0e9ddf4aeb3a3f267ccbdc6b70b44d91c4642bf75
24
25 diff --git a/games-action/polymc/polymc-1.3.2.ebuild b/games-action/polymc/polymc-1.3.2.ebuild
26 deleted file mode 100644
27 index e59146da7e6f..000000000000
28 --- a/games-action/polymc/polymc-1.3.2.ebuild
29 +++ /dev/null
30 @@ -1,115 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -inherit cmake java-pkg-2 optfeature xdg
37 -
38 -HOMEPAGE="https://polymc.org/ https://github.com/PolyMC/PolyMC"
39 -DESCRIPTION="A custom, open source Minecraft launcher"
40 -
41 -if [[ ${PV} == 9999 ]]; then
42 - inherit git-r3
43 -
44 - EGIT_REPO_URI="
45 - https://github.com/PolyMC/PolyMC
46 - https://github.com/PolyMC/libnbtplusplus
47 - "
48 -
49 - EGIT_SUBMODULES=( 'depends/libnbtplusplus' )
50 -else
51 - MY_PN="PolyMC"
52 -
53 - # Let's use the vendored tarball to avoid dealing with the submodules directly
54 - SRC_URI="
55 - https://github.com/PolyMC/PolyMC/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
56 - "
57 -
58 - # The PolyMC's files are unpacked to ${WORKDIR}/PolyMC-${PV}
59 - S="${WORKDIR}/${MY_PN}-${PV}"
60 -
61 - KEYWORDS="~amd64"
62 -fi
63 -
64 -# Apache-2.0 for MultiMC (PolyMC is forked from it)
65 -# GPL-3 for PolyMC
66 -# LGPL-3 for libnbtplusplus
67 -# See the rest of PolyMC's libraries at https://github.com/PolyMC/PolyMC/tree/develop/libraries
68 -LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2+ GPL-3 LGPL-3 OFL-1.1 MIT"
69 -
70 -SLOT="0"
71 -
72 -IUSE="debug lto"
73 -REQUIRED_USE="
74 - lto? ( !debug )
75 -"
76 -
77 -MIN_QT="5.12.0"
78 -
79 -QT_DEPS="
80 - >=dev-qt/qtconcurrent-${MIN_QT}:5
81 - >=dev-qt/qtcore-${MIN_QT}:5
82 - >=dev-qt/qtgui-${MIN_QT}:5
83 - >=dev-qt/qtnetwork-${MIN_QT}:5
84 - >=dev-qt/qttest-${MIN_QT}:5
85 - >=dev-qt/qtwidgets-${MIN_QT}:5
86 - >=dev-qt/qtxml-${MIN_QT}:5
87 -"
88 -
89 -# Required at both build-time and run-time
90 -COMMON_DEPENDS="
91 - ${QT_DEPS}
92 - >=dev-libs/quazip-1.3:=[qt5(+)]
93 - sys-libs/zlib
94 -"
95 -
96 -DEPEND="
97 - ${COMMON_DEPENDS}
98 - media-libs/libglvnd
99 - >=virtual/jdk-1.8.0:*
100 -"
101 -
102 -# At run-time we don't depend on JDK, only JRE
103 -# And we need more than just the GL headers
104 -RDEPEND="
105 - ${COMMON_DEPENDS}
106 - >=virtual/jre-1.8.0:*
107 - virtual/opengl
108 -"
109 -
110 -src_prepare() {
111 - cmake_src_prepare
112 -
113 - # Prevent conflicting with the user's flags
114 - # See https://bugs.gentoo.org/848765 for more info
115 - sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed'
116 -}
117 -
118 -src_configure(){
119 - local mycmakeargs=(
120 - -DCMAKE_INSTALL_PREFIX="/usr"
121 - # Resulting binary is named polymc
122 - -DLauncher_APP_BINARY_NAME="${PN}"
123 -
124 - -DENABLE_LTO=$(usex lto)
125 - )
126 -
127 - if use debug; then
128 - CMAKE_BUILD_TYPE=Debug
129 - else
130 - CMAKE_BUILD_TYPE=Release
131 - fi
132 -
133 - cmake_src_configure
134 -}
135 -
136 -src_compile(){
137 - cmake_src_compile
138 -}
139 -
140 -pkg_postinst() {
141 - xdg_pkg_postinst
142 -
143 - # https://github.com/PolyMC/PolyMC/issues/227
144 - optfeature "old Minecraft (<= 1.12.2) support" x11-libs/libXrandr
145 -}