From 7fb35f6405109e46e65858a442cd264ffa5d2ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Fri, 7 Jul 2023 23:37:58 +0100 Subject: [PATCH] games-util/ProtonUp-Qt: improve ebuild MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild | 6 +++++- games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild index 3d95794065..325c89f294 100644 --- a/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild +++ b/games-util/ProtonUp-Qt/ProtonUp-Qt-2.8.1.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{9..12} ) EPYTHON=python3 -inherit distutils-r1 desktop +inherit distutils-r1 desktop xdg-utils SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz" DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface." @@ -46,3 +46,7 @@ src_install() { newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png } + +pkg_postinst() { + xdg_icon_cache_update +} diff --git a/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild b/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild index f25c104cc3..b4c620b0ac 100644 --- a/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild +++ b/games-util/ProtonUp-Qt/ProtonUp-Qt-9999.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{9..12} ) EPYTHON=python3 -inherit git-r3 distutils-r1 desktop +inherit git-r3 distutils-r1 desktop xdg-utils EGIT_REPO_URI="https://github.com/DavidoTek/ProtonUp-Qt.git" DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface." HOMEPAGE="https://davidotek.github.io/protonup-qt" @@ -41,3 +41,7 @@ src_install() { newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png } + +pkg_postinst() { + xdg_icon_cache_update +}