public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
Date: Mon,  8 Jan 2024 12:59:11 +0000 (UTC)	[thread overview]
Message-ID: <1704718669.178b678803ca6a2b6bfd33033de41866142997cb.ionen@gentoo> (raw)

commit:     178b678803ca6a2b6bfd33033de41866142997cb
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 11:45:12 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 12:57:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178b6788

games-emulation/mgba: do preinst shader merge workaround in live

See ebuild comment. Users that have been using 9999 may need to
manually delete these directories to get shaders to be merged
(this is otherwise in preparation for the 0.11.0 release).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/mgba/mgba-9999.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/games-emulation/mgba/mgba-9999.ebuild b/games-emulation/mgba/mgba-9999.ebuild
index 91e0309f70ac..d4ce0e18832b 100644
--- a/games-emulation/mgba/mgba-9999.ebuild
+++ b/games-emulation/mgba/mgba-9999.ebuild
@@ -117,3 +117,12 @@ src_install() {
 
 	rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die
 }
+
+pkg_preinst() {
+	# hack: .shader/ were directories in <0.11 and are now single (zip) files
+	# named the same, that leads to portage mis-merging and leaving an empty
+	# directory behind rather than the new file
+	if use gui && has_version '<games-emulation/mgba-0.11[gui]'; then
+		rm -rf -- "${EROOT}"/usr/share/mgba/shaders/*.shader/ || die
+	fi
+}


             reply	other threads:[~2024-01-08 12:59 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08 12:59 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-02 14:15 [gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/ Sam James
2025-01-02 14:15 Sam James
2025-01-02 14:00 Sam James
2024-12-13 23:39 Ionen Wolkens
2024-12-13 23:39 Ionen Wolkens
2024-05-25 17:57 Ionen Wolkens
2024-05-25 17:31 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-02-07  4:55 Ionen Wolkens
2024-01-23 18:46 Sam James
2024-01-23 16:40 Sam James
2024-01-23 16:40 Sam James
2024-01-11 10:45 Sam James
2024-01-08 12:59 Ionen Wolkens
2024-01-08 12:59 Ionen Wolkens
2024-01-08 12:59 Ionen Wolkens
2024-01-03  6:22 Sam James
2023-12-19 17:01 Arthur Zamarin
2023-12-19 17:01 Arthur Zamarin
2023-11-29 16:32 Ionen Wolkens
2023-05-12  9:02 Ionen Wolkens
2023-05-11 18:48 Arthur Zamarin
2023-05-11 18:42 Arthur Zamarin
2023-04-24  5:48 Ionen Wolkens
2023-04-24  5:48 Ionen Wolkens
2023-01-30 19:11 Ionen Wolkens
2023-01-26 15:13 Ionen Wolkens
2023-01-11 11:26 Ionen Wolkens
2022-11-17 14:58 Ionen Wolkens
2022-10-12 13:47 Ionen Wolkens
2022-07-21  5:38 Ionen Wolkens
2022-07-14 21:24 Ionen Wolkens
2022-07-03  5:33 Ionen Wolkens
2022-06-29 17:22 Ionen Wolkens
2022-06-29 17:22 Ionen Wolkens
2022-06-29 17:22 Ionen Wolkens
2022-06-29  8:08 Ionen Wolkens
2022-06-16 16:30 Sam James
2022-06-08 12:21 Jakov Smolić
2021-12-18 19:59 Lars Wendler
2021-12-18 19:59 Lars Wendler
2021-12-18 19:59 Lars Wendler
2021-09-23 13:58 Agostino Sarubbo
2021-09-22  6:58 Agostino Sarubbo
2021-07-11 17:03 Lars Wendler
2021-04-19 21:18 Lars Wendler
2021-04-19 21:18 Lars Wendler
2021-04-19 11:06 Lars Wendler
2021-03-29  7:58 Lars Wendler
2021-03-29  7:58 Lars Wendler
2021-03-29  7:58 Lars Wendler
2020-10-30  8:27 Lars Wendler
2020-10-30  8:27 Lars Wendler
2020-10-30  8:27 Lars Wendler
2020-08-04 14:48 Lars Wendler
2020-08-04 13:41 Lars Wendler
2020-08-04 13:41 Lars Wendler
2020-08-04 13:41 Lars Wendler
2020-07-21 22:27 Sam James
2020-06-15 12:00 Lars Wendler
2020-06-15 12:00 Lars Wendler
2020-04-25 20:12 Mikle Kolyada
2020-02-17 10:12 Lars Wendler
2020-02-17 10:12 Lars Wendler
2020-02-01  3:11 Lars Wendler
2020-01-27 12:31 Lars Wendler
2020-01-27 12:31 Lars Wendler
2019-12-10  9:10 Lars Wendler
2019-12-10  9:10 Lars Wendler
2019-12-10  9:10 Lars Wendler
2019-09-25 22:38 Lars Wendler
2019-09-25 22:38 Lars Wendler
2019-06-02 22:59 Lars Wendler
2019-06-02 22:59 Lars Wendler
2019-04-21  0:49 Lars Wendler
2019-02-26 14:53 Lars Wendler
2019-01-29 11:31 Lars Wendler
2019-01-29 11:31 Lars Wendler
2019-01-29 11:31 Lars Wendler
2018-04-19 19:29 Lars Wendler
2018-04-17  9:18 Lars Wendler
2018-04-05  8:13 Lars Wendler
2018-04-05  8:13 Lars Wendler
2018-01-05  8:28 Lars Wendler
2017-10-16  0:08 David Seifert
2017-10-03 20:59 Lars Wendler
2017-07-20  8:51 Lars Wendler
2017-07-20  8:51 Lars Wendler
2017-05-23  8:03 Lars Wendler
2017-01-02  8:39 Lars Wendler
2017-01-02  8:39 Lars Wendler
2016-10-06 14:52 Lars Wendler
2016-09-26 10:41 Lars Wendler

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=1704718669.178b678803ca6a2b6bfd33033de41866142997cb.ionen@gentoo \
    --to=ionen@gentoo.org \
    --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