commit:     f0b46b2fed57bf3031759933cac6feda6ec2a91f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 13:38:11 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 15:42:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b46b2f

games-emulation/melonds: sync live 9999 version

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/melonds/melonds-9999.ebuild | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/games-emulation/melonds/melonds-9999.ebuild 
b/games-emulation/melonds/melonds-9999.ebuild
index 088c19006bc0..ca7f9270c3aa 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -1,10 +1,11 @@
-# Copyright 2019-2024 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 REAL_PN="melonDS"
-REAL_P="${REAL_PN}-${PV}"
+REAL_PV="${PV/_rc/rc}"
+REAL_P="${REAL_PN}-${REAL_PV}"
 
 inherit cmake readme.gentoo-r1 toolchain-funcs xdg
 
@@ -15,10 +16,10 @@ HOMEPAGE="http://melonds.kuribo64.net
 if [[ "${PV}" == *9999* ]] ; then
        inherit git-r3
 
-       EGIT_REPO_URI="https://github.com/Arisotura/${REAL_PN}.git";
+       EGIT_REPO_URI="https://github.com/Arisotura/${REAL_PN}";
 else
-       SRC_URI="https://github.com/Arisotura/${REAL_PN}/archive/${PV}.tar.gz
-               -> ${REAL_P}.tar.gz"
+       
SRC_URI="https://github.com/Arisotura/${REAL_PN}/archive/${REAL_PV}.tar.gz
+               -> ${P}.gh.tar.gz"
        S="${WORKDIR}/${REAL_P}"
 
        KEYWORDS="~amd64"
@@ -29,7 +30,7 @@ SLOT="0"
 IUSE="+jit +opengl wayland"
 
 RDEPEND="
-       app-arch/libarchive
+       app-arch/libarchive[zstd]
        dev-qt/qtbase:6[network,opengl,widgets]
        dev-qt/qtmultimedia:6
        dev-qt/qtsvg:6
@@ -37,6 +38,7 @@ RDEPEND="
        net-libs/enet:=
        net-libs/libpcap
        net-libs/libslirp
+       x11-libs/libxkbcommon
        wayland? (
                dev-libs/wayland
        )
@@ -50,7 +52,7 @@ BDEPEND="
        )
 "
 
-# used for JIT recompiler
+# Used for JIT recompiler.
 QA_EXECSTACK="usr/bin/melonDS"
 
 DISABLE_AUTOFORMATTING="yes"
@@ -64,11 +66,14 @@ Those files can be extracted from devices or found 
somewhere on the Internet ;-)
 
 src_configure() {
        local -a mycmakeargs=(
+               -DUSE_CACHE="OFF"
+
                -DBUILD_SHARED_LIBS="OFF"
+               -DUSE_SYSTEM_LIBSLIRP="ON"
+
                -DENABLE_JIT="$(usex jit)"
                -DENABLE_OGLRENDERER="$(usex opengl)"
                -DENABLE_WAYLAND="$(usex wayland)"
-               -DUSE_SYSTEM_LIBSLIRP=ON
        )
        cmake_src_configure
 }

Reply via email to