From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1460161-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8F0EF158021
	for <garchives@archives.gentoo.org>; Fri, 25 Nov 2022 02:38:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7B58EE091C;
	Fri, 25 Nov 2022 02:38:33 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5F9AEE091C
	for <gentoo-commits@lists.gentoo.org>; Fri, 25 Nov 2022 02:38:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5D97A340FB2
	for <gentoo-commits@lists.gentoo.org>; Fri, 25 Nov 2022 02:38:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BF2F6756
	for <gentoo-commits@lists.gentoo.org>; Fri, 25 Nov 2022 02:38:30 +0000 (UTC)
From: "Anna Figueiredo Gomes" <anna-cli@tutanota.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Anna Figueiredo Gomes" <anna-cli@tutanota.com>
Message-ID: <1669343820.8936c9f662b0f5d233398fa959197f7b12a14706.anna-cli@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/xivlauncher/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: games-util/xivlauncher/xivlauncher-1.0.2.ebuild
X-VCS-Directories: games-util/xivlauncher/
X-VCS-Committer: anna-cli
X-VCS-Committer-Name: Anna Figueiredo Gomes
X-VCS-Revision: 8936c9f662b0f5d233398fa959197f7b12a14706
X-VCS-Branch: dev
Date: Fri, 25 Nov 2022 02:38:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 50275c7e-ad10-4ce0-a4bd-70d2fe9e4e01
X-Archives-Hash: 38e1b2acdf443b849a025b29ff500ffc

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
+}