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