diff options
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/Manifest.gz | bin | 14371 -> 14372 bytes | |||
-rw-r--r-- | games-action/armagetronad/Manifest | 4 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.9.2.3.ebuild (renamed from games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild) | 8 | ||||
-rw-r--r-- | games-action/barrage/Manifest | 4 | ||||
-rw-r--r-- | games-action/barrage/barrage-1.0.7.ebuild (renamed from games-action/barrage/barrage-1.0.5.ebuild) | 2 | ||||
-rw-r--r-- | games-action/extreme-tuxracer/Manifest | 2 | ||||
-rw-r--r-- | games-action/extreme-tuxracer/extreme-tuxracer-0.8.4.ebuild | 38 | ||||
-rw-r--r-- | games-action/prismlauncher/Manifest | 4 | ||||
-rw-r--r-- | games-action/prismlauncher/prismlauncher-8.4.ebuild | 154 | ||||
-rw-r--r-- | games-action/prismlauncher/prismlauncher-9999.ebuild | 46 |
10 files changed, 223 insertions, 39 deletions
diff --git a/games-action/Manifest.gz b/games-action/Manifest.gz Binary files differindex 671afa62fc9d..fc4c7b904537 100644 --- a/games-action/Manifest.gz +++ b/games-action/Manifest.gz diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest index 17c2f32a322e..f67c6aac7037 100644 --- a/games-action/armagetronad/Manifest +++ b/games-action/armagetronad/Manifest @@ -1,4 +1,4 @@ AUX armagetronad-0.2.9.1.0-AR.patch 242 BLAKE2B ac48c365a56cecfb148752949def751bb63d6bfab51e406da9c0ebcc495cd2ce5a3954f9eae7235bd4759d83b7a6eaf9d2c4038f649b321a777bbd113d790d0d SHA512 d1812fc8ca2292ad0536978cdba31f1e0806f729519767ff1a1c75b04ee49bf7fc0eed3b7c63a485600956455875dd5f270b0ecddcf021478b81a057f8746902 -DIST armagetronad-0.2.9.1.0.tbz 1943758 BLAKE2B ed4ecef19125d69faf402829b88288124dd364eafc836be3848727c2bfbd87ca29e18b48448dc868fb995947b2daae150c3b9f5dcf048d0d90d442f5bcf425f0 SHA512 8c2b9cba7d480dec6d7d60984327a5d45c8c87b968fb81a1e192973e6826ddb66c8d41ca82bb04d80da5c6fa2152d19dd890957dabc6cc5ce2d4dffbc45d1f65 -EBUILD armagetronad-0.2.9.1.0.ebuild 1363 BLAKE2B b00f8ed0b7aae8fda36b2141692ec0adb020afb9dd241628d621dc48b440f6fe72122ca0afe7c4274860d8d597dfaf65f27590302b78698644821243de07ed16 SHA512 bdeeabbed4ffb9cb3571410cf3c31694b30ec427da8fcc9ec7ee4454eae8a039dde746b9e1ae67eefbf542bb172ca88d21c03db2b7b488dea67fd139ae8a75bf +DIST armagetronad-0.2.9.2.3.tbz 1834233 BLAKE2B 9b7d09ca7952ffe67a50be01c44adef81640e8cf222158477f66487ea89c7b25e1675bb9308ba71023ce045a4ea739891ce2273d5aa017cef2fa81128c71774c SHA512 813911a75fa1b3a90d99d62c0c38e9b325166623280c0d6a8217f8ca905b4a4617401db12bda898d82aa086a1bd673b31741b95b60b0f1247e6a5677a48c98eb +EBUILD armagetronad-0.2.9.2.3.ebuild 1379 BLAKE2B e3d8a1e3c0f2a97c781aac496e5b34e0a4d5f165cd575368748eb5aef416cd6c90efb4ea001c20da36ee24c529c2a0e93fdcd089531365a06e9e82b3f015b523 SHA512 aec2c0acf779d0d7593370f25ce025f626d9b17d68f16e814581d21a03c21a814c067e295e8e2e05261d2cb77b1ac039fa7471dee7400419707eddca746de1df MISC metadata.xml 399 BLAKE2B 55dea66aae7f57faad45e53bed978b6f0170aad9268f32a608340c8ca596470c935c1ec37bc40525e12cae3fc0b474234a9b122bcda38eded9d089a67f564453 SHA512 026bd7a6eaca086e6c990e27ba6b3c409baa5fd78f40b5d51ca1612e364b83477e7e5dcbc7374b7cae008ad3d3a14e49ddfba8af0447e6c6f8f88b775237c648 diff --git a/games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild b/games-action/armagetronad/armagetronad-0.2.9.2.3.ebuild index 93180672cd3d..2425322ba9a9 100644 --- a/games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild +++ b/games-action/armagetronad/armagetronad-0.2.9.2.3.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools desktop DESCRIPTION="Fast-paced 3D lightcycle game based on Tron" -HOMEPAGE="http://armagetronad.org/" +HOMEPAGE="https://www.armagetronad.org/" SRC_URI="https://launchpad.net/armagetronad/$(ver_cut 1-3)/${PV}/+download/armagetronad-${PV}.tbz" LICENSE="GPL-2+" @@ -27,7 +27,7 @@ RDEPEND=" DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/${P}-AR.patch + "${FILESDIR}"/${PN}-0.2.9.1.0-AR.patch ) src_prepare() { diff --git a/games-action/barrage/Manifest b/games-action/barrage/Manifest index de7e58014786..5c06927a08e8 100644 --- a/games-action/barrage/Manifest +++ b/games-action/barrage/Manifest @@ -1,3 +1,3 @@ -DIST barrage-1.0.5.tar.gz 510221 BLAKE2B 31d0cc322bcd3d896fc11bc0df5246948493e0e3c9c47ddfea598d1f1e3751e1c3bf06123535f88812e6c5e5a2da92c6c7a1c39deedeb6b93938c615de143629 SHA512 a57a46ba1fa8719c6e115522c940edc58027baf8ea11858ca6ac45603f59e373a9ef4ce825a49d6bb05f8935bfbd81e5587c69ce153e64494f7dc1bb9e35f13d -EBUILD barrage-1.0.5.ebuild 893 BLAKE2B ccf0b46290fd5bd9f433378cdf6ac58426d192082d347a59f4c3bd7d7a99661cbf16e24fc91dde1579c2efe1b05ea53dbce6feee1287cd86c95c84d67e966ee6 SHA512 7d6d74c24558aca520b7c8f82a9e076a6c6ba0d1a1c33f8526bc6c8dcfdcd2b77c715e0e429f6d356db94654049bc8fbffbbd89897e4a630caf55bc62dc03db7 +DIST barrage-1.0.7.tar.gz 510855 BLAKE2B 568955d1c4027914ba79c3372e1d51d8acfe43061e02b42b228ec01d991ea98cf532ec9668129ed1cddf7e3fbe00fb372f5839f44aa1a04b8545fe3d2ac4f86f SHA512 b121088cb9e281e5046bc2d86b01a88bac56510217a72ad4a6e529a6434744a1a3e4bfe2b9858342a5a4ca2b923a788e22fa46e7ada703934da14d6dac459826 +EBUILD barrage-1.0.7.ebuild 893 BLAKE2B df1a5755ceae3fe616e6af5fdfbc5d05ca55fc2c3a1624381552752666890947f1a1df711a2f27be1f49b68b5b11ca1e3aa6a31151c64285d0dd71937d30a43d SHA512 75711ddd7485936181e66908ac4986cab421808dcb080d20d5fe309e3dbfde1abd29591d2c77bcdc1631548d525ae46e16b1e8bcb7bab3f59c3f9651ffe474b7 MISC metadata.xml 330 BLAKE2B c3558f913e218100d9286ae5bda3c37cc71ed166a0477b6bb969b96d721efab604075a1df9233ee64e47ca046ed6e3299dd37e770abb2dfee1fc48400f0a88ec SHA512 e51b6815c6794c8d5e968c29cdd561eafb3b78316c3dc62da59ecbefb9e268fd5e00f7351ed8e04d05e329fbaceae60bf7f9c91de2a10b0d4ee4b938059fbb33 diff --git a/games-action/barrage/barrage-1.0.5.ebuild b/games-action/barrage/barrage-1.0.7.ebuild index 53f48fea91d1..66f1dcbc21a1 100644 --- a/games-action/barrage/barrage-1.0.5.ebuild +++ b/games-action/barrage/barrage-1.0.7.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop diff --git a/games-action/extreme-tuxracer/Manifest b/games-action/extreme-tuxracer/Manifest index d4b51fd07e4a..48b70bd0fb2b 100644 --- a/games-action/extreme-tuxracer/Manifest +++ b/games-action/extreme-tuxracer/Manifest @@ -1,3 +1,5 @@ DIST extreme-tuxracer-0.8.2.tar.xz 40828312 BLAKE2B dfc550457ac37f4aa0c649e1368610eb417e450eea454ed20dd57d7799f376714531861da69683ea1437f222ebd18acd8ccb14c5ce97c9225185d5bf6c8ef49d SHA512 572b494e82f00853b38b3913f0ef34d0a5c0b6655626fa6c72c76f7a41f723ff6fc3c20ca54d835ed5dba462f22896882e9c37ddf5b3e840ea14af3d336addb8 +DIST extreme-tuxracer-0.8.4.tar.xz 40862904 BLAKE2B 4e49f2d3912a91bb9866a42361e919c474c4e9190bae3b6eaa1d568e628958c3aaf735a190128ca4335a40220f6d15186c515c93a7eaa7f17121a81a826feb20 SHA512 65d54bfef59cf83eec9ee761ac24c728d3118cf47105920f22057b59425eba65e03967196d4a93039f30b9420e67b10f296ec7deed7e506ad78c7bb5ce5ed0d2 EBUILD extreme-tuxracer-0.8.2.ebuild 922 BLAKE2B 3d8b6975f707cb6e28396de6bdc3fbe16b56326ea48ab9cbc02f0cea8dd241fc71fe1db5cb68335f2d3a07380b396bc4fec1d2e30eaaa38fda588ec86b8a4326 SHA512 0772bbe125c66a9685d59a3bd8e6d4d3c52bcc4d7e4ee0b466046ab8f96f00e260bac84f34e8b415b4eee148da249d9e946a12140abc7082356f2f9d741969b3 +EBUILD extreme-tuxracer-0.8.4.ebuild 941 BLAKE2B aff2946f3b03a266b0954160e4859b1328bf9db79659d1eac3c3e16e34c2fc00538092a46742eb06424e7644e7db3dda73e54fc31af0ffa21bb816d2a9aae492 SHA512 39ddee3933d2794c7acec3127584d31c197eb7ad1ff0c99a785842c820b256cf9493102b0425412421df7c985f84e2f28d0851648cf0064ab305fc038ecba2b6 MISC metadata.xml 531 BLAKE2B 4e847de0a2cd5b98d1ce466f105b477a7c0dd84660c7f208c46253fb66a9d320d5eedb9cf8f98a44f23e2b9285c005e4baf5479d5361697818718208a10a00c7 SHA512 31f55592d0693cc57726b668419bb8c370873bcfc770ad7054c3527510ad5203bb861ee81c0429ccc203a4b24bfb13996803b6428b5eafb77587a33a4bf348f3 diff --git a/games-action/extreme-tuxracer/extreme-tuxracer-0.8.4.ebuild b/games-action/extreme-tuxracer/extreme-tuxracer-0.8.4.ebuild new file mode 100644 index 000000000000..da4778f4f9f0 --- /dev/null +++ b/games-action/extreme-tuxracer/extreme-tuxracer-0.8.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop xdg + +DESCRIPTION="High speed arctic racing game based on Tux Racer" +HOMEPAGE="https://sourceforge.net/p/extremetuxracer/wiki/Home/" +SRC_URI="https://download.sourceforge.net/extremetuxracer/etr-${PV}.tar.xz -> ${P}.tar.xz" +S="${WORKDIR}/etr-${PV/_/}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=media-libs/libsfml-2.4:0= + virtual/glu + virtual/opengl +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + # kind of ugly in there so we'll do it ourselves + sed -i -e '/SUBDIRS/s/resources doc//' Makefile.am || die + eautoreconf +} + +src_install() { + default + dodoc doc/{code,courses_events,guide,score_algorithm} + doicon -s 64 resources/etr.png + doicon -s scalable resources/etr.svg + domenu resources/net.sourceforge.extremetuxracer.desktop +} diff --git a/games-action/prismlauncher/Manifest b/games-action/prismlauncher/Manifest index 4985bb6d62e8..fd65006bba30 100644 --- a/games-action/prismlauncher/Manifest +++ b/games-action/prismlauncher/Manifest @@ -1,7 +1,9 @@ AUX prismlauncher-8.2-openjdk21.patch 1541 BLAKE2B 80f38e970dbe448e3251ea90ef77e780aaf85c9ebf579affbf06690cafdbe4581066eaef7c6551a13198ab9aa51bc9b2137ec8f02c2b6ee83fce0ae0299436df SHA512 f3ef51239de85052e4c47bf61132b36975309eeac4281a31a8f78e4b9aecb20dbb6a2dee262c0fe8f634b2e0a690ca73f6223e389f73532a5033f335d39cd7ab DIST prismlauncher-8.2.tar.gz 8437675 BLAKE2B 3eee060dbc80ca690b344875caa20b27d8949b1e972602d1d383e1ae394404408d74dece11b47f940948ac2c437bd73fadf56d4e492daa34adef1c1eade66bc9 SHA512 6a0988a83e36df0da328fed0efe93171f8b4c565622f8eddf885e6e019214b15b8f64485ce1d9982dd441fad7c4aac8d1647e1b4dbf2cdb8ebadc46f664857ad DIST prismlauncher-8.3.tar.gz 8412178 BLAKE2B 47244a8ec09ad12bf902660d114835ef0c142dd7cf740e8fe3771c08dd39ff5ab5f9e043d17c03dce1986c0a37b421868d4d3d939b35bdb9c237b2f72925be79 SHA512 c4153fbfd5b6c09ecf2d78d95a629e78685a45a85ccbb5d7f8e4ec7bf7efb66d72f5eee0947ccb13090b4a8429b00cb92fdf96bb0dbe435b61a285d7517d37b2 +DIST prismlauncher-8.4.tar.gz 8444486 BLAKE2B c7950df3d843e370914e2a72c71847a71ab0446508a464ce04ded007b0b3170e8119bb30455d1022fda98cd49f16528a63f5589766561cfc15950c6823779b6f SHA512 24307e6f2a34c459153def5ee639c9a37d3ec3e54bf81dc7d7da8263ee58e16f2391101732889d3b00a1b923704aa21756fad4ee288665e45962032b1d9e8de9 EBUILD prismlauncher-8.2-r1.ebuild 4646 BLAKE2B 9b15b424cc9c36cd79ac75c874c39bc65160dd69499795a463196eed44bda2fdbec4a8975abc2690ff2a90d386cd5f93c910ee9b1e799c47be88f82d3432ddd5 SHA512 fa99861333ea8fbd18957c4fb373492e37546ed431d4a1b5e3184ca579db21c9eb20bf7d87e4583cfb99db4db6ffe9ea575ff1f9a45aa76e198af43f8dd50853 EBUILD prismlauncher-8.3.ebuild 4622 BLAKE2B 0ba5af111c95e6f3cc679c1020fcfae33cb58fe690a51d1884ff696a4757077855a0cb659bc89ae5438d4ba8924f786d742f916ef6951d28cc0ca6161b95ccc4 SHA512 6de0ce1bcf1a34e16047951153c1d9b254b9c9e46a927aa56a2c79d42f88bef08ee898c5ce84a02af6a86db4de355c3fe37df18d2f6058fd34f5e3498e573708 -EBUILD prismlauncher-9999.ebuild 4622 BLAKE2B 0ba5af111c95e6f3cc679c1020fcfae33cb58fe690a51d1884ff696a4757077855a0cb659bc89ae5438d4ba8924f786d742f916ef6951d28cc0ca6161b95ccc4 SHA512 6de0ce1bcf1a34e16047951153c1d9b254b9c9e46a927aa56a2c79d42f88bef08ee898c5ce84a02af6a86db4de355c3fe37df18d2f6058fd34f5e3498e573708 +EBUILD prismlauncher-8.4.ebuild 4206 BLAKE2B d20e314f5a75ea8d88ae0888d5a22706fa94189dc36ca78c10ad4b66cd77edbeb6e4a70cdfb5fe890b1e251696607ee686644da00268a84adf6f787219c66eee SHA512 0b35dab996d3194fea8a5ff6b39e08769281a3bd18ced5a36445067dc7df2c574bedb342392afd0d1014718aed4795db1230538a825d5f24580f78ce7a454799 +EBUILD prismlauncher-9999.ebuild 4206 BLAKE2B d20e314f5a75ea8d88ae0888d5a22706fa94189dc36ca78c10ad4b66cd77edbeb6e4a70cdfb5fe890b1e251696607ee686644da00268a84adf6f787219c66eee SHA512 0b35dab996d3194fea8a5ff6b39e08769281a3bd18ced5a36445067dc7df2c574bedb342392afd0d1014718aed4795db1230538a825d5f24580f78ce7a454799 MISC metadata.xml 1026 BLAKE2B 645b49b0a9848a1c8b48184bc3df7f1049b0292a90b19b391feda2f9f036af10adf6be79af266dfac0e032fa9524fdd39fd54cfdd71d9e63d5e221b5abd1ee7c SHA512 506f5cf43fc44bf192c17b52fab92a3e57bd87dff3226bbe5a7376040a23be5903a0c009a42dc71604d316f897e8d98f5fe53a04abe0758284b9e1b2b0e66a72 diff --git a/games-action/prismlauncher/prismlauncher-8.4.ebuild b/games-action/prismlauncher/prismlauncher-8.4.ebuild new file mode 100644 index 000000000000..82820693349e --- /dev/null +++ b/games-action/prismlauncher/prismlauncher-8.4.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake java-pkg-2 optfeature toolchain-funcs xdg + +DESCRIPTION="A custom, open source Minecraft launcher" +HOMEPAGE="https://prismlauncher.org/ https://github.com/PrismLauncher/PrismLauncher" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI=" + https://github.com/PrismLauncher/PrismLauncher + " + + EGIT_SUBMODULES=( + '*' '-libraries/cmark' '-libraries/extra-cmake-modules' '-libraries/filesystem' '-libraries/quazip' + '-libraries/tomlplusplus' '-libraries/zlib' + ) +else + MY_PN="PrismLauncher" + + # Let's use the vendored tarball to avoid dealing with the submodules directly + SRC_URI=" + https://github.com/PrismLauncher/PrismLauncher/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz + " + + # The Prism's files are unpacked to ${WORKDIR}/PrismLauncher-${PV} + S="${WORKDIR}/${MY_PN}-${PV}" + + KEYWORDS="~amd64 ~arm64" +fi + +# GPL-3 for PolyMC (PrismLauncher is forked from it) and Prism itself +# Apache-2.0 for MultiMC (PolyMC is forked from it) +# LGPL-3+ for libnbtplusplus +# See the rest of PrismLauncher's libraries at https://github.com/PrismLauncher/PrismLauncher/tree/develop/libraries +LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+" + +SLOT="0" + +IUSE="qt6 test" + +RESTRICT="!test? ( test )" + +MIN_QT_5_VERSION="5.12.0" +MIN_QT_6_VERSION="6.0.0" + +QT_DEPS=" + !qt6? ( + >=dev-qt/qtconcurrent-${MIN_QT_5_VERSION}:5 + >=dev-qt/qtcore-${MIN_QT_5_VERSION}:5 + >=dev-qt/qtgui-${MIN_QT_5_VERSION}:5 + >=dev-qt/qtnetwork-${MIN_QT_5_VERSION}:5 + >=dev-qt/qttest-${MIN_QT_5_VERSION}:5 + >=dev-qt/qtwidgets-${MIN_QT_5_VERSION}:5 + >=dev-qt/qtxml-${MIN_QT_5_VERSION}:5 + ) + + qt6? ( + >=dev-qt/qtbase-${MIN_QT_6_VERSION}:6[concurrent,gui,network,widgets,xml(+)] + >=dev-qt/qt5compat-${MIN_QT_6_VERSION}:6 + ) +" + +# Required at both build-time and run-time +COMMON_DEPENDS=" + ${QT_DEPS} + + !qt6? ( >=dev-libs/quazip-1.3:=[qt5(+)] ) + qt6? ( >=dev-libs/quazip-1.3:=[qt6(-)] ) + + app-text/cmark:= + dev-cpp/tomlplusplus + sys-libs/zlib +" + +BDEPEND=" + app-text/scdoc + kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig +" + +# The gulrak-filesystem dependency is only needed at build time, because we don't actually use it on Linux, +# only on legacy macOS. Still, we need it present at build time to appease CMake, and having it like this +# makes it easier to maintain than patching the CMakeLists file directly. +DEPEND=" + ${COMMON_DEPENDS} + dev-cpp/gulrak-filesystem + media-libs/libglvnd + >=virtual/jdk-1.8.0:* +" + +# QtSvg imageplugin needed at runtime for svg icons. Its used via QIcon. +# At run-time we don't depend on JDK, only JRE +# And we need more than just the GL headers +RDEPEND=" + ${COMMON_DEPENDS} + + !qt6? ( >=dev-qt/qtsvg-${MIN_QT_5_VERSION}:5 ) + qt6? ( >=dev-qt/qtsvg-${MIN_QT_6_VERSION}:6 ) + + >=virtual/jre-1.8.0:* + virtual/opengl +" + +src_prepare() { + cmake_src_prepare + + local java="$(java-config -f)" + local java_version=${java//[^0-9]/} + if [[ ${java_version} -ge 20 ]]; then + elog "Java 20 and up has dropped binary compatibility with java 7." + elog "${PN} is being compiled with java ${java_version}." + elog "The sources will be patched to build binary compatible with" + elog "java 8 instead of java 7. This may cause issues with very old" + elog "Minecraft versions and/or older forge versions." + elog + elog "If you experience any problems, install an older java compiler" + elog "and select it with \"eselect java\", then recompile ${PN}." + eapply "${FILESDIR}/${PN}-8.2-openjdk21.patch" + fi +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="/usr" + # Resulting binary is named prismlauncher + -DLauncher_APP_BINARY_NAME="${PN}" + -DLauncher_BUILD_PLATFORM="Gentoo" + -DLauncher_QT_VERSION_MAJOR=$(usex qt6 6 5) + + -DENABLE_LTO=$(tc-is-lto) + -DBUILD_TESTING=$(usex test) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +pkg_postinst() { + xdg_pkg_postinst + + # Original issue: https://github.com/PolyMC/PolyMC/issues/227 + optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr + + optfeature "built-in MangoHud support" games-util/mangohud + optfeature "built-in Feral Gamemode support" games-util/gamemode +} diff --git a/games-action/prismlauncher/prismlauncher-9999.ebuild b/games-action/prismlauncher/prismlauncher-9999.ebuild index 5e485a25b6f6..82820693349e 100644 --- a/games-action/prismlauncher/prismlauncher-9999.ebuild +++ b/games-action/prismlauncher/prismlauncher-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake java-pkg-2 optfeature xdg +inherit cmake java-pkg-2 optfeature toolchain-funcs xdg DESCRIPTION="A custom, open source Minecraft launcher" HOMEPAGE="https://prismlauncher.org/ https://github.com/PrismLauncher/PrismLauncher" @@ -15,8 +15,10 @@ if [[ ${PV} == 9999 ]]; then https://github.com/PrismLauncher/PrismLauncher " - # TODO: Add tomlplusplus as a system library, like quazip - EGIT_SUBMODULES=( '*' '-libraries/quazip' '-libraries/filesystem' '-libraries/zlib' '-libraries/extra-cmake-modules' '-libraries/cmark' ) + EGIT_SUBMODULES=( + '*' '-libraries/cmark' '-libraries/extra-cmake-modules' '-libraries/filesystem' '-libraries/quazip' + '-libraries/tomlplusplus' '-libraries/zlib' + ) else MY_PN="PrismLauncher" @@ -34,16 +36,12 @@ fi # GPL-3 for PolyMC (PrismLauncher is forked from it) and Prism itself # Apache-2.0 for MultiMC (PolyMC is forked from it) # LGPL-3+ for libnbtplusplus -# MIT for tomlplusplus # See the rest of PrismLauncher's libraries at https://github.com/PrismLauncher/PrismLauncher/tree/develop/libraries -LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+ MIT" +LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+" SLOT="0" -IUSE="debug lto qt6 test" -REQUIRED_USE=" - lto? ( !debug ) -" +IUSE="qt6 test" RESTRICT="!test? ( test )" @@ -74,26 +72,28 @@ COMMON_DEPENDS=" !qt6? ( >=dev-libs/quazip-1.3:=[qt5(+)] ) qt6? ( >=dev-libs/quazip-1.3:=[qt6(-)] ) - app-text/cmark + app-text/cmark:= dev-cpp/tomlplusplus sys-libs/zlib " -# The gulrak-filesystem dependency is only needed at build time, because we don't actually use it on Linux, -# only on legacy macOS. Still, we need it present at build time to appease CMake, and having it like this -# makes it easier to maintain than patching the CMakeLists file directly. BDEPEND=" app-text/scdoc - dev-cpp/gulrak-filesystem kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig " +# The gulrak-filesystem dependency is only needed at build time, because we don't actually use it on Linux, +# only on legacy macOS. Still, we need it present at build time to appease CMake, and having it like this +# makes it easier to maintain than patching the CMakeLists file directly. DEPEND=" ${COMMON_DEPENDS} + dev-cpp/gulrak-filesystem media-libs/libglvnd >=virtual/jdk-1.8.0:* " +# QtSvg imageplugin needed at runtime for svg icons. Its used via QIcon. # At run-time we don't depend on JDK, only JRE # And we need more than just the GL headers RDEPEND=" @@ -122,15 +122,9 @@ src_prepare() { elog "and select it with \"eselect java\", then recompile ${PN}." eapply "${FILESDIR}/${PN}-8.2-openjdk21.patch" fi - - sed -i -e 's/-Werror//' CMakeLists.txt || die 'Failed to remove -Werror via sed' - - # Prevent conflicting with the user's flags - # See https://bugs.gentoo.org/848765 and https://bugs.gentoo.org/911858 for more info - sed -i -e "/CMAKE_CXX_FLAGS_RELEASE/d" CMakeLists.txt || die 'Failed to remove "CMAKE_CXX_FLAGS_RELEASE" from CMakeLists via sed' } -src_configure(){ +src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_PREFIX="/usr" # Resulting binary is named prismlauncher @@ -138,20 +132,14 @@ src_configure(){ -DLauncher_BUILD_PLATFORM="Gentoo" -DLauncher_QT_VERSION_MAJOR=$(usex qt6 6 5) - -DENABLE_LTO=$(usex lto) + -DENABLE_LTO=$(tc-is-lto) -DBUILD_TESTING=$(usex test) ) - if use debug; then - CMAKE_BUILD_TYPE=Debug - else - CMAKE_BUILD_TYPE=Release - fi - cmake_src_configure } -src_compile(){ +src_compile() { cmake_src_compile } |