public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/mupen64plus-qt/
Date: Fri, 28 Feb 2025 15:12:28 +0000 (UTC)	[thread overview]
Message-ID: <1740693774.251fdb5768817e7af28a64e380fc91b5ee917388.davidroman@gentoo> (raw)

commit:     251fdb5768817e7af28a64e380fc91b5ee917388
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Thu Feb 27 22:02:54 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 27 22:02:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=251fdb57

games-emulation/mupen64plus-qt: translations directory

Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>

 games-emulation/mupen64plus-qt/mupen64plus-qt-1.17.ebuild | 8 +++++++-
 games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/games-emulation/mupen64plus-qt/mupen64plus-qt-1.17.ebuild b/games-emulation/mupen64plus-qt/mupen64plus-qt-1.17.ebuild
index ccc31916c..e5e24d313 100644
--- a/games-emulation/mupen64plus-qt/mupen64plus-qt-1.17.ebuild
+++ b/games-emulation/mupen64plus-qt/mupen64plus-qt-1.17.ebuild
@@ -23,5 +23,11 @@ src_install() {
 	cmake_src_install
 	rm -rf "${D}"/usr/$(get_libdir)/ \
 		"${D}"/usr/plugins/ \
-		"${D}"/usr/bin/qt.conf
+		"${D}"/usr/bin/qt.conf || die
+	mkdir -p "${D}"/usr/share/qt6 || die
+	mv "${D}"/usr/translations "${D}"/usr/share/qt6/ || die
+	for i in "${D}"/usr/share/qt6/translations/*; do
+		echo mv "${i}" "${i/qt_/mupen64plus-qt_}"
+		mv "${i}" "${i/qt_/mupen64plus-qt_}" || die
+	done
 }

diff --git a/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild b/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild
index 0b72b2108..30242ad3a 100644
--- a/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild
+++ b/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild
@@ -23,5 +23,11 @@ src_install() {
 	cmake_src_install
 	rm -rf "${D}"/usr/$(get_libdir)/ \
 		"${D}"/usr/plugins/ \
-		"${D}"/usr/bin/qt.conf
+		"${D}"/usr/bin/qt.conf || die
+	mkdir -p "${D}"/usr/share/qt6 || die
+	mv "${D}"/usr/translations "${D}"/usr/share/qt6/ || die
+	for i in "${D}"/usr/share/qt6/translations/*; do
+		echo mv "${i}" "${i/qt_/mupen64plus-qt_}"
+		mv "${i}" "${i/qt_/mupen64plus-qt_}" || die
+	done
 }


             reply	other threads:[~2025-02-28 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-28 15:12 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-24 10:34 [gentoo-commits] repo/proj/guru:master commit in: games-emulation/mupen64plus-qt/ David Roman
2023-12-11  6:50 Viorel Munteanu
2022-05-24 18:58 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-05-24 18:58 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-29  8:23 Michał Górny
2021-04-29  8:23 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1740693774.251fdb5768817e7af28a64e380fc91b5ee917388.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox