public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pinta/
Date: Mon, 20 Nov 2023 19:17:29 +0000 (UTC)	[thread overview]
Message-ID: <1700507846.73e7c34f32850b62dbbe7c437d9ddb082f62ce84.xgqt@gentoo> (raw)

commit:     73e7c34f32850b62dbbe7c437d9ddb082f62ce84
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 14:51:29 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 19:17:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e7c34f

media-gfx/pinta: fix pinta launcher script

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

 media-gfx/pinta/{pinta-2.1.1.ebuild => pinta-2.1.1-r1.ebuild} | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/media-gfx/pinta/pinta-2.1.1.ebuild b/media-gfx/pinta/pinta-2.1.1-r1.ebuild
similarity index 90%
rename from media-gfx/pinta/pinta-2.1.1.ebuild
rename to media-gfx/pinta/pinta-2.1.1-r1.ebuild
index 0c8314e184e8..d3493a121fb7 100644
--- a/media-gfx/pinta/pinta-2.1.1.ebuild
+++ b/media-gfx/pinta/pinta-2.1.1-r1.ebuild
@@ -123,6 +123,13 @@ src_compile() {
 src_install() {
 	emake DESTDIR="${ED}" install
 
+	local pinta_home="/usr/$(get_libdir)/${PN}"
+
+	mv "${ED}/usr/bin/pinta" "${ED}/${pinta_home}" || die
+	sed -e 's|dotnet|${DOTNET_ROOT}/dotnet|g' -i "${ED}/${pinta_home}/pinta" \
+		|| die                                              # No interpolation!
+	dotnet-pkg-base_dolauncher "${pinta_home}/${PN}" "${PN}"
+
 	rm "${ED}/usr/share/man/man1/${PN}.1.gz" || die
 	doman xdg/${PN}.1
 }


             reply	other threads:[~2023-11-20 19:17 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 19:17 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 19:59 [gentoo-commits] repo/gentoo:master commit in: media-gfx/pinta/ Maciej Barć
2024-06-25 22:03 Sam James
2024-05-10  7:45 Maciej Barć
2024-05-01 23:38 Sam James
2024-02-08 10:31 Maciej Barć
2023-10-22 10:53 Maciej Barć
2019-12-15 20:06 Michał Górny
2018-06-18 18:48 Jonas Stein
2018-03-02 18:27 Michał Górny
2016-11-27 11:21 Pacho Ramos
2016-11-16 20:05 Pacho Ramos
2016-10-09 10:25 Pacho Ramos
2016-10-09 10:25 Pacho Ramos
2016-05-07 21:24 Michał Górny
2015-12-14 15:33 Ian Delaney
2015-12-12 14:40 Ian Delaney
2015-12-12 14:40 Ian Delaney

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=1700507846.73e7c34f32850b62dbbe7c437d9ddb082f62ce84.xgqt@gentoo \
    --to=xgqt@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