public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Figueiredo Gomes" <anna-cli@tutanota.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/xivlauncher/
Date: Fri, 25 Nov 2022 02:38:30 +0000 (UTC)	[thread overview]
Message-ID: <1669343820.8936c9f662b0f5d233398fa959197f7b12a14706.anna-cli@gentoo> (raw)

commit:     8936c9f662b0f5d233398fa959197f7b12a14706
Author:     Anna (navi) Figueiredo Gomes <anna <AT> navirc <DOT> com>
AuthorDate: Fri Nov 25 02:37:00 2022 +0000
Commit:     Anna Figueiredo Gomes <anna-cli <AT> tutanota <DOT> com>
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-25  2:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25  2:38 Anna Figueiredo Gomes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01 19:30 [gentoo-commits] repo/proj/guru:dev commit in: games-util/xivlauncher/ Edgar Luque
2024-07-07  6:57 Edgar Luque
2024-07-07  6:55 Edgar Luque
2024-03-19 10:29 Edgar Luque
2024-02-18 17:04 Kayla Thompson
2023-10-04 22:20 Anna Figueiredo Gomes
2023-10-04 20:53 Anna Figueiredo Gomes
2023-06-27 19:16 Anna Figueiredo Gomes
2023-06-26 18:14 Anna Figueiredo Gomes
2023-06-18 19:17 Anna Figueiredo Gomes
2023-03-23 18:43 Anna Figueiredo Gomes
2023-03-23 18:17 Anna Figueiredo Gomes
2023-01-22 16:54 Anna Figueiredo Gomes
2023-01-22 16:54 Anna Figueiredo Gomes
2023-01-15 15:14 Anna Figueiredo Gomes
2022-12-09 17:08 Anna Figueiredo Gomes
2022-12-08 17:02 Anna Figueiredo Gomes
2022-11-26 19:11 Anna Figueiredo Gomes
2022-11-10  0:50 Anna Figueiredo Gomes

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.anna-cli@gentoo \
    --to=anna-cli@tutanota.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