commit: 87ebb1745ad2254a4be299baeef587ae114c652c Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> AuthorDate: Thu Dec 28 17:41:45 2023 +0000 Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> CommitDate: Thu Dec 28 17:41:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87ebb174
games-util/r2modman-bin: fix desktop file qa notice Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com> games-util/r2modman-bin/files/r2modman.desktop | 2 -- games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/games-util/r2modman-bin/files/r2modman.desktop b/games-util/r2modman-bin/files/r2modman.desktop index 5ca6a22fc0..8a654b6ef4 100644 --- a/games-util/r2modman-bin/files/r2modman.desktop +++ b/games-util/r2modman-bin/files/r2modman.desktop @@ -8,8 +8,6 @@ Name=r2modman StartupNotify=true Terminal=false Type=Application -Version=pkgversion -X-AppImage-Version=pkgversion X-KDE-SubstituteUID=false MimeType=x-scheme-handler/ror2mm; Categories=Game; diff --git a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild index b01fad7c8a..5d99b06713 100644 --- a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild +++ b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild @@ -4,6 +4,7 @@ EAPI=8 M_PN=r2modman +M_PK=${PN::-3} inherit desktop xdg SRC_URI="https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz" @@ -24,11 +25,8 @@ src_install() { doins -r "${WORKDIR}/${M_PN}" fperms 755 "/opt/${M_PN}/r2modman" - ## Install desktop and icon file - # Copy and fix version on desktop file version + # Install desktop file domenu "${FILESDIR}/${M_PN}".desktop - sed -i 's/Version=pkgversion/Version='${PV}'/g' "${D}/usr/share/applications/${M_PN}".desktop - sed -i 's/X-AppImage-Version=pkgversion/X-AppImage-Version='${PV}'/g' "${D}/usr/share/applications/${M_PN}".desktop # Install icons newicon -s 16 "${FILESDIR}/${M_PN}"-16x16.png "${M_PN}".png