mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-emulation/mupen64plus-qt-1.17: tweak qt6 build and dependencies
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
@@ -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
|
||||
inherit cmake desktop
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user