Gentoo Archives: gentoo-commits

From: Anna Figueiredo Gomes <anna-cli@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/xivlauncher/
Date: Fri, 25 Nov 2022 02:38:34
Message-Id: 1669343820.8936c9f662b0f5d233398fa959197f7b12a14706.anna-cli@gentoo
1 commit: 8936c9f662b0f5d233398fa959197f7b12a14706
2 Author: Anna (navi) Figueiredo Gomes <anna <AT> navirc <DOT> com>
3 AuthorDate: Fri Nov 25 02:37:00 2022 +0000
4 Commit: Anna Figueiredo Gomes <anna-cli <AT> tutanota <DOT> com>
5 CommitDate: Fri Nov 25 02:37:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8936c9f6
7
8 games-util/xivlauncher: SLOT 6.0 and propper icons
9
10 Signed-off-by: Anna (navi) Figueiredo Gomes <anna <AT> navirc.com>
11
12 games-util/xivlauncher/xivlauncher-1.0.2.ebuild | 23 ++++++++++++++++-------
13 1 file changed, 16 insertions(+), 7 deletions(-)
14
15 diff --git a/games-util/xivlauncher/xivlauncher-1.0.2.ebuild b/games-util/xivlauncher/xivlauncher-1.0.2.ebuild
16 index fc4db08f0..22e6ace14 100644
17 --- a/games-util/xivlauncher/xivlauncher-1.0.2.ebuild
18 +++ b/games-util/xivlauncher/xivlauncher-1.0.2.ebuild
19 @@ -190,7 +190,9 @@ vortice.dxgi-2.1.0
20 vortice.mathematics-1.3.24
21 "
22
23 -inherit dotnet-utils
24 +DOTNET_SLOT="6.0"
25 +
26 +inherit dotnet-utils desktop
27
28 DESCRIPTION="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
29
30 @@ -250,15 +252,22 @@ src_compile() {
31 }
32
33 src_install() {
34 - cd ../
35 - insinto usr/share/applications/
36 - doins misc/linux_distrib/XIVLauncher.desktop
37 - insinto usr/share/pixmaps/
38 - newins misc/linux_distrib/512.png xivlauncher
39 + domenu ../misc/linux_distrib/XIVLauncher.desktop
40 + newicon -s 512 ../misc/linux_distrib/512.png xivlauncher.png
41
42 - cd src/XIVLauncher.Core/bin/Release/net6.0/linux-x64/publish
43 + cd XIVLauncher.Core/bin/Release/net6.0/linux-x64/publish
44 insinto opt/xivlauncher
45 doins -r *
46 fperms +x /opt/xivlauncher/XIVLauncher.Core
47 dosym /opt/xivlauncher/XIVLauncher.Core usr/bin/xivlauncher
48 }
49 +
50 +pkg_postinst() {
51 + xdg_desktop_database_update
52 + xdg_icon_cache_update
53 +}
54 +
55 +pkg_postrm() {
56 + xdg_desktop_database_update
57 + xdg_icon_cache_update
58 +}