commit:     4b40923b258a34a63efe52e118153e3cb4231076
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 13:48:42 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 13:49:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b40923b

games-action/prismlauncher: add missing dependency

Bug: https://bugs.gentoo.org/930110
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../{prismlauncher-9999.ebuild => prismlauncher-8.2-r1.ebuild}      | 6 ++++--
 games-action/prismlauncher/prismlauncher-9999.ebuild                | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-action/prismlauncher/prismlauncher-9999.ebuild 
b/games-action/prismlauncher/prismlauncher-8.2-r1.ebuild
similarity index 97%
copy from games-action/prismlauncher/prismlauncher-9999.ebuild
copy to games-action/prismlauncher/prismlauncher-8.2-r1.ebuild
index 02f607f83f6c..9406f67dd88a 100644
--- a/games-action/prismlauncher/prismlauncher-9999.ebuild
+++ b/games-action/prismlauncher/prismlauncher-8.2-r1.ebuild
@@ -28,7 +28,7 @@ else
        # The Prism's files are unpacked to ${WORKDIR}/PrismLauncher-${PV}
        S="${WORKDIR}/${MY_PN}-${PV}"
 
-       KEYWORDS="~amd64 ~arm64"
+       KEYWORDS="amd64"
 fi
 
 # GPL-3 for PolyMC (PrismLauncher is forked from it) and Prism itself
@@ -75,6 +75,7 @@ COMMON_DEPENDS="
         qt6? ( >=dev-libs/quazip-1.3:=[qt6(-)] )
 
        app-text/cmark
+       dev-cpp/tomlplusplus
        sys-libs/zlib
 "
 
@@ -119,7 +120,7 @@ src_prepare() {
                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"
+               eapply "${FILESDIR}/${P}-openjdk21.patch"
        fi
 
        sed -i -e 's/-Werror//' CMakeLists.txt || die 'Failed to remove -Werror 
via sed'
@@ -139,6 +140,7 @@ src_configure(){
 
                -DENABLE_LTO=$(usex lto)
                -DBUILD_TESTING=$(usex test)
+               -DDEBUG_ADDRESS_SANITIZER=0
        )
 
        if use debug; then

diff --git a/games-action/prismlauncher/prismlauncher-9999.ebuild 
b/games-action/prismlauncher/prismlauncher-9999.ebuild
index 02f607f83f6c..5e485a25b6f6 100644
--- a/games-action/prismlauncher/prismlauncher-9999.ebuild
+++ b/games-action/prismlauncher/prismlauncher-9999.ebuild
@@ -75,6 +75,7 @@ COMMON_DEPENDS="
         qt6? ( >=dev-libs/quazip-1.3:=[qt6(-)] )
 
        app-text/cmark
+       dev-cpp/tomlplusplus
        sys-libs/zlib
 "
 

Reply via email to