commit: 3a04a78a83d490646d0a40ee91c00b01fd606167 Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> AuthorDate: Thu Feb 19 19:43:41 2026 +0000 Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> CommitDate: Thu Feb 19 19:43:41 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a04a78a
games-emulation/mupen64plus-qt: tweak qt6 build and dependencies Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr> .../mupen64plus-qt/mupen64plus-qt-9999.ebuild | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild b/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild index 30242ad3af..0295a6b537 100644 --- a/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild +++ b/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 2018-2025 Gentoo Authors +# Copyright 2018-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake git-r3 +inherit cmake desktop git-r3 DESCRIPTION="A basic launcher for Mupen64Plus" HOMEPAGE="https://github.com/dh4/mupen64plus-qt" @@ -13,16 +13,24 @@ LICENSE="BSD" SLOT="0" RDEPEND=" - dev-libs/quazip[qt6] + >=dev-libs/quazip-1.5 dev-qt/qtbase:6[gui,network,sql,widgets,xml] " DEPEND=">=games-emulation/mupen64plus-core-2.5 ${RDEPEND}" +src_prepare() { + sed -i -e '/NO_UNSUPPORTED_PLATFORM_ERROR/aNO_PLUGINS' \ + CMakeLists.txt + cmake_src_prepare +} + src_install() { cmake_src_install + # local fix for: qt_generate_deploy_app_script rm -rf "${D}"/usr/$(get_libdir)/ \ "${D}"/usr/plugins/ \ + "${D}"/usr/lib64/qt6/plugins/ \ "${D}"/usr/bin/qt.conf || die mkdir -p "${D}"/usr/share/qt6 || die mv "${D}"/usr/translations "${D}"/usr/share/qt6/ || die @@ -30,4 +38,8 @@ src_install() { echo mv "${i}" "${i/qt_/mupen64plus-qt_}" mv "${i}" "${i/qt_/mupen64plus-qt_}" || die done + doman resources/${PN}.6 + doicon resources/images/${PN}.png + insinto /usr/share/applications + doins resources/${PN}.desktop }
