public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-util/xivlauncher/
Date: Sat, 26 Nov 2022 10:54:30 +0000 (UTC)	[thread overview]
Message-ID: <1669343820.8936c9f662b0f5d233398fa959197f7b12a14706.flow@gentoo> (raw)

commit:     8936c9f662b0f5d233398fa959197f7b12a14706
Author:     Anna (navi) Figueiredo Gomes <anna <AT> navirc <DOT> com>
AuthorDate: Fri Nov 25 02:37:00 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 02:37:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8936c9f6

games-util/xivlauncher: SLOT 6.0 and propper icons

Signed-off-by: Anna (navi) Figueiredo Gomes <anna <AT> navirc.com>

 games-util/xivlauncher/xivlauncher-1.0.2.ebuild | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/games-util/xivlauncher/xivlauncher-1.0.2.ebuild b/games-util/xivlauncher/xivlauncher-1.0.2.ebuild
index fc4db08f0..22e6ace14 100644
--- a/games-util/xivlauncher/xivlauncher-1.0.2.ebuild
+++ b/games-util/xivlauncher/xivlauncher-1.0.2.ebuild
@@ -190,7 +190,9 @@ vortice.dxgi-2.1.0
 vortice.mathematics-1.3.24
 "
 
-inherit dotnet-utils
+DOTNET_SLOT="6.0"
+
+inherit dotnet-utils desktop
 
 DESCRIPTION="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
 
@@ -250,15 +252,22 @@ src_compile() {
 }
 
 src_install() {
-	cd ../
-	insinto usr/share/applications/
-	doins misc/linux_distrib/XIVLauncher.desktop
-	insinto usr/share/pixmaps/
-	newins misc/linux_distrib/512.png xivlauncher
+	domenu ../misc/linux_distrib/XIVLauncher.desktop
+	newicon -s 512 ../misc/linux_distrib/512.png xivlauncher.png
 
-	cd src/XIVLauncher.Core/bin/Release/net6.0/linux-x64/publish
+	cd XIVLauncher.Core/bin/Release/net6.0/linux-x64/publish
 	insinto opt/xivlauncher
 	doins -r *
 	fperms +x /opt/xivlauncher/XIVLauncher.Core
 	dosym /opt/xivlauncher/XIVLauncher.Core usr/bin/xivlauncher
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}


             reply	other threads:[~2022-11-26 10:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 10:54 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-09 16:26 [gentoo-commits] repo/proj/guru:master commit in: games-util/xivlauncher/ Ronny Gutbrod
2022-12-09 17:57 Ronny Gutbrod
2023-01-24  9:10 Florian Schmaus
2023-01-24  9:10 Florian Schmaus
2023-03-24 11:43 Florian Schmaus
2023-03-24 11:43 Florian Schmaus
2023-06-26 22:01 Haelwenn Monnier
2023-10-05  6:18 Viorel Munteanu
2023-10-05  6:18 Viorel Munteanu
2024-02-18 18:16 Julien Roy
2024-03-19 10:44 Julien Roy
2024-07-08 16:47 David Roman
2024-07-08 16:47 David Roman
2024-11-02 20:52 David Roman
2024-12-12 13:06 David Roman

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=1669343820.8936c9f662b0f5d233398fa959197f7b12a14706.flow@gentoo \
    --to=flow@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